Blog Archives

Leaflet: Interactive web maps with R

June 24, 2015
By
Leaflet: Interactive web maps with R

We are excited to announce that a new package leaflet has been released on CRAN. The R package leaflet is an interface to the JavaScript library Leaflet to create interactive web maps. It was developed on top of the htmlwidgets framework, which means the maps can be rendered in R Markdown (v2) documents, Shiny apps, and RStudio IDE

Read more »

DT: An R interface to the DataTables library

June 24, 2015
By
DT: An R interface to the DataTables library

We are happy to announce a new package DT is available on CRAN now. DT is an interface to the JavaScript library DataTables based on the htmlwidgets framework, to present rectangular R data objects (such as data frames and matrices) as HTML tables. You can filter, search, and sort the data in the table. See http://rstudio.github.io/DT/ for the full

Read more »

A Letter of Recommendation for Nan Xiao

November 17, 2014
By
A Letter of Recommendation for Nan Xiao

I hope my letter could boost this guy up like: I'm not sure if I'm a good observer, but time and time again I feel some people are undervalued, or they were not given better opportunities to show their value. Not surprisingly, I know quite a few such people in the Chinese R/stats community, mainly because of the...

Read more »

Shiny 0.10.2

October 2, 2014
By
Shiny 0.10.2

Shiny v0.10.2 has been released to CRAN. To install it: install.packages('shiny') This version of Shiny requires R 3.0.0 or higher (note the current version of R is 3.1.1). R 2.15.x is no longer supported. Here are the most prominent changes: File uploading via fileInput() now works for Internet Explorer 8 and 9. Note, however, that IE 8/9 do not

Read more »

Shiny 0.10.1

July 31, 2014
By
Shiny 0.10.1

Shiny v0.10.1 has been released to CRAN. You can either install it from a CRAN mirror, or update it if you have installed a previous version. install.packages('shiny', repos = 'http://cran.rstudio.com') # or update your installed packages # update.packages(ask = FALSE, repos = 'http://cran.rstudio.com') The most prominent change in this patch release is that we added full

Read more »

A Few Notes on UseR! 2014

July 25, 2014
By
A Few Notes on UseR! 2014

It has been a month since the UseR! 2014 conference, and I'm probably the last one who writes about it. UseR! is my favorite conference because it is technical and not too big. I have completely lost interest in big and broad conferences like JSM (to me, it has become Joint Sightseeing Meetings). Karl has written two blog posts...

Read more »

library() vs require() in R

July 25, 2014
By
library() vs require() in R

While I was sitting in a conference room at UseR! 2014, I started counting the number of times that require() was used in the presentations, and would rant about it after I counted to ten. With drums rolling, David won this little award (sorry, I did not really mean this to you). Ladies and gentlemen, I've said this before:...

Read more »

R Markdown v2

June 18, 2014
By
R Markdown v2

People rarely agree on a best authoring tool or language. Some people cannot live without \LaTeX{} because of the beauty and quality of its PDF output. Some \feel{} \uncomfortable{} \with{} \backslashes{}, and would rather live in another World Word. We have also witnessed the popularity of Markdown, an incredibly simple language (seriously? a LANGUAGE?) that has made reproducible research much easier.

Read more »

Markdown or LaTeX?

October 19, 2013
By
Markdown or LaTeX?

What happens if you ask for too much power from Markdown? R Markdown is one of the document formats that knitr supports, and it is probably the most popular one. I have been asked many times about the choice between Markdown and LaTeX, so I think I'...

Read more »

Testing R Packages

September 29, 2013
By

This guy th3james claimed Testing Code Is Simple, and I agree. In the R world, this is not anything new. As far as I can see, there are three schools of R users with different testing techniques: tests are put under package/tests/, and a foo-test.Rout.save from R CMD BATCH foo-test.R; testing is done by comparing foo-test.Rout from R CMD check with your foo-test.Rout.save; R...

Read more »