便携式R中的tcltk [英] tcltk in portable R
本文介绍了便携式R中的tcltk的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用便携式R ,我想尝试一下sqldf
包,我可以加载sqldf
程序包,但运行sql语句并显示以下消息:
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.
I have looked for solutions but most of them suggest me to install R, which is not possible as I am using portable 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
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
我尝试过并且有效.
这篇关于便携式R中的tcltk的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文