[Rd] heatmap without dendrogams (PR#13512)

2009-02-09 Thread j . j . goeman
Full_Name: Jelle Goeman Version: 2.8.1 OS: Win XP Submission from: (NULL) (87.212.67.197) I get the following error message when I try to make a heatmap (package stats), without the associated dendrograms. X <- matrix(rnorm(200),20,10) XX <- crossprod(X) heatmap(XX, Rowv= NA, revC=TRUE) Error in

Re: [Rd] CMD check puzzle

2009-02-09 Thread Terry Therneau
> ... you need library(survival) in R code in tests/. It doesn't happen > automatically like it does for examples. Thanks Thomas, that is exactly the hint I needed. I had read the "check" part of the manual 3 times in vain; once you pointed it out I was able to fine the answer in the ma

Re: [Rd] One more note

2009-02-09 Thread Brian D Ripley
On Mon, 9 Feb 2009, Peter Dalgaard wrote: Terry Therneau wrote: There are some warnings earlier in the log about my .Rd files (missing a description of weights and subset in a couple). The only message that I don't completely understand is * checking foreign function calls ... OK * checking

Re: [Rd] CMD check puzzle

2009-02-09 Thread Thomas Lumley
On Mon, 9 Feb 2009, Terry Therneau wrote: > tfit <- aareg(Surv(time, status) ~ x, test1) Error: could not find function "aareg" Execution halted -- The manual page aareg.Rd has a call to the function in the examples and that runs ok, and aareg is in the NAMESPACE exports. I'm

Re: [Rd] One more note

2009-02-09 Thread Peter Dalgaard
Terry Therneau wrote: > There are some warnings earlier in the log about my .Rd files (missing a > description of weights and subset in a couple). The only message that I > don't completely understand is > > * checking foreign function calls ... OK > * checking R code for possible problems ... N

[Rd] One more note

2009-02-09 Thread Terry Therneau
There are some warnings earlier in the log about my .Rd files (missing a description of weights and subset in a couple). The only message that I don't completely understand is * checking foreign function calls ... OK * checking R code for possible problems ... NOTE Error in firstlib(which.lib.lo

[Rd] CMD check puzzle

2009-02-09 Thread Terry Therneau
I am getting an error that I don't understand from R CMD check on my current instance of the survival code. R2.7.1 on Linux. Here is the last of the log * checking line endings in Makefiles ... OK * checking for portable use of $BLAS_LIBS ... OK * creating survival-Ex.R ... OK * checking exampl

Re: [Rd] Strange behavior of C compiled program

2009-02-09 Thread Duncan Murdoch
On 09/02/2009 4:05 AM, Christophe Genolini wrote: Thanks, that was a stupid mistake (I did not know that this is so important). So I still have a problem realy more complex and I do not know was is wrong. I am running a .C procedure in a R loop. After 4, 5 or sometimes 6 call to the C procedur

Re: [Rd] Strange behavior of C compiled program

2009-02-09 Thread Mathieu Ribatet
You might have a look at the "Writing R Extensions" manual - especially valgrind and/or gdb. By the way, your error is probably due to array size problem - i.e. tmp is of size n and you call tmp[n+1] for example. Valgrind will detect in automagically for you. Best, Mathieu Le lundi 09 février 20

Re: [Rd] best reference on generics

2009-02-09 Thread Martin Maechler
> "SpG" == Spencer Graves > on Mon, 02 Feb 2009 12:42:52 -0800 writes: SpG> Hello, All: What would you say is the best succinct SpG> reference to cite on use of generic functions, SpG> especially S3 generics? In a very strict sense, S3 generics don't exist; S4 ones do. L

Re: [Rd] Strange behavior of C compiled program

2009-02-09 Thread Christophe Genolini
Thanks, that was a stupid mistake (I did not know that this is so important). So I still have a problem realy more complex and I do not know was is wrong. I am running a .C procedure in a R loop. After 4, 5 or sometimes 6 call to the C procedure, Rgui crash (it closes asking me if I want to se