Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Package installer helper
for(i in 1:length(packs)){
test=packs[i] %in% rownames(installed.packages())
if(test==T){print("package already installed")}else{install.packages(packs[i])}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.