[英]tcltk in portable R
I am using portable R and I want to try the sqldf
package a bit, I can load the sqldf
package, but running a sql statement and gives me this message:
> sqldf("select * from BOD where Time > 4")
Loading required package: tcltk
Loading Tcl/Tk interface ...Error : .onLoad failed in loadNamespace() for 'tcltk', details:
call: NULL
error: Tcl/Tk support files were not installed
Error: require(tcltk) is not TRUE
我一直在寻找解决方案,但大多数人建议我安装 R,这是不可能的,因为我使用的是便携式 R。
我能做些什么? 谢谢。
为 Windows 安装 R 2.13.1,将~/R-2.13.1/Tcl
文件夹复制到~\R-Portable\App\R-2.11.1
和~/R-2.13.1/library/tcltk
文件夹到~/R-Portable/App/Data/library
我试过了,它有效。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.