Or type file.edit('~/.Rprofile') in R.
1 | Rprofile()
|
1 2 3 4 5 6 7 8 9 10 11 12 | # Not run
#-----------------------------------------------------------
## Type the following codes in your '.Rprofile'.
R_LIBS_USER="~/R/UserPackages"
# https://cloud.r-project.org/ is the CRAN Mirrors,
# which Automatic redirection to servers worldwide,
# currently sponsored by Rstudio.
options(repos = c(CRAN = "https://cloud.r-project.org/",
CRANextra = "http://www.stats.ox.ac.uk/pub/RWin"))
#-----------------------------------------------------------------------
# End (Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.