search for: inputstreamread

Displaying 11 results from an estimated 11 matches for "inputstreamread".

Did you mean: inputstreamreader
2003 Nov 12
1
Talk with from Java
...*/ public static void main(String[] args) { try { Process process = Runtime.getRuntime().exec("R --no-save"); //Process process = Runtime.getRuntime().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;...
2005 Jul 05
2
Java and R help
Im doing an aplication in Java and i have a program made in R what i want to launch with Java. I have the following instructions: Runtime r = Runtime.getRuntime(); try { System.out.println ("Llamada a R..."); p = r.exec(sRutaR); } catch (IOException e) { System.out.println ("Error lanzando R: " +
2000 May 10
1
R and Java ? [forwarded]
...(strCmdTmp); OutputStreamWriter o = new OutputStreamWriter(jproc.getOutputStream()); o.write("a<-c(4,5)\n"); o.write("mean(a)\n"); o.write("quit(\"no\")\n"); o.flush(); String line=null; BufferedReader reader = new BufferedReader(new InputStreamReader(jproc.getInputStream())); while((line = reader.readLine())!=null) System.out.println(" The line is: " +line); Thanks in advance, Cheryl Fernandes (Home): (312) 432 4396, (630) 834 3796 1926 W Harrison Street, (Office): (312) 996 4605 Medical Center...
2004 Aug 06
0
Lost ogg sync using jspeex
...ioInputStream speex2pcm=new Speex2PcmAudioInputStream(pin, audioFormat,AudioSystem.NOT_SPECIFIED); //Socket clientSocket = serverSocket.accept(); //ObjectOutputStream toClient = new ObjectOutputStream(clientSocket.getOutputStream()); //BufferedReader fromClient = new BufferedReader(new InputStreamReader(clientSocket.getInputStream())); targetDataLine.open(audioFormat,8000); targetDataLine.start(); //sourceDataLine.open(audioFormat,44100); //sourceDataLine.start(); double ratio=bufferlength/framelength; byte[] frame=new byte[framelength]; System.out.println("Entering...
2004 Aug 06
0
Lost ogg sync using jspeex
...ioInputStream speex2pcm=new Speex2PcmAudioInputStream(pin, audioFormat,AudioSystem.NOT_SPECIFIED); //Socket clientSocket = serverSocket.accept(); //ObjectOutputStream toClient = new ObjectOutputStream(clientSocket.getOutputStream()); //BufferedReader fromClient = new BufferedReader(new InputStreamReader(clientSocket.getInputStream())); targetDataLine.open(audioFormat,8000); targetDataLine.start(); //sourceDataLine.open(audioFormat,44100); //sourceDataLine.start(); double ratio=bufferlength/framelength; byte[] frame=new byte[framelength]; System.out.println("Entering...
2004 Aug 06
0
Please Help, Lost ogg sync using jspeex
...mAudioInputStream(pin, audioFormat,AudioSystem.NOT_SPECIFIED);<BR> <BR> //Socket clientSocket = serverSocket.accept();<BR> //ObjectOutputStream toClient = new ObjectOutputStream(clientSocket.getOutputStream());<BR> //BufferedReader fromClient = new BufferedReader(new InputStreamReader(clientSocket.getInputStream()));<BR> targetDataLine.open(audioFormat,8000);<BR> targetDataLine.start();<BR> //sourceDataLine.open(audioFormat,44100);<BR> //sourceDataLine.start();<BR> double ratio=bufferlength/framelength; <BR> byte[] frame=new b...
2011 Apr 16
3
calling dovecot exported auth from Java
As far as I have been able to figure out, dovecot auth always works over a Unix domain socket. I believe it is not currently possible to operate dovecot auth over an Internet domain (TCP) socket. Am I correct? I want to call dovecot's exported authentication from a Java application. Java doesn't natively know how to talk to a Unix domain socket, so there are inconveniences. There
2009 Mar 30
0
Problem in S4 object displaying from within a Java application using JRI
...lic void rBusy(Rengine re, int which) { System.out.println("rBusy(" + which + ")"); } public String rReadConsole(Rengine re, String prompt, int addToHistory) { System.out.print(prompt); try { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String s = br.readLine(); return (s == null || s.length() == 0) ? s : s + "\n"; } catch (Exception e) { System.out.println("jriReadConsole exception: " + e.getMessage()); } return null; } public...
2006 Feb 20
46
Ruby + Apache Lucene using XMLRPC?
Please excuse me if this has been answered before. Is there a "how-to" guide or a walkthrough on integrating Lucene with ROR via XMLRPC? I got Ferret to work but I am worried that it''s not going to be as scalable. I highly appreciate your assistance. Thanks Frank --------------------------------- Relax. Yahoo! Mail virus
2005 Dec 02
43
ANN: acts_as_ferret
Hi all This week I have worked with Rails and Ferret to test Ferrets (and Lucenes) capabilities. I decided to make a mixin for ActiveRecord as it seemed the simplest possible solution and I ended up making this into a plugin. For more info on Ferret see: http://ferret.davebalmain.com/trac/ The plugin is functional but could easily be refined. Anyway I want to share it with you. Regard it as a
2005 Dec 02
43
ANN: acts_as_ferret
Hi all This week I have worked with Rails and Ferret to test Ferrets (and Lucenes) capabilities. I decided to make a mixin for ActiveRecord as it seemed the simplest possible solution and I ended up making this into a plugin. For more info on Ferret see: http://ferret.davebalmain.com/trac/ The plugin is functional but could easily be refined. Anyway I want to share it with you. Regard it as a