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

May 30, 2014
By

(This article was first published on Revolutions, and kindly contributed to R-bloggers)

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 on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Sponsors

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)