ESS "hacks" for some MacOS X versions [forwarded]

Martin Maechler maechler at stat.math.ethz.ch
Wed Nov 5 09:55:26 CET 2003


This is an excerpt from a posting to the R-SIG-Mac mailing list 
that might interest Mac users of ESS :

    From: Byron Ellis <bellis at hsph.harvard.edu>
    To: Jan de Leeuw <deleeuw at stat.ucla.edu>
    Cc: statcompute at login.stat.ucla.edu, r-sig-mac at stat.math.ethz.ch
    Subject: Re: [R-SIG-Mac] R-devel update on gifi
    Date: Tue, 4 Nov 2003 22:21:04 -0500

    On Nov 4, 2003, at 9:57 PM, Jan de Leeuw wrote:

    [.......]

    > Byron Ellis has pointed out that the Carbon Emacs pty bug is also  
    > fixed, if you us the following
    > ~/.emacs.
    >
    > (setq load-path (append load-path  
    > '("/usr/local/share/emacs/site-lisp/ess-5.1.24/lisp")))
    > (require 'ess-site)
    > (setq process-connection-type 't)
    >
    > Unfortunately you cannot use X11 or Quartz from R running in Carbon  
    > Emacs (yet).
    >
    For X11 under Emacs I put this little hack in my ~/.emacs file and  
    things seem to work:

    ;;X11 hack for ESS under OSX
    (if (null (getenv "DISPLAY"))
	 (setenv "DISPLAY" ":0.0"))

    No Quartz though (Ah, for the day when I can drag my plot directly to  
    Keynote from R :-) ).

    > ----------------------------------------------------------------------- 
    > ===
    > 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 at stat.ucla.edu
    > homepage: http://gifi.stat.ucla.edu

    ---
    Byron Ellis (bellis at hsph.harvard.edu)
    "Oook" -- The Librarian

    _______________________________________________
    R-SIG-Mac mailing list
    R-SIG-Mac at stat.math.ethz.ch
    https://www.stat.math.ethz.ch/mailman/listinfo/r-sig-mac

Martin

Martin Maechler <maechler at stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO C16	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><




More information about the ESS-help mailing list