[R] Error in setwd(outDir) : cannot change working directory
Gabor Grothendieck
ggrothendieck at gmail.com
Fri Feb 22 01:38:38 CET 2013
On Thu, Feb 21, 2013 at 5:22 PM, Joanna Papakonstantinou
<joanna.papa at gmail.com> wrote:
> Below is what happened when I ran
>> testInstalledPackages(scope="base",errorsAreFatal=FALSE) Testing examples
>> for package ‘base’ comparing ‘base-Ex.Rout’ to ‘base-Ex.Rout.prev’ ... files
>> differ in number of lines: Testing examples for package ‘tools’ comparing
>> ‘tools-Ex.Rout’ to ‘tools-Ex.Rout.save’ ... 474c474 < [1] "Matrix" "nlme"
>> "vegan" "mgcv" --- > [1] "Matrix" "nlme" "mgcv" 619c619 < [1]
>> "0cce1e42ef3fb133940946534fcf8896" --- > [1]
>> "eb723b61539feef013de476e68b5c50a" 844c844 < [1] "R (>= 2.15.1)" --- > [1]
>> "R (>= 2.14.0)" Running specific tests for package ‘tools’ Running ‘undoc.R’
>> Testing examples for package ‘utils’ comparing ‘utils-Ex.Rout’ to
>> ‘utils-Ex.Rout.prev’ ... files differ in number of lines: Running specific
>> tests for package ‘utils’ Running ‘Sweave-tst.R’ Warning: running command
>> '"C:/PROGRA~1/R/R-215~1.2/bin/x64/R" CMD BATCH --vanilla --no-timing
>> "Sweave-tst.R" "Sweave-tst.Rout" LANGUAGE=C' had status 1 Warning: testing
>> 'utils' failed Testing examples for package ‘grDevices’ comparing
>> ‘grDevices-Ex.Rout’ to ‘grDevices-Ex.Rout.save’ ... OK Running specific
>> tests for package ‘grDevices’ Running ‘ps-tests.R’ comparing ‘ps-tests.Rout’
>> to ‘ps-tests.Rout.save’ ... OK Running ‘xfig-tests.R’ comparing
>> ‘xfig-tests.Rout’ to ‘xfig-tests.Rout.save’ ... OK Testing examples for
>> package ‘graphics’ comparing ‘graphics-Ex.Rout’ to ‘graphics-Ex.Rout.save’
>> ... OK Testing examples for package ‘stats’ comparing ‘stats-Ex.Rout’ to
>> ‘stats-Ex.Rout.save’ ... OK Running specific tests for package ‘stats’
>> Running ‘NLSstClosest.R’ Running ‘cmdscale.R’ Running ‘drop1-polr.R’ Running
>> ‘ig_glm.R’ Running ‘ks-test.R’ comparing ‘ks-test.Rout’ to
>> ‘ks-test.Rout.save’ ... OK Running ‘nafns.R’ Running ‘nls.R’ comparing
>> ‘nls.Rout’ to ‘nls.Rout.save’ ... OK Running ‘offsets.R’ Running ‘ppr.R’
>> Running ‘simulate.R’ comparing ‘simulate.Rout’ to ‘simulate.Rout.save’ ...
>> OK Running ‘smooth.spline.R’ Running ‘ts-tests.R’ Testing examples for
>> package ‘datasets’ comparing ‘datasets-Ex.Rout’ to ‘datasets-Ex.Rout.save’
>> ... OK Testing examples for package ‘methods’ comparing ‘methods-Ex.Rout’ to
>> ‘methods-Ex.Rout.prev’ ... OK Running specific tests for package ‘methods’
>> Running ‘S3.R’ Running ‘basicRefClass.R’ Running ‘duplicateClass.R’ Running
>> ‘fieldAssignments.R’ Running ‘mixinInitialize.R’ Running ‘namesAndSlots.R’
>> Running ‘nextWithDots.R’ Running ‘refClassExample.R’ Running
>> ‘testConditionalIs.R’ Running ‘testGroupGeneric.R’ Running ‘testIs.R’
>> Testing examples for package ‘grid’ comparing ‘grid-Ex.Rout’ to
>> ‘grid-Ex.Rout.save’ ... OK Running specific tests for package ‘grid’ Running
>> ‘bugs.R’ Running ‘reg.R’ Running ‘testls.R’ comparing ‘testls.Rout’ to
>> ‘testls.Rout.save’ ... OK Running ‘units.R’ Running vignettes for package
>> ‘grid’ Testing examples for package ‘splines’ comparing ‘splines-Ex.Rout’ to
>> ‘splines-Ex.Rout.save’ ... OK Testing examples for package ‘stats4’
>> comparing ‘stats4-Ex.Rout’ to ‘stats4-Ex.Rout.save’ ... OK Running specific
>> tests for package ‘stats4’ Running ‘confint.R’ Testing examples for package
>> ‘tcltk’ comparing ‘tcltk-Ex.Rout’ to ‘tcltk-Ex.Rout.prev’ ... OK Testing
>> examples for package ‘compiler’ comparing ‘compiler-Ex.Rout’ to
>> ‘compiler-Ex.Rout.prev’ ... OK Running specific tests for package ‘compiler’
>> Running ‘assign.R’ Running ‘basics.R’ Running ‘const.R’ Running ‘envir.R’
>> Running ‘jit.R’ Running ‘loop.R’ Running ‘switch.R’ Testing examples for
>> package ‘parallel’ comparing ‘parallel-Ex.Rout’ to ‘parallel-Ex.Rout.prev’
>> ... OK Running specific tests for package ‘parallel’ Running ‘Master.R’
>> Running vignettes for package ‘parallel’
> I do not really know what any of this means but when I got a graph and no
> explicit errors returned I just wnet ahead with using the installation. I
> have not encountered anything wrong while using is so unless there is
> something you can tell from the above, I guess I will just continue to use
> the current installation.
>
> Many thanks.
>
> On Thu, Feb 21, 2013 at 2:36 PM, Gabor Grothendieck
> <ggrothendieck at gmail.com> wrote:
>>
>> On Thu, Feb 21, 2013 at 10:46 AM, Joanna Papakonstantinou
>> <joanna.papa at gmail.com> wrote:
>> > I only thought one was missing since it kept giving me error that it
>> > wasn't
>> > set. But all seems to working OK so I guess I don't need to create
>> > anything.
>> >
>>
You can find out what at least some of these things mean by reading
the help file. On your prior run the first two gave a response of 1
which, as the help file explains in the Value section, means they
failed.
On this one it seems the tests did not match the target because they
were tested on a different version of R than the tests were prepared
for.
I suggest you just forget about these tests. I don't think there is
anything wrong with your installation.
By the way, the most recent version of R is R-2.15.2 and you might
want to use that.
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
More information about the R-help
mailing list