Re: [Rd] Newbie Rccp module question. "Failed to initialize module pointer"???

2011-02-17 Thread Dirk Eddelbuettel
Hi Andre, Please consider posting on rcpp-devel for Rcpp-related questions. On 17 February 2011 at 10:29, Andre Zege wrote: | Hi all. I started looking at Rcpp, which looks pretty great, actually. At the | moment just trying to compile a module to get a feel how it all works without | fully un

[Rd] S3/S4/NAMESPACE

2011-02-17 Thread Paul Gilbert
In one package (pk1) I define some S3 generics and methods. In pk2 I extend the methods to some S4 objects following the description in ?Methods, with setMethod() and setGeneric() either explicit or implicit (tried both). I export the S3 generic and methods from pk1 NAMESPACE and the S4 from

[Rd] Newbie Rccp module question. "Failed to initialize module pointer"???

2011-02-17 Thread Andre Zege
Hi all. I started looking at Rcpp, which looks pretty great, actually. At the moment just trying to compile a module to get a feel how it all works without fully understanding how all the pieces fit together. Basically, i took the first example from Rcpp modules vignette: fun.cpp ==

Re: [Rd] Rd2pdf error in R12.0

2011-02-17 Thread Prof Brian Ripley
I think you are decades in the future. We are on R 2.12.x in 2011. It seems that you don't have texi2dvi installed. Either install it (it may part of the TeX or texinfo distributions) or set options(texi2dvi='') (see ?tools::texi2dvi and ?EnvVar). 'Tis also discussed in the R-admin manual.

Re: [Rd] Rd2pdf error in R12.0

2011-02-17 Thread Gong-Yi Liao
If you're using Debian, ubuntu or any other Debian-based Linux distribution, run sudo apt-get install texinfo On Thu, Feb 17, 2011 at 12:07 PM, Terry Therneau wrote: > On the local machine the command R11 CMD Rd2pdf survfit.Rd works fine. > R12

[Rd] Rd2pdf error in R12.0

2011-02-17 Thread Terry Therneau
On the local machine the command R11 CMD Rd2pdf survfit.Rd works fine. R12 CMD Rd2pdf survfit.Rd fails with the message below. Converting Rd files to LaTeX ... survfit.Rd Creating pdf output from LaTeX ... Error in texi2dvi("Rd2.tex", pdf = (out_ext == "pdf"), quiet = FALSE, : Running '

[Rd] Dependencies problem

2011-02-17 Thread robin hankin
Dear List I am developing a package which needs another package purely for one of the datasets it uses. What is Best Practice for doing this? Simply including it in the Dependencies: list in the DESCRIPTION file is giving me curious errors from R CMD check or R CMD INSTALL: Error in code2LazyLo