[R] Link to a Network computer

Uwe Ligges ligges at statistik.tu-dortmund.de
Thu Feb 16 10:52:48 CET 2012



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.



More information about the R-help mailing list