[Rd] Vignettes with missing or empty \VignetteIndexEntry:

2009-05-10 Thread Christophe Dutang
Hi, I have a problem when checking the package 'probdistr' (on probability distributions). I got this warning * checking index information ... WARNING Vignettes with missing or empty \VignetteIndexEntry: [1] probdistr-chiprobdistr-contextra probdistr-discrete [4]

[Rd] Fwd: Vignettes with missing or empty \VignetteIndexEntry:

2009-05-10 Thread Christophe Dutang
I also have another warning while checking the package * checking package vignettes in 'inst/doc' ... WARNING Package vignettes without corresponding PDF: .../code/R/probdistr/Rforge/distributions/pkg/inst/doc/probdistr- chi.Rnw

Re: [Rd] suggestion for extending ?as.factor

2009-05-10 Thread Petr Savicky
On Sat, May 09, 2009 at 10:55:17PM +0200, Martin Maechler wrote: [...] If'd revert to such a solution, we'd have to get back to Peter's point about the issue that he'd think table(.) should be more tolerant than as.character() about almost equality. For compatibility reasons, we could also

[Rd] In C, a fast way to slice a vector?

2009-05-10 Thread Saptarshi Guha
Hello, Suppose in the following code, PROTECT(sr = R_tryEval( )) sr is a RAWSXP vector. I wish to return another RAWSXP starting at position 13 onwards (base=0). I could create another RAWSXP of the correct length and then memcpy the required bytes and length to this new one. However is

Re: [Rd] In C, a fast way to slice a vector?

2009-05-10 Thread Patrick Aboyoun
Saptarshi, I know of two alternatives you can use to do fast extraction of consecutive subsequences of a vector: 1) Fast copy: The method you mentioned of creating a memcpy'd vector 2) Pointer management: Creating an externalptr object in R and manage the start and end of your data If