Bill Harris wrote:
I'm trying the R batch interface, and it's not working.  I have R 2.4.1,
updated just yesterday.  I've gotten the public rcmd.ijs and modified
the RBINW line to

This does work for me.

The R batch interface is very simple - all it does is build an R command file (r.in) and call R to run it. Output files are r.out (messages) and r.res (result).

You should be able to debug this outside J, i.e. just go to the command line, call r.exe manually, and inspect the output. The command built in J is in noun RCMD, and will be something like:

path-to-r.exe CMD BATCH --quiet --slave --vanilla input_file output_file

Please try this and if you cannot make it work, send in the messages in the output_file.

Have you just installed R? I believe you need to reboot after installation in order for batch commands to work properly.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to