How to Load R Package At Start-up of R
If you wish to load Deducer every time you start R, open Rprofile.site with notepad. It should be located in the directory: "C:\Program Files\R\R-x.x.x\etc\", then add:
local({
old <- getOption("defaultPackages")
options(defaultPackages = c(old, "Deducer","DeducerExtras"))
})
No comments:
Post a Comment