I think you need to use system("mkdir") or whatever is appropriate
for your OS. Making directories is a function of the OS, not of R. If
you need to make a truly cross-platform solution, you might need
to check within your code what OS is being used, and call the
appropriate system statement. (I think you can do this, but have
never needed to.) That would be particularly important if you need to
specify paths.

Sarah

On 3/27/06, pau carre <pau.carre@gmail.com> wrote:
>
> Hello, I am trying to create directories with R. I would like R to
> create directories because it is platform independent. I tried using
> file() and searching in "R Data Import/Export" but I did not succeed.
> I think it must be some function since exists the unlink to remove
> directories (and files).
>
> Pau
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>



--
Sarah Goslee
http://www.stringpage.com

	[[alternative HTML version deleted]]


