[R-SIG-Mac] create path/folder

Paul Roebuck roebuck at mdanderson.org
Wed May 16 20:13:41 CEST 2007


On Wed, 16 May 2007, [ISO-8859-1] Hans-Jörg Bibiko wrote:

> On 16.05.2007, at 18:12, Roland Kaiser wrote:
>
> > Is it possible to to create a folder
> > in the system directory from inside R?
> >
> > setwd(tempdir())
> > folder.name <- letters[1:5]
> > ...?
> >
> > Can somebody give me a hint?
>
> Do you mean something like that:
>
> setwd(tempdir())
> a<-"a_name"
> system(paste("mkdir",a))

?dir.create

although this is really an R-Help topic...

----------------------------------------------------------
SIGSIG -- signature too long (core dumped)



More information about the R-SIG-Mac mailing list