【发布时间】:2015-01-02 03:37:20
【问题描述】:
我不知道我在做什么,但我需要在我的统计类中使用 R 和 Rcmdr。我正在运行 OS X 10.7.5,对 R 使用 3.1.2。
我已经下载了R。
install.packages("Rcmdr")
选了一个镜像,下载了所有的包。然后我输入了
library(Rcmdr)
并收到此错误:
Loading required package: splines
Loading required package: RcmdrMisc
Loading required package: car
Loading required package: sandwich
Error : .onLoad failed in loadNamespace() for 'tcltk', details:
call: system2("otool", c("-L", shQuote(DLL)), stdout = TRUE)
error: error in running command
Error: package or namespace load failed for ‘Rcmdr’
sh: otool: command not found
当我这样做时:
capabilities("tcltk")
# [1] TRUE
我做错了吗?
【问题讨论】:
标签: r r-commander