[R] Windows 7 R (32/64bit) running under cygwin: package not found

2012-10-16 Thread Aldi Kraja
Hi, Using R 2.15.1 on Windows 7. Have installed both versions 32 and 64bit. In both of them among others I have installed a package rgenoud When I open R gui of 32bit and write library(rgenoud) it responds by showing a functional rgenoud version 5.7-8. The same it does on Rgui 64bit. Now I

Re: [R] Windows 7 R (32/64bit) running under cygwin: package not found

2012-10-16 Thread Duncan Murdoch
On 16/10/2012 12:41 PM, Aldi Kraja wrote: Hi, Using R 2.15.1 on Windows 7. Have installed both versions 32 and 64bit. In both of them among others I have installed a package rgenoud When I open R gui of 32bit and write library(rgenoud) it responds by showing a functional rgenoud version 5.7-8.

Re: [R] Windows 7 R (32/64bit) running under cygwin: package not found

2012-10-16 Thread Aldi Kraja
Thank you Duncan, No I did not install R from cygwin. R is installed with windows 7. I am calling R with a symbolic link from /usr/bin part of cygwin paths, but my symbolic link is pointing to /usr/bin/R - /cygdrive/d/RHome/bin/R.exe Is it possible R is lost in forward paths recognized by

Re: [R] Windows 7 R (32/64bit) running under cygwin: package not found

2012-10-16 Thread Jeff Newmiller
Probably because when you run it from Cygwin the R_LIBS variable does not point to the user and install library directories. I don't know how Rgui knows where they are (registry?) but you can look in the .Library and .Library.site variables to see the results. In a case like this, posting

Re: [R] Windows 7 R (32/64bit) running under cygwin: package not found

2012-10-16 Thread Richard M. Heiberger
I would guess that you installed rgenoud as user, not as administrator. That would put the file inside c:/Users/YourName/AppData/Local/VirtualStore/Program Files/R instead of where you think it is. I can imagine that could easily cause confusion. Rich On Tue, Oct 16, 2012 at 1:14 PM, Aldi

Re: [R] Windows 7 R (32/64bit) running under cygwin: package not found

2012-10-16 Thread Duncan Murdoch
On 16/10/2012 1:14 PM, Aldi Kraja wrote: Thank you Duncan, No I did not install R from cygwin. R is installed with windows 7. I am calling R with a symbolic link from /usr/bin part of cygwin paths, but my symbolic link is pointing to /usr/bin/R - /cygdrive/d/RHome/bin/R.exe Is it possible R is

Re: [R] Windows 7 R (32/64bit) running under cygwin: package not found

2012-10-16 Thread Aldi Kraja
Thank you Richard and Jeff, There is a difference in the reporting of extra packages in 32bit 64bit, see following: 32bit although it does not report the extra package when I call it with Rgui it has the rgenoud. Instead 64bit Rgui it reports that extra package of rgenoud. More info follows:

Re: [R] Windows 7 R (32/64bit) running under cygwin: package not found

2012-10-16 Thread Aldi Kraja
Here follows also the Sys.getenv(): R Windwos 32bit Rgui run: == R_HOME D:/RHome R_LIBS_USER C:\\Users\\aldi\\Documents/R/win-library/2.15 R_USER C:\\Users\\aldi\\Documents R cygwin run: === Sys.getenv() /usr/bin/R BIBINPUTS

Re: [R] Windows 7 R (32/64bit) running under cygwin: package not found

2012-10-16 Thread Bert Gunter
I do not think that this has anything to do with the issue at hand, but just to clarify ... On Tue, Oct 16, 2012 at 10:18 AM, Jeff Newmiller jdnew...@dcn.davis.ca.us wrote: Probably because when you run it from Cygwin the R_LIBS variable does not point to the user and install library

Re: [R] Windows 7 R (32/64bit) running under cygwin: package not found

2012-10-16 Thread Aldi Kraja
Thank you all including Bert, In my opinion the library() when is working in cygwin env., does not check the additional libraries, where R installed the additional packages. So the solution for this problem was to define manually in my programs where is located the library of additional

Re: [R] Windows 7 R (32/64bit) running under cygwin: package not found

2012-10-16 Thread Duncan Murdoch
On 16/10/2012 3:02 PM, Aldi Kraja wrote: Thank you all including Bert, In my opinion the library() when is working in cygwin env., does not check the additional libraries, where R installed the additional packages. So the solution for this problem was to define manually in my programs where is

Re: [R] Windows 7 R (32/64bit) running under cygwin: package not found

2012-10-16 Thread William Dunlap
-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Duncan Murdoch Sent: Tuesday, October 16, 2012 12:39 PM To: Aldi Kraja Cc: r-help@r-project.org; Bert Gunter Subject: Re: [R] Windows 7 R (32/64bit) running under cygwin: package not found On 16/10/2012 3:02 PM, Aldi Kraja