Re: [R] package installation for Windows 7

2010-07-10 Thread David Bickel
Now that I have installed R outside Program files to get past the permissions problem, there are packages I can only access from certain working directories: setwd(U:/Calc/zTemp) # U: points to a USB hard drive library(splines) # ok library(locfdr) Error in library(locfdr) : there is no

Re: [R] package installation for Windows 7

2010-07-10 Thread Duncan Murdoch
David Bickel wrote: Now that I have installed R outside Program files to get past the permissions problem, there are packages I can only access from certain working directories: setwd(U:/Calc/zTemp) # U: points to a USB hard drive library(splines) # ok library(locfdr) Error in

Re: [R] package installation for Windows 7

2010-07-10 Thread David Bickel
Thank you, Prof. Murdoch. I have this: .libPaths() [1] \\Users\\dbickel/R/win-library/2.11 C:/R/R-2.11.1/library Since the following naive line in the profile failed, I just moved the new packages to the same directory as the default packages.

Re: [R] package installation for Windows 7

2010-07-10 Thread Duncan Murdoch
On 10/07/2010 10:37 AM, David Bickel wrote: Thank you, Prof. Murdoch. I have this: .libPaths() [1] \\Users\\dbickel/R/win-library/2.11 C:/R/R-2.11.1/library That first path doesn't look like it would work in Windows: it has no drive letter, so its meaning will depend on the driver

[R] package installation for Windows 7

2010-07-08 Thread Dave Bickel
Neither biocLite nor the GUI menus can install packages on my system. Here is relevant output: version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 2 minor 11.1 year 2010 month 05 day 31 svn rev 52157 language R version.string R version 2.11.1 (2010-05-31)

Re: [R] package installation for Windows 7

2010-07-08 Thread Joris Meys
Hi, I am running Windows 7 and R 2.11.1, and everything is installing just fine for me. Did you install R in the Program Files folder? If so, uninstall and try to re-install R in another folder (e.g. c:\R\R2.11.1\ like on my computer). I noticed in the past that the access control of Windows

Re: [R] package installation for Windows 7

2010-07-08 Thread Duncan Murdoch
On 08/07/2010 7:15 AM, Dave Bickel wrote: Neither biocLite nor the GUI menus can install packages on my system. This is probably a permissions problem. Are you running R as an administrator when you try the install? If not, you won't be able to install to the default location, but you

Re: [R] package installation for Windows 7

2010-07-08 Thread Joris Meys
As far as my experience goes, there is no need whatsoever to run R as an administrator for installation of any package, including BioConductor, provided you stay away from the Program Files folder. Cheers Joris On Thu, Jul 8, 2010 at 2:55 PM, Duncan Murdoch murdoch.dun...@gmail.com wrote: On

Re: [R] package installation for Windows 7

2010-07-08 Thread Duncan Murdoch
On 08/07/2010 9:26 AM, David Bickel wrote: Yes, the User into which I logged in before launching RGui is an Administrator. Correct, the problem is not limited to Bioconductor packages. On Windows 7, it's not enough to have the user be an administrator, you need to run programs specifically

Re: [R] package installation for Windows 7

2010-07-08 Thread David Bickel
Yes, the User into which I logged in before launching RGui is an Administrator. Correct, the problem is not limited to Bioconductor packages. David On 08/07/2010 8:55 AM, Duncan Murdoch wrote: On 08/07/2010 7:15 AM, Dave Bickel wrote: Neither biocLite nor the GUI menus can install packages

Re: [R] package installation for Windows 7

2010-07-08 Thread David Bickel
Yes, the User into which I logged in before launching RGui is an Administrator. Correct, the problem is not limited to Bioconductor packages. David On 08/07/2010 8:55 AM, Duncan Murdoch wrote: On 08/07/2010 7:15 AM, Dave Bickel wrote: Neither biocLite nor the GUI menus can install packages

Re: [R] package installation for Windows 7

2010-07-08 Thread David Bickel
Thanks, Joris. Your suggestion solved the problem without requiring me to run R as an administrator. Best regards, David On 08/07/2010 8:45 AM, Joris Meys wrote: Hi, I am running Windows 7 and R 2.11.1, and everything is installing just fine for me. Did you install R in the Program Files

Re: [R] package installation for Windows 7

2010-07-08 Thread Joris Meys
On Thu, Jul 8, 2010 at 3:39 PM, Duncan Murdoch murdoch.dun...@gmail.com wrote: On 08/07/2010 9:26 AM, David Bickel wrote: Yes, the User into which I logged in before launching RGui is an Administrator. Correct, the problem is not limited to Bioconductor packages. On Windows 7, it's not