[R] Problem Installing a Package
Stephen P. Molnar
s.molnar at sbcglobal.net
Wed Aug 29 20:12:38 CEST 2012
I have just installed the latest version of R on a openSUSE 12.1 system
running on an ORacle VM VirtualBox and have encountered a problem with
installing ChemometricsWithR. Here is the output:
> library("compiler")
> install.packages("ChemometricsWithR")
Installing package(s) into ‘/home/computation/R/x86_64-unknown-linux-gnu-
library/2.15’
(as ‘lib’ is unspecified)
also installing the dependency ‘TIMP’
trying URL 'http://cran.case.edu/src/contrib/TIMP_1.10.2.tar.gz'
Content type 'application/x-gzip' length 1103361 bytes (1.1 Mb)
opened URL
==================================================
downloaded 1.1 Mb
trying URL 'http://cran.case.edu/src/contrib/ChemometricsWithR_0.1.5.tar.gz'
Content type 'application/x-gzip' length 128302 bytes (125 Kb)
opened URL
==================================================
downloaded 125 Kb
* installing *source* package ‘TIMP’ ...
** package ‘TIMP’ successfully unpacked and MD5 sums checked
** libs
gcc -std=gnu99 -I/usr/local/lib64/R/include -DNDEBUG -I/usr/local/include
-fpic -g -O2 -c ntr.c -o ntr.o
gcc -std=gnu99 -shared -L/usr/local/lib64 -o TIMP.so ntr.o -
L/usr/local/lib64/R/lib -lR
installing to /home/computation/R/x86_64-unknown-linux-gnu-
library/2.15/TIMP/libs
** R
** data
** inst
** preparing package for lazy loading
Warning: S3 methods ‘$.tclvar’, ‘$<-.tclvar’, ‘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 : package ‘tcltk’ could not be loaded
ERROR: lazy loading failed for package ‘TIMP’
* removing ‘/home/computation/R/x86_64-unknown-linux-gnu-library/2.15/TIMP’
Warning in install.packages :
installation of package ‘TIMP’ had non-zero exit status
ERROR: dependency ‘TIMP’ is not available for package ‘ChemometricsWithR’
* removing ‘/home/computation/R/x86_64-unknown-linux-gnu-
library/2.15/ChemometricsWithR’
Warning in install.packages :
installation of package ‘ChemometricsWithR’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpPhC7gJ/downloaded_packages’
The openSUSE package installer didn't find a package Tcl/TK
Assistance and advice will be much appreciated.
Thanks in advance.
--
Stephen P. Molnar, Ph.D. Life is a fuzzy set
Foundation for Chemistry Stochastic and multivariate
www.FoundationForChemistry.com
(614)312-7528 (c)
Skype: smolnar1
More information about the R-help
mailing list