Blog Archives

Sweave and pgfSweave in LyX 2.0.x (experimental)

May 25, 2011
By
Sweave and pgfSweave in LyX 2.0.x (experimental)

Please ignore this post completely, because Sweave support has become mature in LyX since 2.0.2, and I no longer plan to add the pgfSweave module in LyX. For pgfSweave users, you may consider the new knitr module (available since 2.0.3) which uses the ...

Read more »

Produce Authentic Math Formulas in R Graphics

April 30, 2011
By
Produce Authentic Math Formulas in R Graphics

I remember a few weeks ago, there was a challenge in the R-help list to make the prime symbol in R graphics. In LaTeX, we simply write $X'$ or $X^\prime$. R has a rough support for math expressions (see demo(plotmath)) and they are certainly unsatisfactory for LaTeX users. In fact we can write native LaTeX

Read more »

Produce Authentic Math Formulas in R Graphics

April 30, 2011
By
Produce Authentic Math Formulas in R Graphics

I remember a few weeks ago, there was a challenge in the R-help list to make the prime symbol in R graphics. In LaTeX, we simply write $X'$ or $X^\prime$. R has a rough support for math expressions (see demo(plotmath)) and they are certainly unsatisfac...

Read more »

New versions of GGobi and rggobi for Windows users

April 9, 2011
By

For those who have been struggling with the installation of GGobi and the rggobi package under Windows: a major update of GGobi 2.1.9 is that GTK+ has been bundled with GGobi, so the installation of GTK+ is no longer required (I recommend you to uninst...

Read more »

New versions of GGobi and rggobi for Windows users

April 8, 2011
By

or those who have been struggling with the installation of GGobi and the rggobi package under Windows: a major update of GGobi 2.1.9 is that GTK+ has been bundled with GGobi, so the installation of GTK+ is no longer required (I recommend you to uninstall it if it is not used elsewhere in your system);

Read more »

formatR update (0.1-6)

January 6, 2011
By

A new version of the formatR package is available on CRAN now (binary packages are still on the way). There are three major updates: the inline comments will also be preserved in most cases (in earlier versions, only single lines of comments are preserved) tidy.source() gained a new argument 'text' to accept a character vector

Read more »

formatR update (0.1-6)

January 6, 2011
By

A new version of the formatR package is available on CRAN now (binary packages are still on the way). There are three major updates: the inline comments will also be preserved in most cases (in earlier versions, only single lines of comments are pres...

Read more »

Customizing the Theme of Your R HTML Help

January 4, 2011
By
Customizing the Theme of Your R HTML Help

R’s default theme of the HTML help pages is too plain for me to read, but we can easily modify the theme, which is essentially a CSS file. You can find the file under: file.path(R.home('doc'), 'html', 'R.css') Simply replace this file with my version: which looks like: Of course you can design your own R.css

Read more »

Customizing the Theme of Your R HTML Help

January 4, 2011
By
Customizing the Theme of Your R HTML Help

R's default theme of the HTML help pages is too plain for me to read, but we can easily modify the theme, which is essentially a CSS file. You can find the file under: file.path(R.home('doc'), 'html', 'R.css') Simply replac...

Read more »

Happy New Year with R (2011, Fireworks!)

January 1, 2011
By
Happy New Year with R (2011, Fireworks!)

Last year I posted an animation created in R to celebrate the new year, and this year I've got a more fabulous animation (available on CRAN) The above animation comes from the demo('fireworks') in the R package animation 2.0-0. Thanks for the contri...

Read more »