Re: [R] passing username and password to source()

From: [Ricardo Rodriguez] Your XEN ICT Team <webmaster_at_xen.net>
Date: Wed, 13 Feb 2008 02:53:50 +0100

Peter McMahan wrote:
> try something like this:
> username <- "abc"
> pass <- "123"
>
> source(paste("http://",username,":",pass,"@mire.environmentalchange.net/~webmaster/R/3Dsurface.r",sep=""))
>
> I'm not sure it'll work but it's worth a try.

Thanks, Peter. It didn't work. I am guessing it depends in any way on the server this will work or won't work, doesn't it? Have you tried an http URL passing username and password with any public server I could try with? I've used this syntax with ftp sites, but never with http servers. I've tried here with several of the servers I've available and none of them seems to accept this syntax.

Thanks for your help,

Ricardo

-- 
Ricardo Rodríguez
Your XEN ICT Team

______________________________________________
R-help_at_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.
Received on Wed 13 Feb 2008 - 02:04:15 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 13 Feb 2008 - 04:30:13 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive