→ andrew43: 很基本的linux概念,檢查路徑 $PATH 03/12 17:01
→ andrew43: 意思是,你的系統可能有很多套R,但path優先用了舊的。 03/12 17:02
→ andrew43: 而你也可以指定路徑而指定要運作的某一套 03/12 17:04
→ andrew43: 例如輸入 /some/where/bin/R 03/12 17:05
→ celestialgod: Rscript -e "R.home()" 03/12 20:39
→ celestialgod: 看看現在的R指向哪裏... 03/12 20:39
→ celestialgod: 新裝的R多數情況下 在/usr/lib64/R裡面 03/12 20:40
→ celestialgod: M$ Open R會在/opt/microsoft裡面 03/12 20:40
→ celestialgod: 找到新R 就去把vim /usr/bin/R改成你要指向的R 03/12 20:41
→ celestialgod: 注意的是 系統是不是有其他人會用到系統預設的R... 03/12 20:41
推 KuChanTung: /usr/local/bin/R 03/12 22:14
→ bluecadence: 先在shell下指令'which R'找出你現在使用R的路徑位置 03/13 01:16
→ bluecadence: 然後cd到根目錄 'cd /' 03/13 01:17
→ bluecadence: 然後'find ./ -name 'R' -print | grep bin/R' 找出 03/13 01:17
→ bluecadence: 其他版本R的路徑。 03/13 01:18