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
> ...
> If I run
> 
>   Rcmdr 'rnorm(5)'
> 
> I see a black terminal window pop up for a second, and then it goes
> away.  J returns _1.

I think I now understand the problem. The wd 'winexec' call is finishing
before the R call completes and writes out the result file. This would
explain the _1 result, which must be the result of the fread on a
non-existent file.

Something changed since I wrote this, I think on R 2.2. Anyway, the
solution on Windows will be to use the task script, which will enforce
the wait. I'll do this now, and upload new scripts.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to