Re: [Rd] SweaveParseOptions, quoted commas, and knitr vignettes

2013-07-16 Thread Yihui Xie
Here is my understanding: Package vignettes are built through tools::buildVignettes, which first calls tools::pkgVignettes() to list the vignettes. Due to loadVignetteBuilder(dir, mustwork = FALSE) in pkgVignettes(), the vignette engine falls back to utils::Sweave if the specified vignette builder

[Rd] SweaveParseOptions, quoted commas, and knitr vignettes

2013-07-16 Thread Ben Bolker
I haven't figured it out entirely, but it looks like there are a couple of small glitches with knitr-based vignettes and SweaveParseOptions. I posted the tarball of a package with a knitr vignette with (as far as I can tell) everything properly coded in the DESCRIPTION file (VignetteBuilder:

Re: [Rd] Read a text file into R with .Call()

2013-07-16 Thread ge11232002
Hi Simon, I am sorry that for some unknown reasons I did not receive your reply on 27 June 2013 in my email boxs. I just randomly searched and read it today on Nabble. Thank you for your explaination and it really helps me to understand how the memory allocation works. One more short questions is

Re: [Rd] unmapped memory core dump with pure R program?

2013-07-16 Thread Dirk Eddelbuettel
On 14 July 2013 at 12:57, ivo welch wrote: | hi dirk---it is not 100% clear what causes it.  it is a segfault.  the bug | does not show up at the head command.  it shows up at a different place, but | removing an unrelated print(head()) command means the bug does not appear | later. | | it weighs

[Rd] Problem following an R bug fix to integrate()

2013-07-16 Thread Hans W Borchers
I have been told by the CRAN administrators that the following code generated an error on 64-bit Fedora Linux (gcc, clang) and on Solaris machines (sparc, x86), but runs well on all other systems): > fn <- function(x, y) ifelse(x^2 + y^2 <= 1, 1 - x^2 - y^2, 0) > tol <- 1.5e-8 > fy <-