The original poster did not say what operating system was being used. From my own experience on Windows, I always used "/" for reading from the local hard drive, but when I started working with Windows network shares/folders, I had to switch back to "\\" due to an unknown "feature" (bug?).
Kevin On Tue, Feb 15, 2011 at 1:45 PM, Peter Langfelder < peter.langfel...@gmail.com> wrote: > On Tue, 15 Feb 2011, Stuart Jaffe wrote: > > Hi, > > I'm trying to write a file to a shared drive on a network. I use the > > "write.csv" function with the correct path but R doesn't recognize the > > directory. Is there something different I have to do since it's a shared > > drive? > > Thanks. > > Check that you actually do have permissions to write to the directory > you want to write to, and that the directory name is correct (remember > that R always uses forward slashes in paths). Also, IIRC you need the > permissions to see (read) all parent directories of the directory you > want to write to. > > Peter > > ______________________________________________ > R-help@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. > [[alternative HTML version deleted]] ______________________________________________ R-help@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.