[R-SIG-Mac] tcltk error

Sean Davis sdavis2 at mail.nih.gov
Tue Jun 12 11:56:01 CEST 2007


Matthew Fero wrote:
> I know other have brought up tcltk issues in the past, but I hadn't  
> encountered them until I installed the most recent version of R.app  
> (with the R-2.5.0.dmg).  The issue arises when I try to load the  
> Bioconductor "marray" package:
> 
>  > library(marray)
> Loading required package: tkWidgets
> Loading required package: widgetTools
> Loading required package: tcltk
> Loading Tcl/Tk interface ... Error in fun(...) : couldn't connect to  
> display ":0"
> Error : .onLoad failed in 'loadNamespace' for 'tcltk'
> Error: package 'tcltk' could not be loaded
> 
> Curiously, the error does not occur in X11, and it also does not  
> occur in R.app if X11 is running simultaneously.

The tcltk package uses the X11 windowing system to work.  That is why
you do not see the error if X11 is running.  You already have the
fix--start X11 before using tcltk.

Sean



More information about the R-SIG-Mac mailing list