[R] How to create a directoy with R

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Mar 27 14:35:28 CEST 2006


On Mon, 27 Mar 2006, pau carre 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).

?dir.create

[help.search("directory") leads to

files(base)             File and Directory Manipulation

on which page it is documented.]

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list