hipsteR: Learn what you missed in R as an early adopter

[This article was first published on Revolutions, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

If you learned R in its early days (say, the early 2000's or even the late 1990's) you may still be using some — ahem — old-fashioned ways to accomplish some tasks better served by newer functions and packages. To help those of us who have may missed some of R's more recent innovations, Karl Broman created hipsteR, a guide for “re-educating people who learned R before it was cool”. Some of the suggestions Karl offers:

  • The ROpenSci project provides a number of packages to download data from public repositories.
  • Use packages like dplyrreshape2lubridate and stringr for data manipulation.
  • Use knitr instead of Sweave for literate programming.
  • Consider using RStudio or Emacs+ESS as a programmers' interface to R.
  • Don't forget that in addition to packages on CRAN, there are many packages on GitHub that you can easily install with help from the devtools package.
  • You can use underscores in variable names, and = is a valid assignment operator.

Karl has many other suggestions of new functions and packages you should be using at the link below. Got any other recommendations of new and better ways of accomplishing tasks in R? Let us know if the comments.

hipsteR: re-educating people who learned R before it was cool

To leave a comment for the author, please follow the link and comment on their blog: Revolutions.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)