Hi! How Can I create a directory in R to save my files? [[alternative HTML version deleted]]
Any directory in your computer can store your files. To define the working directory use:> setwd('/home/user/')or> setwd('C:\\')and every time you use some function like write.table() you will write files on that directory. On Thu, Nov 8, 2012 at 9:14 AM, anna ek <flower_91_@hotmail.se> wrote:> > Hi! > > How Can I create a directory in R to save my files? > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@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. >-- Att, Flávio Barros [[alternative HTML version deleted]]
Hi Anna, Please see ?dir.create Best, Ista On Thu, Nov 8, 2012 at 6:14 AM, anna ek <flower_91_ at hotmail.se> wrote:> > Hi! > > How Can I create a directory in R to save my files? > [[alternative HTML version deleted]] > > ______________________________________________ > 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.
? dir.create Michael On Thu, Nov 8, 2012 at 11:14 AM, anna ek <flower_91_ at hotmail.se> wrote:> > Hi! > > How Can I create a directory in R to save my files? > [[alternative HTML version deleted]] > > ______________________________________________ > 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.
Seemingly Similar Threads
- Opening SAS file using read.sas7bdat() function in sas7bdat library.
- Form using R
- predicting values from multiple regression
- ggpliot2: reordering of factors in facets facet.grid(). Reordering of factor on x-axis no problem.
- texi2dvi problem when compiling incorrect Latex code