Re: [Rd] NAMESPACE file generation issue R 2.14.0 on Debian Squeeze

2011-11-09 Thread Gabor Grothendieck
2011/11/8 Uwe Ligges : > > > On 08.11.2011 19:08, Gabor Grothendieck wrote: >> >> 2011/11/8 Uwe Ligges: >>> >>> >>> On 08.11.2011 17:56, Gabor Grothendieck wrote: 2011/11/8 Uwe Ligges: > > > On 08.11.2011 17:04, Gabor Grothendieck wrote: >> >> 2011/11/8 Uwe Ligges: >>>

Re: [Rd] NAMESPACE file generation issue R 2.14.0 on Debian Squeeze

2011-11-09 Thread Uwe Ligges
On 09.11.2011 13:52, Gabor Grothendieck wrote: 2011/11/8 Uwe Ligges: On 08.11.2011 19:08, Gabor Grothendieck wrote: 2011/11/8 Uwe Ligges: On 08.11.2011 17:56, Gabor Grothendieck wrote: 2011/11/8 Uwe Ligges: On 08.11.2011 17:04, Gabor Grothendieck wrote: 2011/11/8 Uwe Ligges: O

Re: [Rd] NAMESPACE file generation issue R 2.14.0 on Debian Squeeze

2011-11-09 Thread Gabor Grothendieck
2011/11/9 Uwe Ligges : > > > On 09.11.2011 13:52, Gabor Grothendieck wrote: >> >> 2011/11/8 Uwe Ligges: >>> >>> >>> On 08.11.2011 19:08, Gabor Grothendieck wrote: 2011/11/8 Uwe Ligges: > > > On 08.11.2011 17:56, Gabor Grothendieck wrote: >> >> 2011/11/8 Uwe Ligges: >>>

Re: [Rd] NAMESPACE file generation issue R 2.14.0 on Debian Squeeze

2011-11-09 Thread Uwe Ligges
On 09.11.2011 15:23, Gabor Grothendieck wrote: 2011/11/9 Uwe Ligges: On 09.11.2011 13:52, Gabor Grothendieck wrote: 2011/11/8 Uwe Ligges: On 08.11.2011 19:08, Gabor Grothendieck wrote: 2011/11/8 Uwe Ligges: On 08.11.2011 17:56, Gabor Grothendieck wrote: 2011/11/8 Uwe Ligges: O

Re: [Rd] NAMESPACE file generation issue R 2.14.0 on Debian Squeeze

2011-11-09 Thread Gabor Grothendieck
2011/11/9 Uwe Ligges : >>> >>> Honestly, that (svn revision) is the only part that we do not have on the >>> front pages but they are given in the log files. >> >> The R version is not on the package's CRAN page, e.g. >> http://cran.r-project.org/web/packages/sqldf/index.html  I was >> thinking of

[Rd] Define S4 methods for 'plot'

2011-11-09 Thread cgenolin
Hi the list I am creating a package and I have a problem to define a S4 method for plot. I define a class 'A' and a class 'B'. I want to define a function plot for signature c(A,missing) and another method plot for signature c(A,B). My code is the following : In /package/R/ directory: --- main.R -

[Rd] exporting isChild in package parallel

2011-11-09 Thread Michael Spiegel
I was wondering if there is any interest in making the function isChild() exported from the package parallel? This would be of great help to anyone writing R packages that use thread-level parallelism, and would like to throttle the spawning of threads whenever the R process is detected to be a chi

Re: [Rd] Define S4 methods for 'plot'

2011-11-09 Thread Kevin R. Coombes
You probably need the directive importFrom(graphics, "plot") in your NAMESPACE file. This lets the system know that you are using the same "plot" function that it already knows about. And your code should be careful not to trash a previous conversion of plot to an S4 generic function, usua

Re: [Rd] Moderating consequences of garbage collection when in C

2011-11-09 Thread dhinds
Martin Morgan wrote: > Allocating many small objects triggers numerous garbage collections as R > grows its memory, seriously degrading performance. The specific use case > is in creating a STRSXP of several 1,000,000's of elements of 60-100 > characters each; a simplified illustration understa