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 2012, at 13:04, peter dalgaard <[email protected]> wrote: > >> Perhaps try the suggestions from >> >> https://discussions.apple.com/thread/4157422?start=0&tstart=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) >>> Loading Tcl/Tk interface ... done >>> Warning message: >>> In fun(libname, pkgname) : >>> no display name and no $DISPLAY environment variable >>> >>> I was able to solve this by running XQuartz.app before loading the tcltk >>> library. >>> However, this doesn't help if I run R from the console. Unfortunately, this >>> is needed if you want to build/check a package that requires tcltk. >>> >>> Furthermore, in the previous OSX versions I used (both Leopard and Snow >>> Leopard series) when I was in R (both on GUI or console) and I needed the >>> tcltk library, if X11 was not running the system automatically launched the >>> required application. This appears to be changed with Mountain Lion (and >>> Xquartz) but I guess the old behaviour would solve the problem mentioned >>> above. >>> >>> Thanks in advance for your help. >>> >>> Luca >>> >>> >>> -------------------------------------------------- >>> Luca Scrucca >>> Dipartimento di Economia, Finanza e Statistica >>> Sezione di Statistica >>> Università degli Studi di Perugia >>> Via A. Pascoli, 20 >>> 06123 PERUGIA (ITALY) >>> Tel. +39-075-5855233 >>> Fax: +39-075-5855950 >>> E-mail: [email protected] >>> Web page: http://www.stat.unipg.it/luca >>> -------------------------------------------------- >>> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> R-SIG-Mac mailing list >>> [email protected] >>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac >> >> -- >> Peter Dalgaard, Professor >> Center for Statistics, Copenhagen Business School >> Solbjerg Plads 3, 2000 Frederiksberg, Denmark >> Phone: (+45)38153501 >> Email: [email protected] Priv: [email protected] >> >> > > -------------------------------------------------- > Luca Scrucca > Dipartimento di Economia, Finanza e Statistica > Sezione di Statistica > Università degli Studi di Perugia > Via A. Pascoli, 20 > 06123 PERUGIA (ITALY) > Tel. +39-075-5855233 > Fax: +39-075-5855950 > E-mail: [email protected] > Web page: http://www.stat.unipg.it/luca > -------------------------------------------------- > > > > > > > -------------------------------------------------- Luca Scrucca Dipartimento di Economia, Finanza e Statistica Sezione di Statistica Università degli Studi di Perugia Via A. Pascoli, 20 06123 PERUGIA (ITALY) Tel. +39-075-5855233 Fax: +39-075-5855950 E-mail: [email protected] Web page: http://www.stat.unipg.it/luca --------------------------------------------------
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
