[R] An easy question on package building/installation

2015-03-18 Thread jpm miao
Hi, I try to build a package myself on RStudio. The command package.skeleton is successfully run, but the command build is not. In my case, the username and the package name are both abcd. Error message: R CMD build abcd Error: unexpected symbol in R CMD Could someone help me to

Re: [R] An easy question on package building/installation

2015-03-18 Thread Jeff Newmiller
You appear to be entering that command at the R prompt when it is intended to be entered at the operating system command line. There is a whole document Writing R Extensions that you really should be reading no matter what IDE you are using. Also, details of using RStudio are off topic here,