Blog Archives

ICU Unicode text transforms in the R package stringi

May 20, 2014
By

The ICU (International Components for Unicode) library provides very powerful and flexible ways to apply various Unicode text transforms. These include: Full (language-specific) case mappings, Unicode normalization, Text transliteration (e.g. script-to-script conversion). All of these are available to R programmers/users…Read more ›

Read more »

Counting the number of words in a LaTeX file with stringi

May 16, 2014
By
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…Read more ›

Read more »

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

May 14, 2014
By

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…Read more ›

Read more »

ShareLaTeX now supports knitr

January 31, 2014
By

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).…Read more ›

Read more »

FuzzyNumbers_0.3-3 released

January 3, 2014
By

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,…Read more ›

Read more »

FuzzyNumbers-0.3-1 released

June 23, 2013
By

A new version of the FuzzyNumbers package for R has just been submitted to the CRAN archive. Check out our step-by-step tutorial. ** FuzzyNumbers Package CHANGELOG ** ********************************************************************* 0.3-1 /2013-06-23/ * piecewiseLinearApproximation() - general case (any knot.n) for method="NearestEuclidean" now…Read more ›

Read more »

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

May 22, 2013
By

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’s an R bug (tested in R 2.15 and R…Read more ›

Read more »

Documentation of R source code for package developers

April 26, 2013
By

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…Read more ›

Read more »

knitr documents with tikzDevice graphics

April 13, 2013
By

Setting up tikzDevice output in knitr may be a frustrating task, but gives outstandingly aesthetic, LaTeX-like figures. Here are my global knitr settings for typesetting documents in Polish (in UTF-8, make sure your R also runs in a Unicode locale…Read more ›

Read more »

Configure Kile for knitr under GNU/Linux

April 13, 2013
By

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. Create a bash script in your home directory, named…Read more ›

Read more »