We work on shared network drive over VPN. Have been using here package without any issues when we open a .Rproject file located on the shared drive. Sometimes ( may be because of slow internet speed), rstudio throws cannot connect to internet error when connected via VPN. In this scenario we use the desktop shortcut of Rstudio and set the working dir to the shared drive and work with the respective R files. However, here function still recognizes the "C:/Users/name/Documents" as the working directory and does not read the files on the shared working dir. If we remove the here command from read.csv, the files read normally as expected. Any suggestion on how to make here command work in the above scenario ?
I did the following after setting working dir
We work on shared network drive over VPN. Have been using here package without any issues when we open a .Rproject file located on the shared drive. Sometimes ( may be because of slow internet speed), rstudio throws
cannot connect to internet
error when connected via VPN. In this scenario we use the desktop shortcut of Rstudio and set the working dir to the shared drive and work with the respective R files. However,here
function still recognizes the"C:/Users/name/Documents"
as the working directory and does not read the files on the shared working dir. If we remove the here command from read.csv, the files read normally as expected. Any suggestion on how to make here command work in the above scenario ? I did the following after setting working dir