[Rd] debug

2009-07-27 Thread Robert Gentleman
Hi, I just committed a change to R-devel so that if debug is called on an S3 generic function, all methods will also automatically have debug turned on for them (if they are dispatched to from the generic). I hope to be able to extend this to S4 and a few other cases that are currently no

Re: [Rd] bug in approx crashes R

2009-07-27 Thread Vadim Ogranovich
Thank you Bill. The original motivation for my experiments with setting yleft to NULL was to see if I could get more flexibility that that allowed by the 'rule' argument. To recall: rule: an integer describing how interpolation is to take place outside the interval ['min(x)', 'max

Re: [Rd] bug in approx crashes R

2009-07-27 Thread William Dunlap
The C code called by approx (via .C, not .Call), following the help file, assumes that yleft and yright are scalars but NULL is not scalar. The following change would let your example work (returning NA) --- R/approx.R (revision 48911) +++ R/approx.R (working copy) @@ -61,8 +61,8 @@ }

Re: [Rd] noweb and R

2009-07-27 Thread Gregor Gorjanc
Terry Take a look in R News - there was a paper published on that topic. gg __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] How to create a permanent dataset in R.

2009-07-27 Thread Alex D'Amour
Please see http://cran.r-project.org/doc/manuals/R-exts.html. On Mon, Jul 27, 2009 at 1:50 AM, Albert EINstEIN wrote: > > Hi, >         Thanks for your valuable reply. > can you provide me some more information regarding . Here we are reloading > the data when we start the R, In R there are some d

[Rd] noweb and R

2009-07-27 Thread Terry Therneau
I'm working on the next release of coxme (ready to start some testing), and have written major chunks of it using noweb -- very similar to Sweave except I'm generating code and documentation for the code rather than vingetes. The question: I have directory with .Rnw objects and a Makefile th

[Rd] how to change FPU control word?

2009-07-27 Thread Martin Becker
Dear developers, is there (already) a platform-independent way for (temporarily!) changing the fpu control word? More precisely: I am looking for functions (accessible from C code in R packages) which read and write the fpu control word on x86 cpus (and cause no harm otherwise), because I need

[Rd] WRONG mailing list -- How to create ...

2009-07-27 Thread Martin Maechler
> "AE" == Albert EINstEIN > on Sun, 26 Jul 2009 22:50:14 -0700 (PDT) writes: PLEASE! These are typical quesions of R beginners. They do *NOT* belong to the R-devel mailing list, but rather to R-help (and even then: PLEASE do read the posting guide http://www.R-project.org/p