Hello All,
I am having a problem with loading tcl/tk particularly when using the
install.packages function on Leopard. I have custom build my binary for my
dual core leopard and use type="source" argument in install.packages. No X11
issues any where else and X11 is launching as required when install.packages
is invoked. Can somebody suggest a way to overcome this problem. I am
attaching my R transcript file for the session.
Thanks in advance, 
--
Shripad Sinari

R version 2.6.2 (2008-02-08)
Copyright (C) 2008 The R Foundation for Statistical Computing
ISBN 3-900051-07-0

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> if(!exists("baseenv", mode="function")) baseenv <- function() NULL
> options(STERM='iESS', editor='emacsclient')
> install.packages("Matching",type="source")
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... Error in dyn.load(file, ...) : 
  unable to load shared library 
'/Library/Frameworks/R.framework/Versions/2.6/Resources/library/tcltk/libs/tcltk.so':
  
dlopen(/Library/Frameworks/R.framework/Versions/2.6/Resources/library/tcltk/libs/tcltk.so,
 10): Symbol not found: _Tk_Init
  Referenced from: 
/Library/Frameworks/R.framework/Versions/2.6/Resources/library/tcltk/libs/tcltk.so
  Expected in: dynamic lookup

Error: .onLoad failed in 'loadNamespace' for 'tcltk'
> sessionInfo()
R version 2.6.2 (2008-02-08) 
i386-apple-darwin9.2.0 

locale:
en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     
> ?apropos
> apropos()
Error in stopifnot(is.character(what)) : 
  argument "what" is missing, with no default
> q()
Save workspace image? [y/n/c]: n

Process R finished at Thu Apr 17 21:51:50 2008
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to