You cannot start quartz() from the terminal window or from an X term, only from R.app. Is that what you are doing ? The older version had a Horrible Hack that made it work, which is cd /Library/Frameword/R-framework/Resources/bin sudo /Developer/Tools/Rez -t APPL Carbon.r -o R.bin Now start R from the terminal (or Xtertm or Emacs), load tcltk and you're OK. -- jan
On Apr 30, 2004, at 5:07, George W. Gilchrist wrote:
Jan, With an x11 device, the tcltk library loads fine, but after quartz(), the quartz window remains in a perpetual startup mode, greyed in the background with the notorious spinning wheel. On my old laptop installation, R.bin fires up and seems to handle the quartz stuff. That does not seem to be happening in this newer installation. Cheers, George On 4/29/04 11:02 PM, "Jan de Leeuw" <deleeuw@stat.ucla.edu> wrote:
what happens if you start with x11(display=":0") and then load tcltk ? On Apr 29, 2004, at 6:08, George W. Gilchrist wrote:
Jan, I'm sure it is something in my setup, but I am having trouble in getting a functional quartz() device up and running in your latest R build (same problem with previous). I get this error when I try to load the tcltk library:
library(tcltk)
Error in fun(...) : this isn't a Tk applicationcouldn't connect to display ":0.0" Error: .onLoad failed in loadNamespace Error in library(tcltk) : package/namespace load failed Any clues? Thanks for the great job you do making this work for us! George ================================================================== George W. Gilchrist Email #1: gwgilc@wm.edu Department of Biology, Box 8795 Email #2: kitesci@cox.net College of William & Mary Phone: (757) 221-7751 Williamsburg, VA 23187-8795 Fax: (757) 221-6483 http://gwgilc.people.wm.edu/
=== Jan de Leeuw; Professor and Chair, UCLA Department of Statistics; Editor: Journal of Multivariate Analysis, Journal of Statistical Software US mail: 8130 Math Sciences Bldg, Box 951554, Los Angeles, CA 90095-1554 phone (310)-825-9550; fax (310)-206-5658; email: deleeuw@stat.ucla.edu homepage: http://gifi.stat.ucla.edu ---------------------------------------------------------------------- -- ------------------------- No matter where you go, there you are. --- Buckaroo Banzai http://gifi.stat.ucla.edu/sounds/nomatter.au ---------------------------------------------------------------------- -- -------------------------
================================================================== George W. Gilchrist Email #1: gwgilc@wm.edu Department of Biology, Box 8795 Email #2: kitesci@cox.net College of William & Mary Phone: (757) 221-7751 Williamsburg, VA 23187-8795 Fax: (757) 221-6483 http://gwgilc.people.wm.edu/
=== Jan de Leeuw; Professor and Chair, UCLA Department of Statistics; Editor: Journal of Multivariate Analysis, Journal of Statistical Software US mail: 8130 Math Sciences Bldg, Box 951554, Los Angeles, CA 90095-1554 phone (310)-825-9550; fax (310)-206-5658; email: deleeuw@stat.ucla.edu homepage: http://gifi.stat.ucla.edu ------------------------------------------------------------------------ ------------------------- No matter where you go, there you are. --- Buckaroo Banzai http://gifi.stat.ucla.edu/sounds/nomatter.au