search for: datainputstream

Displaying 8 results from an estimated 8 matches for "datainputstream".

2007 Dec 05
4
Java parser for R data file?
Hi everyone, Has anyone written a parser in Java for either the ASCII or binary format produced by save()? I need to parse a single large 2D array that is structured like this: list( "32609_1" = c(-9549.39231289146, -9574.07159324482, ... ), "32610_2" = c(-6369.12526971635, -6403.99620977124, ... ), "32618_2" = c(-2138.29095689061, -2057.9229403233, ... ),
2013 Jun 21
1
[LLVMdev] ASan for Android Applications
.... After properly preloading the ASan runtime, I see the following error message: W/Zygote ( 144): Error reading pid from wrapped process, child may have died W/Zygote ( 144): java.io.EOFException W/Zygote ( 144): at libcore.io.Streams.readFully(Streams.java:83) W/Zygote ( 144): at java.io.DataInputStream.readInt(DataInputStream.java:124) W/Zygote ( 144): at com.android.internal.os.ZygoteConnection.handleParentProc(ZygoteConnection.java:908) W/Zygote ( 144): at com.android.internal.os.ZygoteConnection.runOnce(ZygoteConnection.java:258) W/Zygote ( 144): at com.android.internal.os.ZygoteInit.run...
2005 Aug 16
4
Image from bytes streams
...-------------------------------------------------------------------------------------------- Process p = Runtime.getRuntime().exec("C:/Arquivos de programas/R/rw1090/bin/Rterm.exe --no-save"); DataOutputStream output = new DataOutputStream(new BufferedOutputStream(p.getOutputStream())); DataInputStream input = new DataInputStream(new BufferedInputStream(p.getInputStream())); // output.writeBytes("pie(c(50,30,20))"); //Pie graphic output.writeBytes("plot(1,1)"); // Plot graphic output.flush(); input.readFully(new byte[200]); // Here I read the "image" bytes. -------...
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.
2004 Aug 06
3
q about jspeex
Hi Marc, thanks for the quick reply. Marc Gimpel wrote: > It would appear the the 'pcm2speex.read(frame, 0, frame.length)' is > blocking which means that it is waiting for data from the underlying > inputstream (i.e.AudioInputStream(t.input)). If it could read > sufficient data it would transcode it. If it recieved an EOF, it > should do some zero padding and then
2013 Jun 21
0
[LLVMdev] ASan for Android Applications
You are citing the "Android platform workflow" section, which is about sanitizing components of the Android system itself. For NDK apps, see "Android NDK workflow" in the same document. You need -eng build because preloading libraries into dalvik vm is not allowed in user builds. JellyBean includes several bugfixes in the dynamic loader that asan needs. Was there any useful
2013 Jun 21
3
[LLVMdev] ASan for Android Applications
From: http://address-sanitizer.googlecode.com/svn-history/r1624/wiki/Android.wiki > AddressSanitizer is fully supported in AOSP starting with JellyBean release. To run > applications built with ASan you'll need an -eng build of Android. > > To build any part of Android system with ASan, add > LOCAL_ADDRESS_SANITIZER:=true to the appropriate Android.mk. I don't see that
2013 Feb 07
0
Help R.matlab
...ve(tmpname, '', 'res') answer=0 Error using MatlabServer (line 147) Java exception occurred: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at java.io.DataInputStream.readByte(Unknown Source) -- -------------------------------------------------- Thomas Van Boeckel FNRS Research Fellow Lutte biologique et Ecologie spatiale (LUBIES) Universite Libre de Bruxelles CP 160/12 50, av F.D. Roosevelt 1050, Bruxelles BELGIUM <http://www.ulb.ac.be/sciences/lubie...