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] Warning: missing text for item ... in \describe?

2008-12-05 Thread Berwin A Turlach
G'day Brian, On Fri, 5 Dec 2008 17:32:58 + (GMT) Prof Brian Ripley <[EMAIL PROTECTED]> wrote: [...] > > Which platform are we talking here? I was using linux and "R CMD > > check fda", using R 2.8.0, on the command line said: > > That writes to a file, and writes to a file are buffered. Tr

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] Recent snapshot tarballs of R-devel don't compile

2008-12-05 Thread Martin Maechler
> "HP" == Hervé Pagès <[EMAIL PROTECTED]> > on Fri, 05 Dec 2008 10:20:55 -0800 writes: HP> Hi Martin, Martin Maechler wrote: [...] BDR> Maybe, in which case running tools/link-recommended BDR> will fix it. Works for me with the snapshot mentioned BDR> above. >>

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

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

2008-12-05 Thread cstrato
Dear all When trying to install my package on Windows XP on my Mac, I get the following error: -- Making package xps ... ... xpsDict.cxx "C:\Programme\Microsoft Visual Studio 9.0\VC\bin/link" /dll /def:xps.def /out:xps.dll fp10.obj -opt:noref -nologo -include:_G__cpp_se

[Rd] par(mfrow = ) resets par('cex'), not reduces it (PR#13373)

2008-12-05 Thread cmr . pent
help(par) says: 'mfcol, mfrow' ... In a layout with exactly two rows and columns the base value of '"cex"' is reduced by a factor of 0.83: if there are three or more of either rows or columns, the reduction factor is 0.66. In reality, par(mfrow =) *resets* par ('cex'), not reduces

Re: [Rd] Recent snapshot tarballs of R-devel don't compile

2008-12-05 Thread Hervé Pagès
Hi Martin, Martin Maechler wrote: [...] BDR> Maybe, in which case running tools/link-recommended BDR> will fix it. Works for me with the snapshot mentioned BDR> above. Yes. But also we know that we don't want to require that from people working with the tarball. Yes, and that's

Re: [Rd] Warning: missing text for item ... in \describe?

2008-12-05 Thread Prof Brian Ripley
On Sat, 6 Dec 2008, Berwin A Turlach wrote: G'day Brian, On Fri, 5 Dec 2008 15:35:00 + (GMT) Prof Brian Ripley <[EMAIL PROTECTED]> wrote: On Mon, 1 Dec 2008, Berwin A Turlach wrote: G'day Spencer, On Sun, 30 Nov 2008 22:31:54 -0800 Spencer Graves <[EMAIL PROTECTED]> wrote: Hello:

Re: [Rd] array indexing

2008-12-05 Thread Uwe Ligges
Robin Hankin wrote: Hi. I have been pondering array indexing via matrices. > a <- array(1:27,rep(3,3)) > index <- matrix(c(1,1,1,1,2,3),2,3,byrow=TRUE) > a[index] [1] 1 22 as expected and documented. But what was the thinking behind the decision to access the array by rows rather than

Re: [Rd] Warning: missing text for item ... in \describe?

2008-12-05 Thread Berwin A Turlach
G'day Brian, On Fri, 5 Dec 2008 15:35:00 + (GMT) Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > On Mon, 1 Dec 2008, Berwin A Turlach wrote: > > > G'day Spencer, > > > > On Sun, 30 Nov 2008 22:31:54 -0800 > > Spencer Graves <[EMAIL PROTECTED]> wrote: > > > >> Hello: > >> > >> What might

Re: [Rd] Warning: missing text for item ... in \describe?

2008-12-05 Thread Prof Brian Ripley
On Mon, 1 Dec 2008, Berwin A Turlach wrote: G'day Spencer, On Sun, 30 Nov 2008 22:31:54 -0800 Spencer Graves <[EMAIL PROTECTED]> wrote: Hello: What might be the problem generating messages like "Warning: missing text for item ... in \describe" with "R CMD check" and "R CMD install"?

[Rd] array indexing

2008-12-05 Thread Robin Hankin
Hi. I have been pondering array indexing via matrices. > a <- array(1:27,rep(3,3)) > index <- matrix(c(1,1,1,1,2,3),2,3,byrow=TRUE) > a[index] [1] 1 22 as expected and documented. But what was the thinking behind the decision to access the array by rows rather than columns? The 'index' mat

Re: [Rd] Small bug in axis.POSIXct

2008-12-05 Thread Prof Brian Ripley
Thank you, fixed now in R-patched. On Mon, 1 Dec 2008, Martin Becker wrote: Dear developers, the tick marks and labels produced by axis.POSIXct look strange for time horizons of a few hours, see the following example: plot(seq(as.POSIXct("14:00",format="%H:%M"),as.POSIXct("18:00",format="%H