1
我一直在嘗試用自制R語言,但是當我安裝java程序包像iplots我收到以下錯誤:與Java支持自制軟件安裝 - [R
* installing *source* package ‘iplots’ ...
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices ...
** testing if installed package can be loaded
Note: On Mac OS X we strongly recommend using iplots from within JGR.
Proceed at your own risk as iplots cannot resolve potential ev.loop deadlocks.
'Yes' is assumed for all dialogs as they cannot be shown without a deadlock,
also ievent.wait() is disabled.
2012-01-29 16:24:57.870 R[29384:c07] Apple AWT Java VM was loaded on first thread -- can't start AWT.
Error : .onLoad failed in loadNamespace() for 'iplots', details:
call: .jnew("org/rosuda/iplots/Framework")
error: java.lang.InternalError: Can't start the AWT because Java was started on the first thread. Make sure StartOnFirstThread is not specified in your application's Info.plist or on the command line
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/Users/User/Library/R/2.14/library/iplots’
Warning in install.packages :
installation of package ‘iplots’ had non-zero exit status
ERROR: dependency ‘iplots’ is not available for package ‘JGR’
* removing ‘/Users/User/Library/R/2.14/library/JGR’
Warning in install.packages :
installation of package ‘JGR’ had non-zero exit status
有人告訴我是R需要使用以下命令安裝我不完全確定如何用自制軟件做到這一點。
我試過用這個brew install r --NOAWT=1
沒有運氣。
任何幫助將不勝感激。謝謝。
SO的外部話題;不是關於編程的問題;可能屬於superuser.com。如果您正在盜用/修改brew安裝程序並出現此錯誤,那麼問題就會適當。 – 2012-02-01 21:25:10