Issue: Connecting to a computer in a network. I would like to connect to a file on a computer on my internal network that has a different password. I have tried download.file and read.csv to no avail. When use this link in explorer it will prompt me for a username/password: file://hs9999-907/D$/protein%20Maintenance%20Logs/123.txt Then it lets me through. I cannot get any R traction on where I might be going wrong or a command that might work. Thanks, Rob S. -- View this message in context: http://r.789695.n4.nabble.com/Link-to-a-Network-computer-tp4392223p4392223.html Sent from the R help mailing list archive at Nabble.com.
Link to a Network computer
3 messages · wpcmba, Duncan Murdoch, Uwe Ligges
On 12-02-15 5:26 PM, wpcmba wrote:
Issue: Connecting to a computer in a network. I would like to connect to a file on a computer on my internal network that has a different password. I have tried download.file and read.csv to no avail. When use this link in explorer it will prompt me for a username/password: file://hs9999-907/D$/protein%20Maintenance%20Logs/123.txt Then it lets me through. I cannot get any R traction on where I might be going wrong or a command that might work.
You could try using the "Internet2" setting, which routes web requests through Internet Explorer libraries. See ?setInternet2. Duncan Murdoch
On 16.02.2012 01:42, Duncan Murdoch wrote:
On 12-02-15 5:26 PM, wpcmba wrote:
Issue: Connecting to a computer in a network. I would like to connect to a file on a computer on my internal network that has a different password. I have tried download.file and read.csv to no avail. When use this link in explorer it will prompt me for a username/password: file://hs9999-907/D$/protein%20Maintenance%20Logs/123.txt Then it lets me through. I cannot get any R traction on where I might be going wrong or a command that might work.
You could try using the "Internet2" setting, which routes web requests through Internet Explorer libraries. See ?setInternet2.
For the local network, that should not be required and
readLines("//hs9999-907/D$/protein%20Maintenance%20Logs/123.txt")
should show the file, hence I guess the OP forgot to omit the "file:" part.
Uwe Ligges
Duncan Murdoch
______________________________________________ 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.