Skip to content

Instantly share code, notes, and snippets.

@datalove
Last active August 29, 2015 14:05
Show Gist options
  • Save datalove/0c2df4670de9fd526d98 to your computer and use it in GitHub Desktop.
Save datalove/0c2df4670de9fd526d98 to your computer and use it in GitHub Desktop.
# Use autodetected proxy settings
setInternet2(TRUE)
# Get the SpotfireSPK package from the Spotfire Stats Server
install.packages("SpotfireSPK", repos = "http://MySpotfireServer:8080/SplusServer/update/TERR")
# Get a package you want to deploy from CRAN
install.packages("nortest", repos = "http://cran.us.r-project.org")
# Create a Debian Control File
writeLines("Packages: nortest", "SpotfireSPK.dbf")
# Build the SPK to distribute to admins
SpotfireSPK::buildSPK("SpotfireSPK.dbf","SpotfireSPK.spk")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment