A Wrapper Function for Instant Package Installation / Loading
Since library() and require() only accept input with length(input) = 1 it is necessary to make repeated calls – this can be quite annoying.. So, HERE is a little wrapper function for convenient package installation / loading. It installs packages if they are missing and loads them if there were not loaded yet. I have put it to my RProfile.site so I can conveniently install / load packages with only one call and am quite content with it..
To leave a comment
for the author, please follow the link and comment on his blog: theBioBucket*
offers daily e-mail updates
news and tutorials
on topics such as: visualization (ggplot2
), programming (RStudio
, Web Scraping
) statistics (regression
, time series
) and more...
If you got this far, why not subscribe for updates
from the site? Choose your flavor: e-mail
, or facebook