search for: outputstreamwriter

Displaying 5 results from an estimated 5 matches for "outputstreamwriter".

2000 May 10
1
R and Java ? [forwarded]
...My question is: Can R be interfaced with Java. ?? My dilemma: I'm trying to run the RGui program in WintNT from a Java application. i;m using runtime.exec() It opens teh program but after that nothing happens. After opening teh program i'm passing some commands to R via java's process OutputStreamWriter. But it does NOT respond to any of teh commands not even by giving an exception. Coudl u please let me know if i can pass commandline commands to RGui from within Java or are there special API's that are available. I know for a fact taht Java does NOT have API's for R. It does have specia...
2004 Apr 21
2
calling R from java
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...
1999 Oct 06
1
Java interface to R
I have been doing some programming with java servlets for data collection. I was wondering if there is a way to connect to the R-server using java to do data analysis. A java-interface or some connection class. I think there is some similar facility with SAS, although I have not looked at it. Richard Piper RNS Hospital, Sydney.
2003 Nov 12
1
Talk with from Java
...Runtime().exec("R --help"); BufferedReader in = new BufferedReader(new InputStreamReader(process.getInputStream())); BufferedReader reader = new BufferedReader(new java.io.InputStreamReader(System.in)); BufferedWriter out = new BufferedWriter(new OutputStreamWriter(process.getOutputStream())); String s=null; String c=null; while(true) { try { while ((s=in.readLine())!=null) { System.out.println(s); } /* The big problem is: it seems lik...
2004 Apr 22
0
calling R from java[Scanned]
...;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 fro...