7

私は ESS を使用していますが、新しいパッケージをインストールする必要があるたびに、R gui を使用する必要があります。emacsを離れずにこれを行う方法はありませんか?

4

4 に答える 4

9

からhelp(Startup):

 ## Example of Rprofile.site
 local({
   # add MASS to the default packages, set a CRAN mirror
   old <- getOption("defaultPackages"); r <- getOption("repos")
   r["CRAN"] <- "http://my.local.cran"
   options(defaultPackages = c(old, "MASS"), repos = r)
   ## (for Unix terminal users) set the width from COLUMNS if set
   cols <- Sys.getenv("COLUMNS")
   if(nzchar(cols)) options(width = as.integer(cols))
 })
于 2011-07-08T20:55:31.647 に答える
2

http://www.emacswiki.org/emacs/anything-R.el は私にとってはうまくいきます。

于 2011-07-10T12:12:46.243 に答える