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

2013-02-21 Thread Joanna Papakonstantinou
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. Thank you for your help. On Wed, Feb 20, 2013 at 7:28 PM, S Ellison s.elli...@lgcgroup.com wrote: Should I create an output directory

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

2013-02-21 Thread Gabor Grothendieck
On Thu, Feb 21, 2013 at 10:46 AM, Joanna Papakonstantinou joanna.p...@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. No. The first two gave a response of 1 which means

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

2013-02-21 Thread Gabor Grothendieck
On Thu, Feb 21, 2013 at 5:22 PM, Joanna Papakonstantinou joanna.p...@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

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

2013-02-21 Thread Joanna Papakonstantinou
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’

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

2013-02-20 Thread Joanna Papakonstantinou
I installed R on my Windows laptop in C:\Program Files\R\R-2.15.2 and am able to open RGUI (640bit), see packages and run commands. However, when I test the installation and run the basic tests and all the tests on the standard and recommended packages i.e.: library(tools)

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

2013-02-20 Thread Gabor Grothendieck
On Wed, Feb 20, 2013 at 11:54 AM, Joanna Papakonstantinou joanna.p...@gmail.com wrote: I installed R on my Windows laptop in C:\Program Files\R\R-2.15.2 and am able to open RGUI (640bit), see packages and run commands. However, when I test the installation and run the basic tests and all the

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

2013-02-20 Thread Gabor Grothendieck
On Wed, Feb 20, 2013 at 12:33 PM, Gabor Grothendieck ggrothendi...@gmail.com wrote: On Wed, Feb 20, 2013 at 11:54 AM, Joanna Papakonstantinou joanna.p...@gmail.com wrote: I installed R on my Windows laptop in C:\Program Files\R\R-2.15.2 and am able to open RGUI (640bit), see packages and run

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

2013-02-20 Thread Gabor Grothendieck
On Wed, Feb 20, 2013 at 1:01 PM, Joanna Papakonstantinou joanna.p...@gmail.com wrote: I am running as administrator. Again, the first 2 tests worked but the 3rd is still giving me an error: testInstalledBasic(basic) running strict specific tests running code in ‘eval-etc.R’ comparing

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

2013-02-20 Thread S Ellison
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

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

2013-02-20 Thread Joanna Papakonstantinou
I am running as administrator. Again, the first 2 tests worked but the 3rd is still giving me an error: testInstalledBasic(basic) running strict specific tests running code in ‘eval-etc.R’ comparing ‘eval-etc.Rout’ to ‘eval-etc.Rout.save’ ...[1] 1 testInstalledBasic(both) running strict

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

2013-02-20 Thread Gabor Grothendieck
On Wed, Feb 20, 2013 at 1:08 PM, Gabor Grothendieck ggrothendi...@gmail.com wrote: On Wed, Feb 20, 2013 at 1:01 PM, Joanna Papakonstantinou joanna.p...@gmail.com wrote: I am running as administrator. Again, the first 2 tests worked but the 3rd is still giving me an error:

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

2013-02-20 Thread Joanna Papakonstantinou
I ran testInstalledPackages(scope=base,errorsAreFatal=FALSE) and it completed (and spit out a graph). Does this mean I am ok to contunie using this installation of R? Should I create an output directory somewhere either in Program Files where R is installed or in my working directory? Thank you

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

2013-02-20 Thread Gabor Grothendieck
On Wed, Feb 20, 2013 at 2:01 PM, Joanna Papakonstantinou joanna.p...@gmail.com wrote: I ran testInstalledPackages(scope=base,errorsAreFatal=FALSE) and it completed (and spit out a graph). Does this mean I am ok to contunie using this installation of R? Should I create an output directory

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

2013-02-20 Thread S Ellison
Should I create an output directory somewhere either in Program Files where R is installed or in my working directory? If I wanted to create a writeable test directory I'd put it in my own workspace, not the program files space. But why do you think you need to create an output directory?