Blog Archives

{stargazer} package for beautiful LaTeX tables from R statistical models output

January 14, 2013
By
{stargazer} package for beautiful LaTeX tables from R statistical models output

stargazer is a new R package that creates LaTeX code for well-formatted regression tables, with multiple models side-by-side, as well as for summary statistics tables. Its latest version, released in early January 2013, can also output the content of data …Read more »

Read more »

100 most read R posts in 2012 (stats from R-bloggers) – big data, visualization, data manipulation, and other languages

January 2, 2013
By
100 most read R posts in 2012 (stats from R-bloggers) – big data, visualization, data manipulation, and other languages

R-bloggers.com is now three years young. The site is an (unofficial) online journal of the R statistical programming environment, written by bloggers who agreed to contribute their R articles to the site. Last year, I posted on the top 24...

Read more »

Generation of E-Learning Exams in R for Moodle, OLAT, etc.

December 20, 2012
By
Generation of E-Learning Exams in R for Moodle, OLAT, etc.

(Guest post by Achim Zeileis) Development of the R package exams for automatic generation of (statistical) exams in R started in 2006 and version 1 was published in JSS by Gr?n and Zeileis (2009). It was based on standalone Sweave exercises, that can be combined …Read more »

Read more »

Comparing Shiny with gWidgetsWWW2.rapache

November 12, 2012
By

(A guest post by John Verzani) A few days back the RStudio blog announced Shiny, a new product for easily creating interactive web applications (http://www.rstudio.com/shiny/). I wanted to compare this new framework to one I’ve worked on, gWidgetsWWW2.rapache – a version of …Read more »

Read more »

How to load the {rJava} package after the error “JAVA_HOME cannot be determined from the Registry”

August 7, 2012
By

In case you tried loading a package that depends on the {rJava} package (by Simon Urbanek), you might came across the following error: Loading required package: rJava library(rJava) Error : .onLoad failed in loadNamespace() for ‘rJava’, details: call: fun(libname, pkgname) …Read more »

Read more »

data.table version 1.8.1 – now allowed numeric columns and big-number (via bit64) in keys!

May 9, 2012
By

This is a guest post written by Branson Owen, an enthusiastic R and data.table user. Wow, a long time desired feature of data.table finally came true in version 1.8.1! data.table now allowed numeric columns and big number (via bit64) in …Read more »

Read more »

Speed up your R code using a just-in-time (JIT) compiler

April 10, 2012
By

This post is about speeding up your R code using the JIT (just in time) compilation capabilities offered by the new (well, now a year old) {compiler} package. Specifically, dealing with the practical difference between enableJIT and the cmpfun functions. …Read more »

Read more »

Do more with dates and times in R with lubridate 1.1.0

March 16, 2012
By

This is a guest post by Garrett Grolemund (mentored by Hadley Wickham) Lubridate is an R package that makes it easier to work with dates and times. The newest release of lubridate (v 1.1.0) comes with even more tools and …Read more »

Read more »

Printing nested tables in R – bridging between the {reshape} and {tables} packages

January 29, 2012
By
Printing nested tables in R – bridging between the {reshape} and {tables} packages

This post shows how to print a prettier nested pivot table, created using the {reshape} package (similar to what you would get with Microsoft Excel), so you could print it either in the R terminal or as a LaTeX table. This task is done by bridging between the cast_df object produced by the {reshape} package,

Read more »

Interactive Graphics with the iplots Package (from “R in Action”)

January 24, 2012
By
Interactive Graphics with the iplots Package (from “R in Action”)

(This article was first published on R-statistics blog » R, and kindly contributed to R-bloggers) The followings introductory post is intended for new users of R.  It deals with interactive visualization using R through the iplots package. This is a guest article by Dr. Robert I. Kabacoff, the founder of (one of) the first online R tutorials websites: Quick-R. Kabacoff has...

Read more »