Re: [R] calling java from R and using java time series double precision array

2012-03-27 Thread Hurr
I solved some of my problems, but the one that remains is that reading the two-dimensional arrays into R transposes the matrix. The arrays I want to read are unequal interval time multi series with the first column being the times which are converted in java from calendar CnYrMoDaHrMnScDCMQ or C

Re: [R] calling java from R and using java time series double precision array

2012-03-24 Thread Hurr
No response, and I still cannot do it or find out where to learn. JAVA CLASS SOURCE FOR R: public class Transf2R { Transf2R transf2R; public static void main(String[]args) { Transf2R transf2R=new Transf2R(); transf2R.transf2R=transf2R; transf2R.transf2R.main2(); } public final sta

Re: [R] calling java from R and using java time series double precision array

2012-03-23 Thread Hurr
2012/3/23 Back again today at trying to learn R. These are the results of a run I made. I understand very little of this. sapply() helps me get the array returned from a method. Strings and doubles returned from a method don't seem to need sapply(). I want to learn how to fetch the constant arra

[R] calling java from R and using java time series double precision array

2012-03-21 Thread Hurr
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 wi