[R-SIG-Mac] Tcl/Tk problem

stefano iacus stefano.iacus at unimi.it
Thu May 5 18:09:00 CEST 2005


Did you configure tcltk inside the unix dir? i.e. tcltk-xxx/unix
stefano
On 05/mag/05, at 08:29, Penelope Bryant wrote:

> I'm having a problem loading Tcl/Tk in R. Mac OS X, R 2.1.0, Tcl/Tk 
> 8.4.9. Tcl/Tk was installed from source in /usr/local/. When building 
> Tk from source, the X11 static library could not be found, so 
> -L/usr/X11R6/lib/" was added to the Makefile which solved the problem. 
> Running X11, then R, typing Sys.putenv("DISPLAY"=":0") as suggested in 
> the R for Mac FAQ and then trying to load Tcl/Tk produced the 
> following error message:
> >  Sys.putenv("DISPLAY"=":0")
> > library(tcltk)
> Loading Tcl/Tk interface ... Error in fun(...) : this isn't a Tk 
> applicationcouldn't connect to display ":0"
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
> Error: .onLoad failed in 'loadNamespace' for 'tcltk'
> Error: package/namespace load failed for 'tcltk'
>
> Does anyone have any suggestions about where I might be going wrong?
>
> Penelope
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>



More information about the R-SIG-Mac mailing list