Skip to content

Rterm and cgi

3 messages · Pauline Gu, Peter Dalgaard

#
Dear R experts,

I posted a question last week regarding RSJava error UnsatisfiedLink: 
eval.  But, I did not get any response yet.

So, I am trying to work something out.

I tried to write something with perl, but it still does not work.  In perl, 
when I used rename which is a Dos command, it worked through the cgi, so 
did cp (which is not a Dos command, but, it is in my path).

And the perl worked from the command line for Rterm.  But, through cgi, it 
did produced the output file without any content.

My sampe R file is just like:
a <- rnorm(10, 4)
a

So, the output file should give me some content.

Can anybody give me some hint?  I searched the R archive, there was a 
similar posting over a year ago, but, I did not see any solution.

Thanks for your help.

OS: Windows NT
R: 1.5.1
Apache Server

Pauline

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
Pauline Gu <gu4 at llnl.gov> writes:
I'm not too sure, but you might need a print(a) there.
#
Hello, Peter,

I tried with print(a) and it still shows nothing.  I still could not get 
the cgi script to work correctly.  It does produce the output file, except 
not content.  In the archived newsgroup, someone mentioned that some 
environment might need to be set.  But I do not know what environment to 
set, besides R_HOME.

Thanks for your help.

Pauline
At 11:08 AM 8/21/2002 +0200, Peter Dalgaard BSA wrote:
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._