I am trying to run rTest example (XP, Eclipse, ) available with code. JRI etc are used from the rJava package (i.e. Haven't built myself) The code dosent runs properly - it shows ( i tried passing argument as --save). what else is possible. 'Creating Rengine (with arguments)' and then gets terminated. When I am trying to use run.bat>run.bat examples\rtest.javait says> '-cp' is not recognized as an internal or external commandC:\Documents and Settings\shlahoti\Desktop\JRI_0.4-1\JRI>set PATH=C:\WINDOWS\sys tem32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\;C:\WINDOWS\system 32\Wbem;C:\Program Files\WinZip;C:\Program Files\Visual Networks\Dial Analysis\; c:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Windows I maging\;C:\Program Files\Subversion\bin;"C:\Graphviz2.16\Bin";C:\jEdit;C:\QuickT ime\QTSystem\;C:\php;C:\Program Files\R\R-2.8.0\library\rJava\jri\;C:\Program Fi les\R\R-2.8.0\bin\;\bin;\lib;\bin;\lib;\bin;\lib;\bin;\lib;\bin;\lib;\bin;\lib C:\Documents and Settings\shlahoti\Desktop\JRI_0.4-1\JRI>-cp .;examples;src/JRI. jar rtest $ '-cp' is not recognized as an internal or external command, operable program or batch file.
Well after trying a couple of things - rtest.java example with command line argument being --zero-init this is the error Creating Rengine (with arguments) Rengine created, waiting for R # # An unexpected error has been detected by Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6c733b9d, pid=3640, tid=5016 # # Java VM: Java HotSpot(TM) Client VM (10.0-b19 mixed mode, sharing windows-x86) # Problematic frame: # C [R.dll+0x33b9d] # # An error report file with more information is saved as: # C:\workspaceVE\XTest\hs_err_pid3640.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # 2. while for rtest2.java it remains the same that is terminates after Creating Rengine (with arguments) But difference being some window/ frame which opens for a fraction of a second