Hi, What do you mean by "Windows in a Windows console window"? Is it the black screen of DOS?
I change the directory of the DOS window to D:\R\pkgtest D:\R\pkgtest\test1pkg and run the command R CMD build test1pkg under each of the two paths, and the error message remains. Miao 2013/6/20 Berend Hasselman <b...@xs4all.nl> > > 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 > > > [[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.