Skip to content

Instantly share code, notes, and snippets.

@codegordi
Created July 21, 2014 20:48
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save codegordi/adfe88a248c5979ebc03 to your computer and use it in GitHub Desktop.
Save codegordi/adfe88a248c5979ebc03 to your computer and use it in GitHub Desktop.
# alteRyx_install_packages.R
# > code to install packages via R Developer tool in Alteryx(R) module
# > note call to custom Alteryx-R function wrte.Alteryx()
altx.repo <- getOption("repos")
altx.repo["CRAN"] <- "http://cran.rstudio.com" # set your primary repo if you haven't already
options(repos = altx.repo)
#write.Alteryx(getOption("repos"), 1) # DEBUG
install.packages("XML")
require("XML")
rm(altx.repo)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment