Tag Archives: R

latexr: efficient compilation of dynamic reports integrating LaTeX and R

I have been working on the ideas and scripts introduced in this previous post. The result is a new set of scripts packaged in this latexR.tar.gz file. The main enhancements are the following: An environment can be assigned to each … Continue reading

Posted in LaTeX, literate programming, R | Tagged , , | Leave a comment

Compiling C code to be called from R
Some timings for the Fibonacci sequence

As an interpreted language, R has some limitations when it comes to racing against the clock. Calling precompiled code is a common trick to speed-up R code. Computationally intensive tasks can be implemented in a compiled language such as C. … Continue reading

Posted in performance | Tagged , , , | Leave a comment

Automatic generation of a makefile for R and LaTeX

The so-called vignettes are a useful supplemental documentation for R packages. A vignette often mixes standard text, typically formatted in LaTeX, with chunks of R code. During the process of building the vignette, the code chunks are effectively run to … Continue reading

Posted in LaTeX, literate programming, R | Tagged , , | Leave a comment