For the code, just copy and paste it through the clipboard 
into Rweb.

For the data, you enter the URL in the area where Rweb says 
External Data Entry.  Alternately, you can use the R dput command
on your machine to turn the data into an R statement and then add it 
to the source file, eliminating the need for reading an external 
data file.

---
Date: Mon, 17 Nov 2003 07:24:35 -0500 
From: Jonathan Baron <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]> 
Subject: [R] Rweb: how to use source() 

 
 
I cannot discover how to set or find the working directory in
Rweb, so that I can source() a file from the server. The file I
source() must refer to a data file in its directory.

setwd() does not do anything, and getwd() says that the working
directory is in /var/www/cgi-bin/ (on Linux).

(I have a student who installed R on her own computer and
analyzed half of her data, and then her computer died. Rweb
could let her finish, if I could just take what she's done so
far, which I have, and put it on my server.)

-- 
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page: http://www.sas.upenn.edu/~baron

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to