Skip to content
Prev 269004 / 398502 Next

UNC Windows path beginning with backslashes

I think you can also do this from within R (e.g. in your .Rprofile)
using the R.utils package;

library("R.utils")
System$mapDriveOnWindows("K", "\\\\campden\\shares\\Workgroup\\Stats")
driveLetters <- System$getMappedDrivesOnWindows()
System$unmapDriveOnWindows("K")

These methods utilize 'subst' of MS Windows.

/Henrik
On Thu, Aug 18, 2011 at 6:12 PM, Keith Jewell <k.jewell at campden.co.uk> wrote: