[問題] 安裝 R 和 RStudio 的幾個問題

看板R_Language作者 (紫杉醇)時間7年前 (2016/10/02 06:59), 7年前編輯推噓1(100)
留言1則, 1人參與, 最新討論串1/1
[問題類型]: 安裝諮詢 程式諮詢 [軟體熟悉度]: 新手(沒寫過程式,R 是我的第一次) [問題敘述]: 在 2009 年中 Macbook Pro (Mac OS 10.11.6) 安裝完 R (3.3.1) 和 RStudio (0.99.903) 後 打開程式都會出現 During startup - Warning messages: 1: Setting LC_CTYPE failed, using "C" 2: Setting LC_COLLATE failed, using "C" 3: Setting LC_TIME failed, using "C" 4: Setting LC_MESSAGES failed, using "C" 5: Setting LC_MONETARY failed, using "C" [R.app GUI 1.68 (7238) x86_64-apple-darwin13.4.0] WARNING: You're using a non-UTF8 locale, therefore only ASCII characters will work. Please read R for Mac OS X FAQ (see Help) section 9 and adjust your system preferences accordingly. [History restored from /Users/xxxxxxx/.Rapp.history] 然後想要安裝一些套件比如 ggplot2 和 swirl 時 安裝完要載入時會出現: http://paste.plurk.com/show/2441693/ 這會跟我是使用中文的 Mac 有關嗎? [程式範例]: [關鍵字]: 套件, 安裝 -- -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 162.129.44.188 ※ 文章網址: https://www.ptt.cc/bbs/R_Language/M.1475362758.A.A3F.html

10/02 07:17, , 1F
這個正常。你拿警告訊息去Google即有解決方法。
10/02 07:17, 1F
感謝,看來是之前關鍵字餵太長了... 但目前使用 lobrary 後還是有 > library("ggplot2") Error in loadNamespace (j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : there is no package called ‘Rcpp’ Error: package or namespace load failed for ‘ggplot2’ 啊這個餵狗之後發現就是一步一步往回安裝更多 package 就可以解決了... 感謝各位大大QQ ※ 編輯: Paclitaxel (162.129.44.188), 10/05/2016 05:34:38
文章代碼(AID): #1Ny3_6e_ (R_Language)