[R] Building an R package on MAC

2009-10-22 Thread Gina Liao
Hi, I'm trying to build R packages. My package name is TEST. (/Users/apple/Documents/R/TEST)I type something in Terminal.But it showed an error... applede-macbook-pro:~ apple$ R CMD BUILD TESTError: cannot change to directory 'anRpackage1' I don't know where is wrong...Hope that you could help

Re: [R] Building an R package on MAC

2009-10-22 Thread Bryan Hanson
Gina, at the terminal, make sure you are in directory Users/apple/Docments/R When you type R CMD build TEST Sounds like you might be in the TEST directory, not the R directory. The build system looks for a subdirectory with your package name when it starts. Bryan * Bryan Hanson