Re: [Rd] Error in R CMD INSTALL on Windows XP using Rtools28

2008-12-07 Thread cstrato
I understand, thank you, Christian Gabor Grothendieck wrote: Any Windows batch script that uses the Windows find command. On Sat, Dec 6, 2008 at 1:08 PM, cstrato <[EMAIL PROTECTED]> wrote: Dear Gabor, Sorry, my mistake, here are my correct path settings: System Path: C:\Rtools\bin;C:\Rtoo

Re: [Rd] Error in R CMD INSTALL on Windows XP using Rtools28

2008-12-06 Thread Gabor Grothendieck
Any Windows batch script that uses the Windows find command. On Sat, Dec 6, 2008 at 1:08 PM, cstrato <[EMAIL PROTECTED]> wrote: > Dear Gabor, > > Sorry, my mistake, here are my correct path settings: > > System Path: > C:\Rtools\bin;C:\Rtools\perl\bin;C:\Rtools\MinGW\bin;C:\Programme\MiKTeX > 2.7\

Re: [Rd] Error in R CMD INSTALL on Windows XP using Rtools28

2008-12-06 Thread cstrato
Dear Gabor, Sorry, my mistake, here are my correct path settings: System Path: C:\Rtools\bin;C:\Rtools\perl\bin;C:\Rtools\MinGW\bin;C:\Programme\MiKTeX 2.7\miktex\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem User PATH: C:\Rtools\bin;C:\Rtools\perl\bin;C:\Rtools\MinGW\bin;

Re: [Rd] Error in R CMD INSTALL on Windows XP using Rtools28

2008-12-06 Thread Gabor Grothendieck
You could leave your path at: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\Programme\Microsoft SQL Server\90\Tools\binn\ and then use Rcmd.bat or rtools.bat to add the rest. Also there are still two problems: 1. one of the dangers of your setup is that Rtools has a conflict

Re: [Rd] Error in R CMD INSTALL on Windows XP using Rtools28

2008-12-06 Thread cstrato
Dear Duncan, dear Gabor, Thank you for this additional information and all these great tips. Setting the system path in the following way solved my problem: c:\Rtools\bin;c:\Rtools\perl\bin;c:\Rtools\MinGW\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\Programme\Microsoft

Re: [Rd] Error in R CMD INSTALL on Windows XP using Rtools28

2008-12-06 Thread Gabor Grothendieck
On Sat, Dec 6, 2008 at 8:08 AM, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > cstrato wrote: >> >> Prof Brian Ripley wrote: >> >>> >>> On Fri, 5 Dec 2008, cstrato wrote: >>> >>> Dear Duncan Thank you for this explicit explanation, you are right: When setting the system v

Re: [Rd] Error in R CMD INSTALL on Windows XP using Rtools28

2008-12-06 Thread Duncan Murdoch
cstrato wrote: Prof Brian Ripley wrote: On Fri, 5 Dec 2008, cstrato wrote: Dear Duncan Thank you for this explicit explanation, you are right: When setting the system variable "Path" (as administrator) in addition to setting the user variable "PATH" (as user), now everything works

Re: [Rd] Error in R CMD INSTALL on Windows XP using Rtools28

2008-12-05 Thread Duncan Murdoch
cstrato wrote: Dear Gabor Thank you for this interesting link. Since I have also to set the PATH and LIB for Visual Studio AND for ROOT, I am not sure if this would be an option for me. The strategy I use (which I think Gabor's batch file would support, but I do it with my own script) is

Re: [Rd] Error in R CMD INSTALL on Windows XP using Rtools28

2008-12-05 Thread Gabor Grothendieck
On Fri, Dec 5, 2008 at 4:28 PM, cstrato <[EMAIL PROTECTED]> wrote: > Dear Gabor > > Thank you for this interesting link. > > Since I have also to set the PATH and LIB for Visual Studio AND for ROOT, I > am not sure if this would be an option for me. Rcmd.bat will not override settings you make you

Re: [Rd] Error in R CMD INSTALL on Windows XP using Rtools28

2008-12-05 Thread cstrato
Prof Brian Ripley wrote: On Fri, 5 Dec 2008, cstrato wrote: Dear Duncan Thank you for this explicit explanation, you are right: When setting the system variable "Path" (as administrator) in addition to setting the user variable "PATH" (as user), now everything works fine. Interestingly, s

Re: [Rd] Error in R CMD INSTALL on Windows XP using Rtools28

2008-12-05 Thread Prof Brian Ripley
On Fri, 5 Dec 2008, cstrato wrote: Dear Duncan Thank you for this explicit explanation, you are right: When setting the system variable "Path" (as administrator) in addition to setting the user variable "PATH" (as user), now everything works fine. Interestingly, setting the system variable

Re: [Rd] Error in R CMD INSTALL on Windows XP using Rtools28

2008-12-05 Thread cstrato
Dear Gabor Thank you for this interesting link. Since I have also to set the PATH and LIB for Visual Studio AND for ROOT, I am not sure if this would be an option for me. Best regards Christian Gabor Grothendieck wrote: Note that there is an Rcmd.bat batch file in http://batchfiles.googlec

Re: [Rd] Error in R CMD INSTALL on Windows XP using Rtools28

2008-12-05 Thread Gabor Grothendieck
Note that there is an Rcmd.bat batch file in http://batchfiles.googlecode.com which automatically sets all environment variables for you including the PATH making it unnecessary to set your PATH or any environment variables. On Fri, Dec 5, 2008 at 4:06 PM, cstrato <[EMAIL PROTECTED]> wrote: > Dear

Re: [Rd] Error in R CMD INSTALL on Windows XP using Rtools28

2008-12-05 Thread cstrato
Dear Duncan Thank you for this explicit explanation, you are right: When setting the system variable "Path" (as administrator) in addition to setting the user variable "PATH" (as user), now everything works fine. Interestingly, setting the system variable "Path" on my laptop with Rtools27 se

Re: [Rd] Error in R CMD INSTALL on Windows XP using Rtools28

2008-12-05 Thread Duncan Murdoch
cstrato wrote: Dear all Thank you all for you fast reply. As I said, everything on my laptop and Mac is identical, here are my user defined environment variables: HOME: c:\home\Rabbitus INCLUDE: C:\Programme\Microsoft Visual Studio 9.0\VC\include;C:\Programme\Microsoft SDKs\Windows\v6.0A\In

Re: [Rd] Error in R CMD INSTALL on Windows XP using Rtools28

2008-12-05 Thread cstrato
Dear all Thank you all for you fast reply. As I said, everything on my laptop and Mac is identical, here are my user defined environment variables: HOME: c:\home\Rabbitus INCLUDE: C:\Programme\Microsoft Visual Studio 9.0\VC\include;C:\Programme\Microsoft SDKs\Windows\v6.0A\Include LIB: C:\Pr

Re: [Rd] Error in R CMD INSTALL on Windows XP using Rtools28

2008-12-05 Thread Gabor Grothendieck
One difference between rtools27.exe and rtools28.exe is that the latter sets a value in the registry to where rtools is located whereas the former does not. On Fri, Dec 5, 2008 at 2:49 PM, cstrato <[EMAIL PROTECTED]> wrote: > Dear all > > When trying to install my package on Windows XP on my Mac,

Re: [Rd] Error in R CMD INSTALL on Windows XP using Rtools28

2008-12-05 Thread Prof Brian Ripley
This is a PATH error: you must have Rtools/bin before Windows system directories in your path. As the R-admin manual tells you explicitly fortune("WTFM") applies. On Fri, 5 Dec 2008, cstrato wrote: Dear all When trying to install my package on Windows XP on my Mac, I get the following