Re: [R] RCurl: using netrc with curlPerform

2008-08-27 Thread Valerie Obenchain
Thanks Martin! Valerie Martin Morgan wrote: Hi Valerie -- curlPerform is expecting the url to be an option that is named, i.e., myopts <-curlOptions(netrc=1) url <- "http://www.omegahat.org/RCurl/testPassword/index.html"; cat(curlPerform(url=url, .opts=myopts)) Basic Password Te

Re: [R] RCurl: using netrc with curlPerform

2008-08-26 Thread Martin Morgan
Hi Valerie -- curlPerform is expecting the url to be an option that is named, i.e., > myopts <-curlOptions(netrc=1) > url <- "http://www.omegahat.org/RCurl/testPassword/index.html"; > cat(curlPerform(url=url, .opts=myopts)) Basic Password Test Basic Password Test This is a test page. If yo

[R] RCurl: using netrc with curlPerform

2008-08-26 Thread Valerie Obenchain
Hello, I am having trouble getting the curlPerform function to authenticate using the .netrc file. From the documentation I've read it certainly seems as though this function should be able to authenticate via the .netrc file. The example I am using here comes from the "R as a Web Client- the