Re: [Rd] Missing values for S4 slots [One Solution]

2006-11-24 Thread Martin Morgan
Ross Boylan <[EMAIL PROTECTED]> writes: > On Fri, Nov 24, 2006 at 11:23:14AM -0800, Ross Boylan wrote: >> Using R 2.4, the following fails: >> setClass("testc", representation(a="ANY")) >> makeC <- function(myarg) new("testc", a=myarg) >> makeC() >> -> Error in initialize(value, ...) : argument "m

Re: [Rd] Missing values for S4 slots [One Solution]

2006-11-24 Thread Ross Boylan
On Fri, Nov 24, 2006 at 11:23:14AM -0800, Ross Boylan wrote: > Using R 2.4, the following fails: > setClass("testc", representation(a="ANY")) > makeC <- function(myarg) new("testc", a=myarg) > makeC() > -> Error in initialize(value, ...) : argument "myarg" is missing, >with no default > >

[Rd] Missing values for S4 slots

2006-11-24 Thread Ross Boylan
Using R 2.4, the following fails: setClass("testc", representation(a="ANY")) makeC <- function(myarg) new("testc", a=myarg) makeC() -> Error in initialize(value, ...) : argument "myarg" is missing, with no default On the other hand, this is OK: f <- function(a) g(b=a) g <- function(b) if(missin

Re: [Rd] f2c to achieve reentrancy in odesolve?

2006-11-24 Thread Mike Prager
[EMAIL PROTECTED] wrote: > I am beginning a much-delayed update of odesolve to include several > ordinary differential equation solvers from the Livermore package > ODEPACK. These are much-used and reliable Fortran codes, and I plan (as > I did for lsoda in the current odesolve package) to make a

[Rd] Solaris build produces worrying warning. (PR#9382)

2006-11-24 Thread gml4410
Full_Name: Gordon Lack Version: 2.4.0 OS: Solaris8 Submission from: (NULL) (198.28.92.5) A 32-bit compile of R-2.4.0 on Solaris8 (using gcc3.4.3) produces this: == make[3]: Entering directory `/var/tmp/gml-R/R-2.4.0/src/extra/pcre' gcc -I. -I. -I../../../src/include -I../../../src/i

[Rd] bin/Shlib overrides the variable PKG_LIBS from Makevars

2006-11-24 Thread Mstislav Elagin
Dear developers, I have got a problem building my shared library via R CMD SHLIB (R 2.4.0 under WinXP), although it worked on R 2.3.0. I tracked the problem down to the file $(R_HOME)/bin/Shlib that generates the variable PKG_LIBS and passes it to make on the command line thus overriding the va

[Rd] Wish: add link to Date in date help page

2006-11-24 Thread Gregor Gorjanc
Hello! Could someone add Date to see also links in date help page i.e. the following code in ./src/library/base/man/date.Rd \seealso{ \code{\link{Sys.time}} and \code{\link{Date}} } I always fire ?date instead of ?Date and I guess a lot of useRs also get lost in search for the right help pages