Skip to content

Instantly share code, notes, and snippets.

@acabangbang
Forked from alexland/package-name-expander.R
Created October 8, 2012 20:48
Show Gist options
  • Save acabangbang/3854875 to your computer and use it in GitHub Desktop.
Save acabangbang/3854875 to your computer and use it in GitHub Desktop.
for programatic update of a package--avoid having to use complete filename with version appended
install_command = paste("R --vanilla CMD install ~/'path/to/package'", system("cd ~/'path/to/package'; ls adStats*", intern=T), sep="/")
system(install_command, intern=T)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment