Hi, I'm just wondering about file name syntax. Instead of stuff <- read.table("e:/statcourses/stuff.dat") I'd like to be able to do stuff <- read.table("ptolemy/statcourses/stuff.dat") or stuff <- read.table("ptolemy.math.waikato.ac.nz/statcourses/stuff.dat") that is, I'd like to be able to read a file from a server without necessarily mounting the server as a drive letter on the PC. Is that do-able? Murray Jorgensen -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Sorry, didn't CC it to R-help... Murray Jorgensen wrote:> > Hi, > > I'm just wondering about file name syntax. > > Instead of > > stuff <- read.table("e:/statcourses/stuff.dat") > > I'd like to be able to do > > stuff <- read.table("ptolemy/statcourses/stuff.dat")Try: stuff <- read.table("//ptolemy/statcourses/stuff.dat") Uwe Ligges -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Tue, 25 Jul 2000, Murray Jorgensen wrote:> Hi, > > I'm just wondering about file name syntax. > > Instead of > > stuff <- read.table("e:/statcourses/stuff.dat") > > I'd like to be able to do > > stuff <- read.table("ptolemy/statcourses/stuff.dat") > > or > > stuff <- read.table("ptolemy.math.waikato.ac.nz/statcourses/stuff.dat") > > that is, I'd like to be able to read a file from a server without > necessarily mounting the server as a drive letter on the PC. > > Is that do-able?See help(read.table.url) The help page should probably be linked from help(read.table) -thomas Thomas Lumley Assistant Professor, Biostatistics University of Washington, Seattle -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._