![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
what is XLOC_000xxx system? | feng | Bioinformatics | 1 | 01-06-2012 08:32 AM |
EZ-Bead system | rtpon | SOLiD | 11 | 04-29-2011 12:59 PM |
Which System to use? PC vs Mac | Giles | Bioinformatics | 5 | 03-27-2011 09:28 PM |
GC bias in Solid system? | yamayaya | SOLiD | 2 | 07-28-2009 11:12 AM |
new 454 system | qinlian | 454 Pyrosequencing | 1 | 06-19-2008 06:33 PM |
![]() |
|
Thread Tools |
![]() |
#1 |
Member
Location: Boston Join Date: Jun 2012
Posts: 33
|
![]()
Hi,
For the past several days I've been fighting with R to install a software package "compcodeR". This package requires Tcl/Tk libraries be installed on the system. So I installed these libraries on our cluster (since they were not present). The install location is /usr/local/lib for Tcl/Tk 8.6. Unfortunately, R will not install the compcodeR package because it cannot detect the Tcl or Tk libraries. (Yes, the libraries exists and are functional.) Adding /usr/local/lib to the $PATH and $LD_LIBRARY_PATH env. variables made no difference. Copying the .so library files to R's lib directory --as other libraries are--made no difference. R still complains that it cannot detect the tcl/tk libraries. Has anyone else had a similar problem? Does anyone know why R cannot detect these libraries even after setting up the environment? Am I using the wrong env variable? Any help is appreciated. Thanks, Joe White MEEI Boston |
![]() |
![]() |
![]() |
#2 |
Senior Member
Location: Pathum Thani, Thailand Join Date: Nov 2009
Posts: 190
|
![]()
I think R needs to be compiled with tcl/tk already installed. Some packages need the dev version of tcl/tk and won't work with the normal version.
What does R say when you give it: capabilities("tcltk") |
![]() |
![]() |
![]() |
#3 | |
Member
Location: Boston Join Date: Jun 2012
Posts: 33
|
![]() Quote:
possibly because the shared object libraries aren't available or in the right place. This is the error returned during package installation: [...snip...] ** preparing package for lazy loading Warning: S3 methods as.character.tclObj, as.character.tclVar, as.double.tclObj, as.integer.tclObj, as.logical.tclObj, as.raw.tclObj, print.tclObj, [[.tclArray, [[<-.tclArray, $.tclArray, $<-.tclArray, names.tclArray, names<-.tclArray, length.tclArray, length<-.tclArray, tclObj.tclVar, tclObj<-.tclVar, tclvalue.default, tclvalue.tclObj, tclvalue.tclVar, tclvalue<-.default, tclvalue<-.tclVar, close.tkProgressBar were declared in NAMESPACE but not found Error : .onLoad failed in loadNamespace() for 'tcltk', details: call: fun(libname, pkgname) error: Tcl/Tk support is not available on this system ERROR: lazy loading failed for package compcodeR * removing /opt/R-3.0.2/lib64/R/library/compcodeR Warning message: In install.packages("compcodeR_1.0.0.tar.gz") : installation of package compcodeR_1.0.0.tar.gz had non-zero exit status The same error occurs if the package is installed from the command-line. Joe White |
|
![]() |
![]() |
![]() |
#4 |
Member
Location: Spain Join Date: Nov 2013
Posts: 28
|
![]()
Hello!
I know this thread is a little bit old but I've got the same error with compcodeR now. The installation seems to work well, but when I try to load the library the following error appears: sh: otool: command not found Error : .onLoad failed in loadNamespace() for 'tcltk', details: call: system2("otool", c("-L", shQuote(DLL)), stdout = TRUE) error: error in running command Do you know any trick to fix this? I've never had troubles with compcodeR before, so I'm a bit confused. It worked well until now ![]() Last edited by IsBeth; 12-01-2014 at 08:06 AM. |
![]() |
![]() |
![]() |
#5 |
Senior Member
Location: bethesda Join Date: Feb 2009
Posts: 700
|
![]()
otool is pretty much Apple Mac specific.
You need to install the developer tools to get access to otool. I'm not sure if you need Xcode, too. http://superuser.com/questions/23550...mand-not-found |
![]() |
![]() |
![]() |
Thread Tools | |
|
|