Hi R List, I get this error using StatET R plugin in Eclipse.>sessionInfo()R version 2.9.0 (2009-04-17) i386-pc-mingw32 locale: LC_COLLATE=English_United States.1252;LC_CTYPE=English_United States.1252;LC_MONETARY=English_United States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252 I am running Eclipse Platform Version: 3.4.1 Build id: M20080911-1700 on Windows XP My R process creates a XML object which when I cat, gives the error below. The XML object is large, containing 1000+ rows like the one below. <data name="subset" y="1.0121137732" x="0.8018022766" ypred="0.86" yloess="1.0472"/> The XML object when created with less than 800 rows does get created. Does it have anything to do with the size of xml. org.eclipse.core.runtime.CoreException: Communication error at de.walware.statet.r.nico.impl.RjsController.rjsRunMainLoop(RjsController.java:191) at de.walware.statet.r.nico.impl.RjsController.doSubmit(RjsController.java:410) at de.walware.statet.nico.core.runtime.ToolController.submitToConsole(ToolController.java:1009) at de.walware.statet.nico.core.runtime.ToolController$ConsoleCommandRunnable.run(ToolController.java:124) at de.walware.statet.nico.core.runtime.ToolController.loopRunTask(ToolController.java:822) at de.walware.statet.nico.core.runtime.ToolController.loop(ToolController.java:767) at de.walware.statet.nico.core.runtime.ToolController.run(ToolController.java:293) at de.walware.statet.nico.core.runtime.ToolRunner.run(ToolRunner.java:37) at de.walware.statet.nico.core.runtime.ToolRunner.access$0(ToolRunner.java:35) at de.walware.statet.nico.core.runtime.ToolRunner$1.run(ToolRunner.java:47) Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.io.UTFDataFormatException at sun.rmi.server.UnicastRef.invoke(Unknown Source) at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(Unknown Source) at java.rmi.server.RemoteObjectInvocationHandler.invoke(Unknown Source) at $Proxy0.runMainLoop(Unknown Source) at de.walware.statet.r.nico.impl.RjsController.rjsRunMainLoop(RjsController.java:172) ... 9 more Caused by: java.io.UTFDataFormatException at java.io.ObjectInputStream$BlockDataInputStream.readUTFSpan(Unknown Source) at java.io.ObjectInputStream$BlockDataInputStream.readUTFBody(Unknown Source) at java.io.ObjectInputStream$BlockDataInputStream.readUTF(Unknown Source) at java.io.ObjectInputStream.readUTF(Unknown Source) at de.walware.rj.server.ConsoleCmdItem.<init>(ConsoleCmdItem.java:58) at de.walware.rj.server.MainCmdList.readExternal(MainCmdList.java:70) at java.io.ObjectInputStream.readExternalData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at sun.rmi.server.UnicastRef.unmarshalValue(Unknown Source) ... 14 more Thanks and regards, Harsh [[alternative HTML version deleted]]
Steve Lianoglou
2009-Aug-26 17:42 UTC
[R] rJava error for large XML object return in StatET plugin
Hi, On Aug 26, 2009, at 1:31 PM, Harsh wrote:> Hi R List, > I get this error using StatET R plugin in Eclipse.You might have more luck asking the StatET user mailing list: https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/statet-user -steve -- Steve Lianoglou Graduate Student: Computational Systems Biology | Memorial Sloan-Kettering Cancer Center | Weill Medical College of Cornell University Contact Info: http://cbio.mskcc.org/~lianos/contact