[R] Using Java methods in R

From: hill0093 <hill0093_at_umn.edu>
Date: Fri, 22 Apr 2011 19:51:03 -0700 (PDT)


I just now registered in R forum.
I use Windows because of past history of using windows. I have been writing and using programs in java for about a decade. I work with unequal-interval-time-series data files, 1st 5 lines like: Title Line

CnYrMoDaHrMnScDCMQ,ColSerTit1,ColSerTit2,ColSerTit3,ColSerTit4,
201104212359599999,Ser1Datum1,Ser2Datum1,Ser3Datum1,Ser4Datum1,
201104220059428739,Ser1Datum2,Ser2Datum2,Ser3Datum2,Ser4Datum2,
201104220103369291,Ser1Datum3,Ser2Datum3,Ser3Datum3,Ser4Datum3,
where e.g.Ser4Datum3 is a number, and calendartime unit can be anywhere from Da down to Q (Quadiseconds), a lot stops at Mn. Time is same unit throughout any one file.

Getting to the point: I have all of the calendar-linear conversion and file reading subroutines as Java methods and would like to use them in R. I am not very knowledgeable yet about R. I need instructions about how to set up and use java in R on Windows. Can anyone help me with setup instructions then starting with a simple Java function (method) call. One problem with Java is that a function returns only one item.

--
View this message in context: http://r.789695.n4.nabble.com/Using-Java-methods-in-R-tp3469299p3469299.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help_at_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.
Received on Sat 23 Apr 2011 - 06:24:54 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 23 Apr 2011 - 12:40:31 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive