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.
What can I do? Thanks.
tcltk
package may be missing from your installation. The project page on Sourceforge that you link to contains hardly any information. I suggest you contact the software authors for help. – Vassilicapabilities()
inside a running R session. See if tcl-tk is supported with your build. If it isn't, speak to the Portable R people about getting it part of the package - it is generally expected that core and recommended packages are include in R distributions (but not enforced). If it is listed in capabailities, then something is not allowing sqldf to find the tcl-tk libraries/functions. – Sternwheeler