Thanks for the hint Peter, it helps me to solve the problem.
Among the several proposals the following fixed my problem. From the terminal:
launchctl load -w /Library/LaunchAgents/org.macosforge.xquartz.startx.plist
then logged out, and back in, and that fixed my problem
Luca
On 25 Oct
Dear Mac useRs,
I have a problem with tcltk on a Mac running OSX 10.8.2 and R 2.15.1.
Using R.app GUI I got the following:
library(tcltk)
Loading Tcl/Tk interface ... done
Warning message:
In fun(libname, pkgname) :
no display name and no $DISPLAY environment variable
I was able to solve
Perhaps try the suggestions from
https://discussions.apple.com/thread/4157422?start=0tstart=0
-pd
On Oct 25, 2012, at 12:43 , Luca Scrucca wrote:
Dear Mac useRs,
I have a problem with tcltk on a Mac running OSX 10.8.2 and R 2.15.1.
Using R.app GUI I got the following:
library(tcltk)