Problems installing Bio3d in R

Issue #264 resolved
Sofia Caria created an issue

I have installed R from SBGRID (https://www.sbgrid.org/) unfortunately the software is not able to connect to CRAN giving the following error message:

Error: .onLoad failed in loadNamespace() for 'tcltk', details: call: fun(libname, pkgname) error: Can't find a usable init.tcl in the following directories: /programs/i386-mac/tcltk/8.4.19.1/lib/tcl8.4 /programs/i386-mac/tcltk/8.4.19.1/lib/tcl8.6 /usr/local/lib/tcl8.6 ./lib/tcl8.6 ./lib/tcl8.6 ./library ./library ./tcl8.6.0/library ./tcl8.6.0/library

/programs/i386-mac/tcltk/8.4.19.1/lib/tcl8.4/init.tcl: version conflict for package "Tcl": have 8.6.0, need exactly 8.4 version conflict for package "Tcl": have 8.6.0, need exactly 8.4 while executing "package require -exact Tcl 8.4" (file "/programs/i386-mac/tcltk/8.4.19.1/lib/tcl8.4/init.tcl" line 19) invoked from within "source /programs/i386-mac/tcltk/8.4.19.1/lib/tcl8.4/init.tcl" ("uplevel" body line 1) invoked from within "uplevel #0 [list source $tclfile]"

From the error message it looks that I have an incompatible Tcl version. Is that the problem? Can somebody give a hand on how to overcome it? Thanks in advance.

Comments (5)

  1. Lars Skjærven

    Hi Sofia, It certainly looks like a tcl problem and I'm not sure how to resolve this. Which OS are you working on?

    You can always download bio3d from https://bitbucket.org/Grantlab/bio3d/downloads, and do a R CMD INSTALL bio3d_2.2-2.tar.gz, but I would certainly recommend getting access to CRAN as installation of various other packages will be much easier for you.

  2. Barry Grant

    It sounds like your R configuration is not quite correct and I suggest you post this the the SBGrid forums as there might be deeper issues here: https://sbgrid.org/help/forum/

    The other option is to go for a regular R install from the R project itself: https://www.r-project.org and see if that can access CRAN for you.

  3. Log in to comment