[R] Rweb: how to use source()

Jonathan Baron baron at psych.upenn.edu
Mon Nov 17 13:24:35 CET 2003


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




More information about the R-help mailing list