3
我不知道我在做什麼,但我需要使用R和Rcmdr作爲我的統計類。我運行OS X 10.7.5,使用3.1.2 R.Rcmdr錯誤:.onLoad loadNamespace()for'tcltk'失敗
我已經下載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
難道我做錯了什麼?