[R] Problems with R package building

Berend Hasselman bhh at xs4all.nl
Thu Jun 20 10:14:10 CEST 2013


On 20-06-2013, at 10:01, jpm miao <miaojpm at 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



More information about the R-help mailing list