FYI,
you can use the following to troubleshoot what is going on:
library("R.utils");
filename <- "MyFile.csv";
path <- ... # The directory where to store
pathname <- Arguments$getWritablePathname(filename, path=path);
or if you already have the full pathname:
pathname <- Arguments$getWritablePa
On Tue, Feb 15, 2011 at 11:56 AM, Kevin Wright wrote:
> 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
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, 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
Stuart -
In situations like this, I always recommend using file.choose,
so that you can navigate to the appropriate location. For example,
write.csv(mydata,file=file.choose())
will open a file browser so you can make sure the data will get
written to exactly where you want it.
You can also
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.
[[alternative HTML version deleted]]
6 matches
Mail list logo