Le mercredi 29 août 2012 à 14:12 -0400, Stephen P. Molnar a écrit : > 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 The real problem is here: package tcltk could not be loaded correctly. Be sure Tcl is installed and in your PATH. Or are you working over SSH?
Else, this can mean that the version of R you are using was not built with Tcl/Tk support enabled, which would be a distribution bug. > 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. > > > ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.