help.search("directory") would have given you:
R.home(base) Return the R Home Directory files(base) File and Directory Manipulation getwd(base) Get or Set Working Directory list.files(base) List the Files in a Directory/Folder unlink(base) Delete Files and Directories and then ?files would have told you there's dir.create() and how to use it. Andy From: pau carre > > 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 > > ______________________________________________ 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