[R] Error in setwd(outDir) : cannot change working directory

S Ellison S.Ellison at LGCGroup.com
Wed Feb 20 19:20:08 CET 2013


 

> I am getting errors such as:
> > testInstalledPackages("base",errorsAreFatal=FALSE)
> 
>  Error in setwd(outDir) : cannot change working directory

Er, the first parameter in  testInstalledPackages() is the output directory name, not the package name supplied in scope. You probably don;t have a writeable directory called "base"

Try
 testInstalledPackages(scope="base",errorsAreFatal=FALSE)

S Ellison

*******************************************************************
This email and any attachments are confidential. Any use...{{dropped:8}}



More information about the R-help mailing list