Hello everyone, I am trying to use the package geoR and after installing it from the cran repository i cannot load it, then I tried downloading it via the source package still cant load.
here is my error message:
library(geoR)
Error: package or namespace load failed for ‘geoR’:
.onLoad failed in loadNamespace() for 'tcltk', details:
call: fun(libname, pkgname)
error: Can't find a usable init.tcl in the following directories:
/builddir/vendor/build/lib/tcl8.6 ./lib/tcl8.6 ./lib/tcl8.6 ./library ./library ./tcl8.6.9/library ./tcl8.6.9/libraryThis probably means that Tcl wasn't installed properly.
I am on ubuntu 20.04 and am using Microsoft R open 3.5. I am almost certain the problem is something related to how rstudio is running R.
When I installed and loaded the package from the terminal it can successfully load the r package, and run an rscript using the geoR library.
The R version I am using does have tcltk capabilities.
Any help is appreciated this is very frustrating, especially since I am able to get the libraries to load in R from terminal.