On Thu, 8 Jan 2009, Gábor Csárdi wrote:
On Thu, Jan 8, 2009 at 5:42 PM, Thomas Loridan <thomas.lori...@gmail.com> wrote:
Many thanks for that.
I am running R under windows and I am not sure what you mean by this curl?
http://curl.haxx.se/
And it comes as standard on Mac OS X and many Linux distros.
(Generally people who fail to provide the requested information should
expect to Google for themselves, not expect their helpers to do such
basic research for them.)
Is'nt there a way to ftp via an intrinsic R function?
That I don't know, perhaps some else does. You might want to double
check the RCurl package.
Yes, I do know about 'intrinsic R', and did you think the author of the R
Internet connectivity would not have said so if there was? (Also the
person who provides the RCurl port for Windows.)
Gabor
Thanks again
Thomas
2009/1/8 Prof Brian Ripley <rip...@stats.ox.ac.uk>:
Try system() with curl or a decent ftp client (I don't see that package
RCurl covers this, but it might despite its description only mentioning
HTTP). From 'man curl'
curl offers a busload of useful tricks like proxy support, user authen-
tication, ftp upload, HTTP post, SSL connections, cookies, file trans-
fer resume and more. As you will see below, the amount of features will
make your head spin!
Ftp protocols (and there are more than one) are fiendishly complicated,
especially if proxies are involved.
BTW, this is yet another case where knowing your OS would have helped give a
more precise answer. See the posting guide.
On Thu, 8 Jan 2009, Thomas Loridan wrote:
Hi all,
I would like to upload some plots I create wth R via ftp or something
similar but I don t really understand which command/syntax I should
use:
should I go for make.socket + write.socket or try and create
environment variables like frp_proxy_user and then ftp my files? how?
many thanks for your help
Thomas
--
Brian D. Ripley, rip...@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 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.