我想知道The following objects are masked from XXX(position 11):每次调用attach()函数时是否有掩盖长列表输出的方法?
我试图在R中进行多次插补并安装了Amelia并试图打开AmeliaView,但它说需要tcltk包.我继续安装tcltk但错误消息弹出如下.有人能帮助我吗?
> AmeliaView()
Loading required package: tcltk
Loading Tcl/Tk interface ... Error : .onLoad failed in loadNamespace() for 'tcltk', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object '/Library/Frameworks/R.framework/Versions/2.12/Resources/library/tcltk/libs/i386/tcltk.so':
dlopen(/Library/Frameworks/R.framework/Versions/2.12/Resources/library/tcltk/libs/i386/tcltk.so, 10): Library not loaded: /usr/local/lib/libtcl8.5.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/2.12/Resources/library/tcltk/libs/i386/tcltk.so
Reason: image not found
Error in AmeliaView() : The package 'tcltk' is required
> require(tcltk2)
Loading required package: tcltk2
Loading required package: tcltk
Loading Tcl/Tk interface ... Error : .onLoad failed in loadNamespace() for 'tcltk', details:
call: dyn.load(file, …Run Code Online (Sandbox Code Playgroud) 我在R中有一个程序.有时当我保存历史记录时,它们不会写入我的历史文件.我失去了一些历史,这真的让我发疯.
关于如何避免这种情况的任何建议?
r ×3