Displaying 3 results from an estimated 3 matches for "returnsig".
2011 Apr 30
3
Copying to R a rectangular array from a Java class
...}
library(rJava)
.jinit()
.jaddClassPath("C:/ad/j") # a directory on my disk
print(.jclassPath())
rJavaTst <- .jnew("RJavTest") # compilation of class code
connStg <- .jfield(rJavaTst,sig="S","conStg")
print(connStg)
connStgRet <- .jcall(rJavaTst,returnSig="S","retConStg")
print(connStgRet)
conn1Arr <- .jfield(rJavaTst,sig="[D","con1Arr")
print(conn1Arr)
print(conn1Arr[2])
conn1ArrRet <- .jcall(rJavaTst,returnSig="[D","retCon1Arr")
print(conn1ArrRet)
print(conn1ArrRet[2])
conn0dbl <...
2012 Mar 22
3
calling java from R and using java time series double precision array
I haven't had time to try using R for over a year, but have a colleage who
wants to.
We work with time series and our current version of our calendar-time
subroutines in
java converts both directions between linear time and calendar.
We have used calendar time since year 1965 starting out then with Fortran.
Calendar time can be CnYrMoDa | CnYrMoDaHr | CnYrMoDaHrMn | CnYrMoDaHrMnSc
|
2009 Jun 01
1
installing sn package
...ows java.lang.Exception"
> NB <- make_Weka_classifier("weka/classifiers/bayes/NaiveBayes")
> data("HouseVotes84", package = "mlbench")
> model <- NB(Class ~ ., data = HouseVotes84)
>
>
.jcall("weka/core/SerializationHelper",returnSig="V","write","nb.model",model)
Fehler in .jcall("weka/core/SerializationHelper", returnSig = "V",
"write", :
method write with signature (Ljava/lang/String;)V not found
>
.jcall("weka/core/SerializationHelper",returnSig=&...