Rprofile: Creat '.Rprofile'

Description Usage Examples

Description

Or type file.edit('~/.Rprofile') in R.

Usage

1

Examples

 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)

PhDMeiwp/basicPackages documentation built on May 28, 2019, 5:35 p.m.