Hello all,
I am trying to read a table in via ftp, something like this:
read.table("ftp://ftp.the.file.com/the/directory/file.txt")
The trouble with that is, our ftp server is picky and wants my username and password. Oh, bother. My question: Is there a way to send user/pass and read the file into R?
I am using R 1.5.1 on Windows 98.
Thanks,
Brett A. Magill, Evaluator
Research, Assessment, and Evaluation
Saint Louis Public Schools
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Opening Data Via FTP
2 messages · Brett A Magill, Brian Ripley
On Tue, 27 Aug 2002, Brett A Magill wrote:
I am trying to read a table in via ftp, something like this:
read.table("ftp://ftp.the.file.com/the/directory/file.txt")
The trouble with that is, our ftp server is picky and wants my username
and password. Oh, bother. My question: Is there a way to send user/pass and read the file into R? Yes. It's pretty standard ftp://user:pass at ftp.the.file.com/the/directory/file.txt and that works in R (or used to). I suggest use --internet2 and however you would do this in Internet Explorer.
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._