Blog Archives

Counting the number of words in a LaTeX file with stringi

In my recent post I promised to present the most interesting features of the stringi package in more detail. Here's one of such jolly features. Many LaTeX users may find it very useful. Loading a text file with encoding auto-detection

Tagged with: , , , ,
Posted in Blog/LaTeX, Blog/R, Blog/R-bloggers

(String/text processing)++: stringi 0.2-3 released

A new release of the stringi package is available on CRAN (please wait a few days for Windows and OS X binary builds). stringi is a package providing (but definitely not limiting to) replacements for nearly all the character string

Tagged with: , , , ,
Posted in Blog/R, Blog/R-bloggers

ShareLaTeX now supports knitr

ShareLaTeX (click here to register a free account) is a wonderful and reliable on-line editor for writing and compiling LaTeX documents “in the cloud” as well as working together in real-time (imagine Google Docs supporting LaTeX => you get ShareLaTeX).

Tagged with: , , , ,
Posted in Blog/LaTeX, Blog/R, Blog/R-bloggers, Blog/R-knitr

FuzzyNumbers_0.3-3 released

A new release of the FuzzyNumbers package for R is now available on CRAN. The package provides S4 classes and methods to deal with Fuzzy Numbers that allow for computations of arithmetic operations, approximation by trapezoidal and piecewise linear FNs,

Tagged with: ,
Posted in Blog/News, Blog/R, Blog/R-bloggers

FuzzyNumbers-0.3-1 released

A new version of the FuzzyNumbers package for R has just been submitted to the CRAN archive. Check out our step-by-step tutorial.

Tagged with: ,
Posted in Blog/News, Blog/R, Blog/R-bloggers

Package-defined S4 generic covered by a base S3 generic in R packages

While developing our agop package I encountered some problems with calling S4 generic functions defined in the Matrix package, that were created from “base” S3 generics. I don’t know whether it is an R bug (tested in R 2.15 and

Tagged with: , , , ,
Posted in Blog/R, Blog/R-bloggers

Documentation of R source code for package developers

R package developers who use the native API written in C will surely be interested in the Roxygen-generated Documentation of R source code. The documentation is based on the SVN R-devel branch and will be updated on a monthly basis

Tagged with: , , , ,
Posted in Blog/News, Blog/R, Blog/R-bloggers

knitr documents with tikzDevice graphics

Setting up tikzDevice output in knitr may be a frustrating task, but gives outstandingly aesthetic, LaTeX-like figures.

Tagged with: , , , ,
Posted in Blog/LaTeX, Blog/R, Blog/R-bloggers, Blog/R-knitr

Configure Kile for knitr under GNU/Linux

Kile – a convenient LaTeX editor – may also be used to prepare knitr-generated reports. Here is how we may make our work much more efficient with a convenient compile-on-keypress feature.

Tagged with: , , ,
Posted in Blog/LaTeX, Blog/R-bloggers, Blog/R-knitr

Properly “internationalized” regular expressions in R

We should pay special attention to writing a truly portable code that works in the same fashion under different locales and character encodings. Currently, R has two Regex engines, ERE (via TRE) and PRE (via PCRE). What is surprising, they

Tagged with: , , , , ,
Posted in Blog/R, Blog/R-bloggers