[英]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: 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
I have looked for solutions but most of them suggest me to install R, which is not possible as I am using portable R.我一直在寻找解决方案,但大多数人建议我安装 R,这是不可能的,因为我使用的是便携式 R。
What can I do?我能做些什么? Thanks.谢谢。
install R 2.13.1 for Windows, copy ~/R-2.13.1/Tcl
folder to ~\R-Portable\App\R-2.11.1
and ~/R-2.13.1/library/tcltk
folder to ~/R-Portable/App/Data/library
为 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
I tried and it works.我试过了,它有效。
See sqldf FAQ #5请参阅sqldf 常见问题解答 #5
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.