[Rd] bquote(function(x,y) T) (PR#9602)

2007-04-05 Thread felix
> quote(function(x, y) T) function(x, y) T > bquote(function(x, y) T) function(, y) T > eval(.Last.value) Error in eval(expr, envir, enclos) : invalid formal argument list for "function" > R.version _ platform i386-pc-mingw32 arch i386 os mingw32 system

Re: [Rd] Problem with S4 inheritance: unexpected re-initialization?

2007-04-05 Thread Herve Pages
Hi Cristian, cstrato wrote: [...] > Although SubSubClassB1 and SubSubClassB2 differ only slightly, the results > for "subsubB1" are correct, while "subsubB2" gives a wrong result, see: >> subsubB2 <- new("SubSubClassB2", filename="MyFileNameB2", > nameB="MyNameB") >> subsubB2 > An object of class

Re: [Rd] Implementation of pretty

2007-04-05 Thread Duncan Murdoch
On 4/5/2007 1:41 PM, hadley wickham wrote: > On 4/5/07, Martin Maechler <[EMAIL PROTECTED]> wrote: >> > "hadley" == hadley wickham <[EMAIL PROTECTED]> >> > on Thu, 5 Apr 2007 10:43:41 -0500 writes: >> >> hadley> Hi, I'm trying to track down any references for the >> hadley> impl

Re: [Rd] Implementation of pretty

2007-04-05 Thread hadley wickham
On 4/5/07, Martin Maechler <[EMAIL PROTECTED]> wrote: > > "hadley" == hadley wickham <[EMAIL PROTECTED]> > > on Thu, 5 Apr 2007 10:43:41 -0500 writes: > > hadley> Hi, I'm trying to track down any references for the > hadley> implementation of pretty (or grid.pretty) in R. Is >

Re: [Rd] some SPSS 15 files wont open in R 2.4.0

2007-04-05 Thread Prof Brian Ripley
On Thu, 5 Apr 2007, Sam Smith wrote: > > Trying to open some SPSS .sav files (saved with SPSS 15) gives the following: > > > read.spss('/data/big/unzipped_ukda/seh3767/3767SPSS_570D6A086C9A1B0636F13255F25A58C1/prgrp95.sav') > Error in > read.spss("/data/big/unzipped_ukda/seh3767/3767S

Re: [Rd] Problem with S4 inheritance: unexpected re-initialization?

2007-04-05 Thread cstrato
Dear Herve Thank you once again for taking your time, I appreciate it very much. I followed your advice and kept only the minimum code, which I believe is necessary. I have even removed SubClassA, so the inheritance tree is: BaseClass <- SubClassB <- SubSubClassB1 <- SubClassB <-

[Rd] some SPSS 15 files wont open in R 2.4.0

2007-04-05 Thread Sam Smith
Trying to open some SPSS .sav files (saved with SPSS 15) gives the following: read.spss('/data/big/unzipped_ukda/seh3767/3767SPSS_570D6A086C9A1B0636F13255F25A58C1/prgrp95.sav') Error in read.spss("/data/big/unzipped_ukda/seh3767/3767SPSS_570D6A086C9A1B0636F13255F25A58C1/prgrp95.

Re: [Rd] Implementation of pretty

2007-04-05 Thread Martin Maechler
> "hadley" == hadley wickham <[EMAIL PROTECTED]> > on Thu, 5 Apr 2007 10:43:41 -0500 writes: hadley> Hi, I'm trying to track down any references for the hadley> implementation of pretty (or grid.pretty) in R. Is hadley> it original work? Much of it is. The original versi

[Rd] Implementation of pretty

2007-04-05 Thread hadley wickham
Hi, I'm trying to track down any references for the implementation of pretty (or grid.pretty) in R. Is it original work? Thanks, Hadley __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] is.loaded() and dyn.load()

2007-04-05 Thread Prof Brian Ripley
Did you read the comments under ?.Fortran about this? What you are doing is quite explicitly said not to be supported. gfortran is not a supported Fortran compiler for R for Windows 2.4.1. It behaves differently from the supported g77. The behaviour is adapted to the compiler used when configure

[Rd] is.loaded() and dyn.load()

2007-04-05 Thread Simone Giannerini
Dear all, I am puzzled at the behaviour of is.loaded() when a dyn.load() call to a a FORTRAN shared library is included in a file to be sourced. A reproducible example is the following: 1. the attached fortran subroutine try_it.f90 performs a summation of the elements of a REAL*8 vector compile

[Rd] StructTS

2007-04-05 Thread Roy Mendelssohn
I apologize in advance if I picked the wrong list to post this to. I have made an effort to find the answers to these questions on CRAN, but if they are there, I couldn't find them, and I was going to email the developer of StructTS directly but could not find who that is. I have 2 interrel

[Rd] issue with pdf(paper="a4") in 2.5.0 alpha

2007-04-05 Thread J.Oosting
In the latest windows binary (2007-04-03 r41023) pdf() with an argument paper="a4" gives an error, this was still ok in (2007-03-18 r40854) Jan Oosting > pdf("test.pdf",paper="a4") Error in pdf("test.pdf", paper = "a4") : invalid paper type 'a4' (pdf) > sessionInfo() R version 2.5.0 alpha (2007

Re: [Rd] tilde expansion with install.packages

2007-04-05 Thread Prof Brian Ripley
Looks right, and now committed, thanks. On Wed, 4 Apr 2007, Roger D. Peng wrote: > I've noticed recently that 'update.packages' and 'install.packages' seem to > not do tilde expansion anymore, i.e. when I run > > update.packages("~/R-local/lib") > > on R-alpha (r41043) I get the message > > /hom

Re: [Rd] 'R CMD check' fails when suggested package is not available

2007-04-05 Thread Jari Oksanen
On Wed, 2007-04-04 at 17:05 -0700, Herve Pages wrote: > Hi there, > > I was wondering why I get the following error message: > > * checking package dependencies ... ERROR > Packages required but not available: > Rmpi > > when I run 'R CMD check' on a package that _suggests_ Rmpi? > Why i

[Rd] tilde expansion with install.packages

2007-04-05 Thread Roger D. Peng
I've noticed recently that 'update.packages' and 'install.packages' seem to not do tilde expansion anymore, i.e. when I run update.packages("~/R-local/lib") on R-alpha (r41043) I get the message /home/rpeng/install/R-alpha/lib64/R/bin/INSTALL: line 304: cd: ~/R-local/lib: No such file or dire