[R] Problem with dir.create in windows servers
Henrik Bengtsson
hb at stat.berkeley.edu
Wed Sep 10 17:24:04 CEST 2008
This sounds vaguely familiar to me. This could be reason for why I
wrote mkdirs() of the R.utils package. mkdirs() does it's own
(manual) recursive creation of directories. See if that does it for
you.
/Henrik
On Wed, Sep 3, 2008 at 1:14 AM, Francisco Jose Sastre <fsastre at axesor.es> wrote:
> Hello. I've being having problems to create directories in a windows
> server environment . It seems that the recursive argument is not working
> properly on the intranet, as it does in a local path. For example:
>
>> dir.create("\\\\server/directory1/directory2") ,
> this works fine, and creates the directory2, but
>
> If we want to create the directory3 and another directory called
> directory4 inside of it.
>>dir.create("\\\\server/directory1/directory3/directory4", recursive=T)
> fails, and don't create any directory. The ShowWarning doesn't show any
> message.
>
> Any help please.
> Fran.
>
> ______________________________________________
> 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