[R] calling R from java
anthony.ferrari@ensimag.imag.fr
ferraria at ensisun.imag.fr
Thu Apr 22 15:14:58 CEST 2004
I downloaded it and installed it with all the recommended options. I
created the LD_LIBRARY_PATH
environment variable but my java compiler (latest version) can't find
packages like org.omegahat.R.java and cannot resolve symbol (class) like
REvaluator, RForeignReference... any idea ?
many thanks for answering my last question I promise !
best regards,
Anthony
On Wed, 21 Apr 2004, A.J. Rossini wrote:
>
> Look at the SJava package on Omegahat.org
>
> Good luck.
>
> best,
> -tony
>
>
> "anthony.ferrari at ensimag.imag.fr" <ferraria at ensisun.imag.fr> writes:
>
> > Hello,
> >
> > I need to call R from a java(swing) application. I manage to do it with
> > something like :
> >
> > Process p = Runtime.getRuntime().exec("R --slave")
> > OutputStreanWriter o = new OutputStreamWriter(p.getOutputStream())
> > o.wrote("...")
> > ... etc
> >
> > but at the end no .Rdata file has been created and there are some data I
> > don't want to reload each time (for time execution reasons).
> > So,
> > Is it possible when calling R from java to create a .Rdata file to save
> > data and as a consequence when recalling in the same directory not to have
> > to reload those data ?
> > (Maybe the option --slave need to be changed ? )
> >
> >
> > many thanks for helping me
> >
> > best regards,
> > af
> > anthony.ferrari at ensimag.imag.fr
> >
> > ______________________________________________
> > R-help at stat.math.ethz.ch mailing list
> > https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> >
>
> --
> rossini at u.washington.edu http://www.analytics.washington.edu/
> Biomedical and Health Informatics University of Washington
> Biostatistics, SCHARP/HVTN Fred Hutchinson Cancer Research Center
> UW (Tu/Th/F): 206-616-7630 FAX=206-543-3461 | Voicemail is unreliable
> FHCRC (M/W): 206-667-7025 FAX=206-667-4812 | use Email
>
> CONFIDENTIALITY NOTICE: This e-mail message and any attachments may be
> confidential and privileged. If you received this message in error,
> please destroy it and notify the sender. Thank you.
>
More information about the R-help
mailing list