Re: [Rd] bulding a package for Windows (path problem?)

2010-09-30 Thread jgarcia
Thanks, Uwe. It now INSTALLs perfectly with Rtools installed. Best wishes, Javier --- > You need a recent version of the Rtools from Duncan Murdoch's web page. > It includes the file.exe required for checking. > > Uwe Ligges > > On 30.09.2010 18:38, jgar...@ija.csic.es wrote: >> Thanks to Duncan Mu

Re: [Rd] More strange R CMD build/check errors on Windows

2010-09-30 Thread Hervé Pagès
This has been addressed in current R-alpha, thanks! H. On 09/29/2010 02:11 PM, Hervé Pagès wrote: Hi, I can confirm that most of those "strange R CMD build/check errors" we observe on Windows are actually a consequence of the "temp Rscript file collision" I reported yesterday here: https://st

[Rd] tar problem when using 'R CMD build' on Windows

2010-09-30 Thread Hervé Pagès
Hi, Already reported here: https://stat.ethz.ch/pipermail/r-devel/2010-September/058636.html but it doesn't seem to be related (at least not in an obvious way) to the problems described in that previous thread. So the problem is that, with recent versions of R 2.12 (i.e. current R-alpha but

Re: [Rd] Assignment to a slot in an S4 object in a list seems to violate copy rules?

2010-09-30 Thread Prof Brian Ripley
On Thu, 30 Sep 2010, Thomas Lumley wrote: On Thu, Sep 30, 2010 at 8:15 AM, peter dalgaard wrote: On Sep 30, 2010, at 16:19 , Niels Richard Hansen wrote: setClass("A", representation(a = "numeric")) B <- list() myA <- new("A", a = 1) B$otherA <- myA b$oth...@a <- 2 m...@a R version 2.12.0

Re: [Rd] bulding a package for Windows (path problem?)

2010-09-30 Thread Prof Brian Ripley
And 'file' is a program available in Rtools On Thu, 30 Sep 2010, jgar...@ija.csic.es wrote: Thanks to Duncan Murdoch and Prof. Ripley for the previous answers. I apologize as I was not updated with the R version. Now with R 2.12.0 alpha the package builds [Windows XP] but it still fails wh

Re: [Rd] Assignment to a slot in an S4 object in a list seems to violate copy rules?

2010-09-30 Thread Thomas Lumley
On Thu, Sep 30, 2010 at 8:15 AM, peter dalgaard wrote: > > On Sep 30, 2010, at 16:19 , Niels Richard Hansen wrote: > >> setClass("A", representation(a = "numeric")) >> B <- list() >> myA <- new("A", a = 1) >> B$otherA <- myA >> b$oth...@a <- 2 >> m...@a > > R version 2.12.0 Under development (unst

Re: [Rd] bulding a package for Windows (path problem?)

2010-09-30 Thread Uwe Ligges
You need a recent version of the Rtools from Duncan Murdoch's web page. It includes the file.exe required for checking. Uwe Ligges On 30.09.2010 18:38, jgar...@ija.csic.es wrote: Thanks to Duncan Murdoch and Prof. Ripley for the previous answers. I apologize as I was not updated with the R ver

Re: [Rd] bulding a package for Windows (path problem?)

2010-09-30 Thread jgarcia
Thanks to Duncan Murdoch and Prof. Ripley for the previous answers. I apologize as I was not updated with the R version. Now with R 2.12.0 alpha the package builds [Windows XP] but it still fails when checking: --- C:\home\javier\Documents\hydrology\development>R CMD check hydrosim * using log dir

Re: [Rd] Assignment to a slot in an S4 object in a list seems to violate copy rules?

2010-09-30 Thread peter dalgaard
On Sep 30, 2010, at 16:19 , Niels Richard Hansen wrote: > setClass("A", representation(a = "numeric")) > B <- list() > myA <- new("A", a = 1) > B$otherA <- myA > b$oth...@a <- 2 > m...@a R version 2.12.0 Under development (unstable) (2010-09-13 r52905) Platform: i386-apple-darwin9.8.0/i386 (32-b

[Rd] Assignment to a slot in an S4 object in a list seems to violate copy rules?

2010-09-30 Thread Niels Richard Hansen
Dear R-developers I came across the following issue, which I find strange: setClass("A", representation(a = "numeric")) B <- list() myA <- new("A", a = 1) B$otherA <- myA b$oth...@a <- 2 m...@a Assigning a new value to slot 'a' in the _copy_ of myA stored in B$otherA changes the original value

Re: [Rd] bulding a package for Windows (path problem?)

2010-09-30 Thread Prof Brian Ripley
On Thu, 30 Sep 2010, Duncan Murdoch wrote: jgar...@ija.csic.es wrote: Hi, I am working on a package with several hydrological functions which builds/checks/INSTALLs gracefully for a Linux box. However, for a Microsoft Windows XP [Versión 5.1.2600] I have the error: C:\Archivos de programa\R\R

Re: [Rd] bulding a package for Windows (path problem?)

2010-09-30 Thread Duncan Murdoch
jgar...@ija.csic.es wrote: Hi, I am working on a package with several hydrological functions which builds/checks/INSTALLs gracefully for a Linux box. However, for a Microsoft Windows XP [Versión 5.1.2600] I have the error: C:\Archivos de programa\R\R-2.9.2\bin>R CMD build C:\home\javier\Documen

[Rd] bulding a package for Windows (path problem?)

2010-09-30 Thread jgarcia
Hi, I am working on a package with several hydrological functions which builds/checks/INSTALLs gracefully for a Linux box. However, for a Microsoft Windows XP [Versión 5.1.2600] I have the error: C:\Archivos de programa\R\R-2.9.2\bin>R CMD build C:\home\javier\Documents\hydrology\development\hydr