Re: [Rd] [PATCH] R ignores PATH_MAX and fails in long directories (PR#14228)

2010-03-14 Thread Murray Stokely
Indeed thanks to ripley@ for submitting it. I don't see a note in the NEWS file and it would be nice to point this out as fixed since others may have run into this problem. Could someone submit something like this as well? Index: NEWS =

Re: [Rd] symbol name caching bug: attributes get tied to symbol names

2010-03-14 Thread John Chambers
Just to note, S4 classes can be defined to extend symbols (class "name") and other reference types. These work by using a hidden slot for the reference object, just to avoid attaching attributes to the reference. (Discussed briefly in the section on Basic Classes in ?Classes.) John William D

[Rd] Segfault Problem c++ R interface (detailed)

2010-03-14 Thread Hyunseung Kang
Hello R Community, I've been working on a project that uses pre-made C++ libraries (using STL) in R and build a package. However, I've been getting an unusual segfault that I'm unable to trace its origin. After many attempts of debugging using gdb, commenting out parts (or all of my code) and valg

[Rd] Argument matching for primitives

2010-03-14 Thread Prof Brian Ripley
Recent changes to R-devel has altered the way arguments are matched in most primitives to be identical to the argument matching in interpreted functions. So if argument names are supplied they are checked, surplus arguments are errors, and it is possible to use (perverse) constructions like su

Re: [Rd] log2(quote(1:10)) evaluates the quoted 1:10, log() does not

2010-03-14 Thread Prof Brian Ripley
On Fri, 12 Mar 2010, Prof Brian Ripley wrote: On Wed, 10 Mar 2010, William Dunlap wrote: This is very minor, but shouldn't log2(quote(1:10)) throw an error,the same as log() and other math functions do? It looks like log2 and log10 evaluate a call object instead of throwing a non-numeric-argu