[R] unable to load a library

From: Gérard Henry <Gerard.Henry_at_cmi.univ-mrs.fr>
Date: Thu, 24 Jul 2008 12:38:18 +0200


hello all,
i'm running R-2.6.1 on solaris 10 (x86). I added the package aplpack without problems, but when i try to use it, i got errors: > library(aplpack)
Loading required package: tcltk
Error in namespaceExport(ns, exports) :

   undefined exports :addTclPath, as.tclObj, is.tclObj, is.tkwin, tclfile.dir, tclfile.tail
In addition: Warning message:
S3 methods '$.tclvar', '$<-.tclvar', 'as.character.tclObj',
'as.character.tclVar', 'as.double.tclObj', 'as.integer.tclObj',
'as.logical.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' were
declared in NAMESPACE but not found
Error: package 'tcltk' could not be loaded

What are the meaning of these errors? Is there a workaround like settinfg an environment variable.

Here are the messages when i added the aplpack: R26 CMD INSTALL /local/apps/downloads/aplpack_1.1.1.tar.gz

* Installing to library '/local/henry/R/i386-pc-solaris2.10-library/2.6'
* Installing *source* package 'aplpack' ...
** R
** inst
** preparing package for lazy loading

Loading required package: tcltk
Loading Tcl/Tk interface ... done
** help
  >>> Building/Updating help pages for package 'aplpack'
      Formats: text html latex example
   aplpack.package                   text    html    latex   example
   bagplot                           text    html    latex   example
   boxplot2D                         text    html    latex   example
   faces                             text    html    latex   example
   spin3R                            text    html    latex   example
   stem.leaf                         text    html    latex   example
** building package indices ...
* DONE (aplpack)

as you can see, tcltk is loaded without problems

thanks in advance for help,

-- 
Gerard HENRY
LATP UMR6632
39, rue F. Joliot Curie
13453 MARSEILLE Cedex 13
Tel.: 04 91 11 35 53 Fax.: 04 91 11 35 52

______________________________________________
R-help_at_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.
Received on Thu 24 Jul 2008 - 10:51:19 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 24 Jul 2008 - 11:32:37 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive