So I am one step farther than last time, so I am happy: I have the RGui with R Console on the screen. On the top pullDowns, Packages > Install Packages > USA(IA)> rJava > library(rJava) > .jinit() > .jaddClassPath("C:/ad/j") > print(.jclassPath()) [1] "C:\\Users\\ENVY17\\Documents\\R\\win-library\\2.12\\rJava\\java" [2] "C:\\ad\\j" > qsLin <- .jnew("CalqsLin") > calStg <- "201104242359599999" > print(calStg) [1] "201104242359599999" > dblTim <- > .jcall(qsLin,returnSig="D","linTimOfCalqsStgIsLev",calStg,as.integer(-4)) > print(dblTim,digits=20) [1] 634709087999999 > calStg <- > .jcall(qsLin,returnSig="S","calqsStgOfLinTimIsLev",dblTim,as.integer(-4)) > print(calStg) [1] "201104242359599999" > dblTim <- > .jcall(qsLin,returnSig="D","linTimOfCalqsStgIsLev",calStg,as.integer(-4)) > print(dblTim,digits=20) [1] 634709087999999 >
-- View this message in context: http://r.789695.n4.nabble.com/Using-Java-methods-in-R-tp3469299p3471943.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.