Re: [Rd] Date conversion with as.POSIXct and as.POSIXlt

2006-09-07 Thread Erich Neuwirth
After the discussions which really helped me understanding the issues involved let me summarize some possibly surprising behavior of as.POSIXlt and as.POSIXct and the print method of class POSIXlt (the print method problem seems to be a Windows only problem) in R 2.3.1 - as.POSIXlt and as.POSIXct

Re: [Rd] setMethod("c") [was: setMethod("Summary")]

2006-09-07 Thread Robin Hankin
Thank you for this. Minimal self-contained code included below. It is slightly modified from the original because brob objects have two slots, both of which are needed by c(). [ A "brob" obect is represents a real number with two slots: "x" holds its natural logarithm; slot "positive" is Bool

Re: [Rd] setMethod("c") [was: setMethod("Summary")]

2006-09-07 Thread Martin Maechler
> "Robin" == Robin Hankin <[EMAIL PROTECTED]> > on Thu, 7 Sep 2006 12:18:51 +0100 writes: Robin> Thank you for this. Minimal self-contained code included below. Robin> It is slightly modified from the original because brob objects have two Robin> slots, both of which are

Re: [Rd] setMethod("c") [was: setMethod("Summary")]

2006-09-07 Thread John Chambers
A reasonable goal, but for 2.5.x, not 2.4.0, would be to extend a mechanism already in place to allow setMethod() calls for functions in the base package, even though those functions have no directly visible generic function definition. The recent changes to method dispatch should help. For m

Re: [Rd] Matrix package in R-2.4.0alpha

2006-09-07 Thread Prof Brian Ripley
As you may know from the R-devel list, things are very fluid re S4 just now. Which CRAN mirror did you use? Windows 2.4 packages are only just on the master and may not have got to mirrors yet. It does work for me compiling from source: you may want to try that. B. On Thu, 7 Sep 2006, Kjetil

Re: [Rd] Matrix package in R-2.4.0alpha

2006-09-07 Thread John Chambers
Sounds like you don't have a version Matrix installed from source for 2.4.0. As mentioned earlier on this list, the caching mechanism has changed for methods, and all packages need to be installed from source to get the correct objects. Works fine for me with an installation of Matrix from sou

[Rd] R CMD check: unstated dependence on a standard package.

2006-09-07 Thread Henrik Bengtsson
In the recent R-devel version, I receive the following error: * checking whether the package can be loaded with stated dependencies ... WARNING Error in doTryCatch(return(expr), name, parentenv, handler) : could not find function "packageDescription" Error in library(R.oo) : .First.lib fai

[Rd] Matrix package in R-2.4.0alpha

2006-09-07 Thread Kjetil Halvorsen
In a newly downloaded version (today) of R-2-4-0alpha, with all packages from CRAN also installed today, I get: > library(Matrix) Erro en loadNamespace(package, c(which.lib.loc, lib.loc), keep.source = keep.source) : in 'Matrix' methods specified for export, but none defined: BIC, anova, c

Re: [Rd] R CMD check: unstated dependence on a standard package.

2006-09-07 Thread Kurt Hornik
> Henrik Bengtsson writes: > In the recent R-devel version, I receive the following error: > * checking whether the package can be loaded with stated dependencies > ... WARNING > Error in doTryCatch(return(expr), name, parentenv, handler) : > could not find function "packageDescription"