Re: [R] Problems with R package building

2013-06-20 Thread jpm miao
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

Re: [R] Problems with R package building

2013-06-20 Thread Berend Hasselman
On 20-06-2013, at 10:01, jpm miao wrote: > Hi, > > Following your advice, I install R tools from > http://cran.r-project.org/bin/windows/Rtools/ > Rtools215.exe > > Files are automatically installed here: > C:\Rtools > > I run t

Re: [R] Problems with R package building

2013-06-20 Thread jpm miao
I ran it in a common window of R. It's said that I need to run it under DOS. I also open the command window of DOS C:\Documents and Settings\miao ,where miao is my username, and ran it, but it doesn't work either. An error message emerges. Miao 2013/6/20 Pascal Oettli > Hi, > > Did you run "

Re: [R] Problems with R package building

2013-06-20 Thread Pascal Oettli
Hi, Did you run "R CMD build test1pkg" in a command prompt window? Regards, Pascal On 20/06/13 17:01, jpm miao wrote: Hi, Following your advice, I install R tools from http://cran.r-project.org/bin/windows/Rtools/ Rtools215.exe

Re: [R] Problems with R package building

2013-06-20 Thread jpm miao
Hi, Following your advice, I install R tools from 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 ... Er

Re: [R] Problems with R package building

2013-06-14 Thread Michael Weylandt
On Jun 14, 2013, at 7:18, jpm miao wrote: > Hi, > > I try to build a toy package by running the following codes in an R > program > > require(stats) > f <- function(x,y) x+y > g <- function(x,y) x-y > d <- data.frame(a=1, b=2) > e <- rnorm(1000) > package.skeleton(list=c("f","g","d","e"), na