Skip to content

Latest commit

 

History

History
48 lines (27 loc) · 844 Bytes

README.md

File metadata and controls

48 lines (27 loc) · 844 Bytes

haoye-r-profile

R profile

Details

算是平常自己習慣 R 設定檔案,先執行 pdpkgs.R 後,再將指定放入在 安裝目錄下的 etc 目錄即可。

平常習慣使用與安裝的套件如下:

"devtools", "lattice", "GGally", "lubridate", "stringr", 

"ggplot2", "scales", "reshape2", "data.table", "coefplot", "broom"

OS

Windows

Path

C:\Program Files\R\R-x.x.x\etc

C:\Program Files\R\[R 版本]

而 Rprofile.site 中,預設的工作目錄與路徑 為 C:/rws

Rconsole 則是用於 Windows 上的 Rgui 設定。

Ubuntu

Path

/usr/lib/R/etc

Rprofile.site 中,預設的工作目錄與路徑 為 /home/[username]/rws

/home/[username]/rws

Mac

請直接在使用者目錄下建立 .Rprofile 檔案,預設的工作目錄與路徑 為 /Users/[username]/.Rprofile