作者Paclitaxel (紫杉醇)
看板R_Language
标题[问题] 安装 R 和 RStudio 的几个问题
时间Sun Oct 2 06:59:08 2016
[问题类型]:
安装谘询
程式谘询
[软体熟悉度]:
新手(没写过程式,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://webptt.com/cn.aspx?n=bbs/R_Language/M.1475362758.A.A3F.html
1F:推 andrew43: 这个正常。你拿警告讯息去Google即有解决方法。 10/02 07:17
感谢,看来是之前关键字喂太长了...
但目前使用 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