Reputation: 1
I'm trying to run the fit.cont function of the rriskDistributions package over a vector of data. However, the result is:
library(rriskDistributions)
sales <-
c(2, 4, 5, 10, 9)
data <-
fit.cont(sales)
Error in fit.cont(sales) :
Tcl package "Tktable" required. Please install it.
Además: Warning message:
In tcltk::tclRequire("Tktable") : Tcl package 'Tktable' not found
Apparently, with the version 4.0, R doesn't install Tktable like in the previous versions.
Is there any way to fix this problem without having to get back to the previous version of R?
Upvotes: 0
Views: 557
Reputation: 152
Please see this response to a similar question: https://stackoverflow.com/a/34357481/11761901
Per my own testing version 2.10 is now available.
addTclPath('/usr/local/lib/Tktable2.10')
tclRequire('Tktable')
<Tcl> 2.10
Upvotes: 0