#' Creat '.Rprofile'
#'
#' @description Or type file.edit('~/.Rprofile') in R.
#' @examples
#'
#' # 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)
#'
#' @export
#'
Rprofile <- function(){
file.edit('~/.Rprofile')
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.