[Rd] generic '[' for a non-exported class

2010-04-07 Thread Christophe Genolini
Hi all, I define a S4 class 'foo'. I define '[' and '[-' for it. I do not want to export foo, so I do not put it in NAMESPACE. I do not want to export '[' and '[-' either (since the user can not use foo, no raison to give him access to '[' for foo). But R CMD check does not agree with me and

[Rd] Additions to posting guide

2010-04-07 Thread Gabor Grothendieck
One user said he would have found it useful to have textConnection be described in the posting guide since he was having problems creating a self-contained post. I suggest the following section be added: How to post commented, minimal, self-contained, reproducible code

Re: [Rd] Additions to posting guide

2010-04-07 Thread Gabor Grothendieck
e-letter, who had suggested that something about textConnection be added, also suggested that warning against posting code that first wipes out all variables in the workspace. On Wed, Apr 7, 2010 at 7:31 AM, Gabor Grothendieck ggrothendi...@gmail.com wrote: One user said he would have found it

Re: [Rd] generic '[' for a non-exported class

2010-04-07 Thread Seth Falcon
On 4/7/10 1:09 AM, Christophe Genolini wrote: Hi all, I define a S4 class 'foo'. I define '[' and '[-' for it. I do not want to export foo, so I do not put it in NAMESPACE. I do not want to export '[' and '[-' either (since the user can not use foo, no raison to give him access to '[' for foo).

Re: [Rd] generic '[' for a non-exported class

2010-04-07 Thread Henrik Bengtsson
On Wed, Apr 7, 2010 at 6:13 PM, Seth Falcon s...@userprimary.net wrote: On 4/7/10 1:09 AM, Christophe Genolini wrote: Hi all, I define a S4 class 'foo'. I define '[' and '[-' for it. I do not want to export foo, so I do not put it in NAMESPACE. I do not want to export '[' and '[-' either