JLObjR

jobject.spad line 651 [edit on github]

Convenience domain for Julia R objects that are used within Julia, and not directly by the underlying FriCAS Common Lisp. The RCall package has to be installed in Julia. Note that the RCall Julia package uses a similar scheme for Julia R objects to the one of jlFriCAS for JLObjectType references.

=: (%, %) -> Boolean

from BasicType

~=: (%, %) -> Boolean

from BasicType

coerce: % -> JLObject

from JLObjectType

coerce: % -> OutputForm

from CoercibleTo OutputForm

coerce: Float -> %

coerce(f) coerces f to a Julia R object.

coerce: Integer -> %

coerce(i) coerces the integer i to a Julia R object.

coerce: String -> %

coerce(str) coerces the string str to a Julia R string object.

convert: % -> String

from ConvertibleTo String

jlAbout: % -> Void

from JLObjectType

jlApply: (String, %) -> JLObject

from JLObjectType

jlApply: (String, %, %) -> JLObject

from JLObjectType

jlApply: (String, %, %, %) -> JLObject

from JLObjectType

jlApply: (String, %, %, %, %) -> JLObject

from JLObjectType

jlApply: (String, %, %, %, %, %) -> JLObject

from JLObjectType

jlDisplay: % -> Void

from JLObjectType

jlDump: JLObject -> Void

from JLObjectType

jlFieldNames: % -> JLObject

from JLObjectType

jlGetField: (%, JLSymbol) -> JLObject

from JLObjectType

jlGetJuliaIndex: % -> String

from JLObjectType

jlGetProperty: (%, JLSymbol) -> JLObject

from JLObjectType

jlId: % -> JLInt64

from JLObjectType

jlimref: String -> %

from JLObjectType

jlObject: () -> String

from JLObjectType

jlPropertyNames: % -> JLObject

from JLObjectType

jlRApply: (String, %) -> %

jlRApply(func, robj) applies the R function func form the module __main__ to the R object robj.

jlRApply: (String, %, %) -> %

jlRApply(func, robj1, robj2) applies the R function func form the module __main__ to the R objects robj1 and robj2.

jlRApply: (String, %, %, %) -> %

jlRApply(func, robj1, robj2, robj3) applies the R function func form the module __main__ to the R objects robj1, robj2 and robj3.

jlRApply: (String, %, %, %, %) -> %

jlRApply(func, robj1, robj2, robj3, robj4) applies the R function func form the module __main__ to the R objects robj1, robj2, robj3 and robj4.

jlRApply: (String, %, %, %, %, %) -> %

jlRApply(func, robj1, robj2, robj3, robj4, robj5) applies the R function func form the module __main__ to the R objects robj1, robj2, robj3, robj4 and robj5.

jlRConvert: (String, %) -> JLObject

jlRConvert(type, robj) converts the R object robj to the Julia type ‘type’.

jlRCopy: % -> JLObject

jlRCopy(robj) returns a Julia object copy of the R object robj if possible.

jlRDocumentation: String -> JLObject

jlRDocumentation(str) displays the R documentation for the string str. Use 'q' to quit the help viewer.

jlRef: % -> SExpression

from JLObjectType

jlref: String -> %

from JLObjectType

jlRLibrary: String -> Void

jlRLibrary(pkg) loads the R package ‘pkg’ in the Julia R environment.

jlRPrint: % -> Void

jlRPrint(robj) prints the R representation of robj.

jlText: (%, String) -> List String

from JLObjectType

jlType: % -> Symbol

from JLObjectType

jr: JLObject -> %

jr(obj) returns obj as a Julia R object.

jr: String -> %

jr(str) coerces the string str to a Julia R object. Use jlDisplay(robj) to display the R object robj. For example: example{jr “optim(0, $(x -> x-cos(x)), method=’L-BFGS-B’)”} example{a:= nrand(10,4)} example{b := jr(a::JLMatrix(JLObjFloat64))} example{jlRApply(“prcomp”, b)}

latex: % -> String

from SetCategory

missing?: % -> Boolean

from JLObjectType

mutable?: % -> Boolean

from JLObjectType

nothing?: % -> Boolean

from JLObjectType

string: % -> String

from JLType

BasicType

CoercibleTo OutputForm

ConvertibleTo String

JLObjectType

JLType

SetCategory