[Rd] initFields() method no longer coerces arguments in R-devel

2011-08-05 Thread Jon Clayden
Dear all, I've just had a package update bounced from CRAN because of a recent change in R-devel which seems to affect the behaviour of the initFields() reference class method. (The change must be very recent because I tested the package on a week-old build of R-devel.) It seems that the method

Re: [Rd] [R] RPMs needed to compile R using the tar.gz file

2011-08-05 Thread Prof Brian Ripley
First off, this was an R-devel question (or maybe an r-sig-fedora one). It is not at all easy to give a complete answer: the list is very long and changes rapidly as Fedora updates. If you can use yum to install a minimal list and let it get the dependencies the list would be manageable.

Re: [Rd] [R] RPMs needed to compile R using the tar.gz file

2011-08-05 Thread Pierre-Yves Chibon
On Fri, 2011-08-05 at 12:13 +0100, Prof Brian Ripley wrote: And the simplest way to get a minimal list would be to look in the spec file for the Fedora SRPM. See: http://pkgs.fedoraproject.org/gitweb/?p=R.git;a=blob_plain;f=R.spec;hb=HEAD Pierre

Re: [Rd] slightly speeding up readChar()

2011-08-05 Thread Michael Lachmann
On 5 Aug 2011, at 1:20AM, Dirk Eddelbuettel wrote: When you know the (fixed) structure of the data, the CRAN package mmap can be a huge winner. Thanks! I didn't know that. Is there a package that provides methods for mmap, like sum(x) or maybe even y=x+z where x, and z are mmaps? I assume

Re: [Rd] initFields() method no longer coerces arguments in R-devel

2011-08-05 Thread Simon Urbanek
It's worth actually reading the list you post to ... http://r.789695.n4.nabble.com/Reference-classes-assignments-to-fields-td3708168.html On Aug 5, 2011, at 6:41 AM, Jon Clayden wrote: Dear all, I've just had a package update bounced from CRAN because of a recent change in R-devel which

Re: [Rd] slightly speeding up readChar()

2011-08-05 Thread Jeffrey Ryan
Michael, The mmap package currently provides an Ops method for comparisons, which returns something like which(i==) does in R - since a vector of logicals the same size would be likely too big to handle in many cases. At some point I'll implement mmap to mmap operations, though for vectorized

Re: [Rd] initFields() method no longer coerces arguments in R-devel

2011-08-05 Thread John Chambers
There is also an item in the NEWS file: Field assignments in reference classes are now consistent with slots in S4 classes: the assigned value must come from the declared class (if any) for the field or from a subclass. On 8/5/11 7:24 AM, Simon Urbanek wrote: It's worth actually reading

Re: [Rd] Tesla GPUs

2011-08-05 Thread Simon Urbanek
On Jul 19, 2011, at 12:56 PM, Simon Urbanek wrote: On Jul 19, 2011, at 2:26 AM, Prof Brian Ripley wrote: On Mon, 18 Jul 2011, Alireza Mahani wrote: Simon, Thank you for elaborating on the limitations of R in handling float types. I think I'm pretty much there with you. As for the

Re: [Rd] initFields() method no longer coerces arguments in R-devel

2011-08-05 Thread Jon Clayden
OK, apologies - on both fronts I obviously searched on the wrong terms. Sorry to waste your time. Jon On 5 August 2011 18:22, John Chambers j...@r-project.org wrote: There is also an item in the NEWS file:    Field assignments in reference classes are now consistent with slots in S4

[Rd] Usage of options() for user defined options

2011-08-05 Thread Rainer M Krug
Hi I want to use options() to store session wide options - is that a reasonable approach, or should options() be reserved for core options? Thanks Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for