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

From: [Ricardo Rodriguez] Your XEN ICT Team <>
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,"",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 Rodríguez
Your XEN ICT Team

______________________________________________ mailing list
PLEASE do read the posting guide
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 Please read the posting guide before posting to the list.

list of date sections of archive