Re: [Rd] Access to integer value of BUILTINSXP/SPECIALSXP

2009-09-12 Thread Saptarshi Guha
After some reading, what i really need is something to give access to PRIMNAME(obj). Setting #define R_USEINTERNALS doesn't work and i'd rather not use internals. Is the some exposed api call to get PRIMNAME? Thank you Saptarshi On Sat, Sep 12, 2009 at 2:08 PM, Saptarshi Guha wrote: > Hello, >

[Rd] Access to integer value of BUILTINSXP/SPECIALSXP

2009-09-12 Thread Saptarshi Guha
Hello, For the BUILTINSXP and SPECIALSXP types, the R Internals page documents "An integer giving the offset into the table of primitives/.Internals. " What macro gives me the value of this integer? I guess something like this would work had R_USEINTERNALS been defined v->u.primsxp.offset (wh

Re: [Rd] DESCRIPTION/OS_type and OS X

2009-09-12 Thread Dirk Eddelbuettel
On 12 September 2009 at 09:52, Marc Schwartz wrote: | On Sep 12, 2009, at 9:49 AM, Dirk Eddelbuettel wrote: | | > | > R Extensions (Section 1.1.1, and using the 2.9.2 version) says | > | > The optional `OS_type' field specifies the OS(es) for which the | > package is intended. If present,

Re: [Rd] DESCRIPTION/OS_type and OS X

2009-09-12 Thread Marc Schwartz
On Sep 12, 2009, at 9:49 AM, Dirk Eddelbuettel wrote: R Extensions (Section 1.1.1, and using the 2.9.2 version) says The optional `OS_type' field specifies the OS(es) for which the package is intended. If present, it should be one of `unix' or `windows', and indicates that the package

[Rd] DESCRIPTION/OS_type and OS X

2009-09-12 Thread Dirk Eddelbuettel
R Extensions (Section 1.1.1, and using the 2.9.2 version) says The optional `OS_type' field specifies the OS(es) for which the package is intended. If present, it should be one of `unix' or `windows', and indicates that the package should only be installed on a platform with `.Platfo

[Rd] Why license filtering is important (was non-GPL ...)

2009-09-12 Thread Prof. John C Nash
Using the acronym "GPL" in comments on the management of package repositories led the discussion well away from the issues I wanted to shed light upon, so I have changed the subject tag. Examples of my concerns: 1) I use a package with a non-free component and learn how to work with it effici

Re: [Rd] Non-GPL packages for R

2009-09-12 Thread Douglas Bates
On Fri, Sep 11, 2009 at 1:48 PM, rudjer wrote: > > Comrades, > > When talk turns to the purity of the revolution, and purge of packages then > the guillotine can't be far behind.  We all remember Lenin berating the > "renegade Kautsky" for his "pragmatism," and we know where that led... > > So let

Re: [Rd] S4 Generics and NAMESPACE : justified warning ?

2009-09-12 Thread Martin Maechler
> "YC" == Yohan Chalabi > on Thu, 3 Sep 2009 12:44:13 +0200 writes: > "MM" == Martin Maechler > on Mon, 31 Aug 2009 14:51:16 +0200 MM> Yes, I agree, unjustified in your case. The question MM> is: is there a patch which does differentiate between MM> your