Re: [R] Problem of running R console from Java on linux box

2008-11-02 Thread ZhaoWei
Great, --vanilla works! Can you please tell me what this parameter means? And, it works with the execuatble(/usr/lib/R/bin/exec/R). I'm wondering is it possible to do the same with the shell script(/usr/bin/R), anyway when you type R in command line, it means the shell script. Thanks again! Hi

Re: [R] Problem of running R console from Java on linux box

2008-11-02 Thread Prof Brian Ripley
On Sun, 2 Nov 2008, ZhaoWei wrote: Great, --vanilla works! Can you please tell me what this parameter means? And, it works with the execuatble(/usr/lib/R/bin/exec/R). I'm wondering is it possible to do the same with the shell script(/usr/bin/R), anyway when you type R in command line, it means

Re: [R] Problem of running R console from Java on linux box

2008-11-02 Thread ZhaoWei
Get it done. Big thank, Brian and Martin! From: Prof Brian Ripley [EMAIL PROTECTED] Subject: Re: [R] Problem of running R console from Java on linux box Date: Sun, 2 Nov 2008 11:07:24 + (GMT) On Sun, 2 Nov 2008, ZhaoWei wrote: Great, --vanilla works! Can you please tell me what

Re: [R] Problem of running R console from Java on linux box

2008-11-02 Thread ZhaoWei
My fault, I used Runtime.getRuntime.exec(/usr/bin/R --vanilla), and was prompted with /usr/bin/R --vanilla not found. This morning I tried command with String array, it works. And, you said vanilla is a non-interactive mode, so if I have several R scripts to run, I have to evaluate them one by

[R] Problem of running R console from Java on linux box

2008-10-31 Thread ZhaoWei
Hi the list: I can not create R process from Java application with my linux box, the process never was created, or just terminated immediately after I called Runtime.getRuntime().exec(...) The command lines I have tried are(the paths are all correct): /bin/sh /usr/bin/R /bin/sh -c