On 20-06-2013, at 10:01, jpm miao <miao...@gmail.com> wrote: > Hi, > > Following your advice, I install R tools from > http://cran.r-project.org/bin/windows/Rtools/ > Rtools215.exe <http://cran.r-project.org/bin/windows/Rtools/Rtools215.exe> > > Files are automatically installed here: > C:\Rtools > > I run the code again and get the message > > Creating directories ... > Error in package.skeleton(list = c("f", "g", "d", "e"), name = "test1pkg", > : > directory 'D:/R/pkgtest/test1pkg' already exists >> R CMD build test1pkg > Error: unexpected symbol in "R CMD" >
You are supposed to run R CMD build test1pkg from the commandline in the directory directly above test1pkg On Windows in a Windows console window. Berend ______________________________________________ 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.