[ESS] Does R fix() or edit() work for you these days?

Martin Maechler maechler at stat.math.ethz.ch
Fri Sep 7 14:21:42 CEST 2007


>>>>> "PJ" == Paul Johnson <pauljohn32 at gmail.com>
>>>>>     on Wed, 5 Sep 2007 15:51:44 -0500 writes:

    PJ> On Fedora 7 with emacs -22.1-1.fc7 and ESS -5.3.5, I am unable to use
    PJ> R commands edit() and fix()  on data frames.  Here is the error:


    >> fix(myimpdat)
    PJ> emacsclient: can't find socket; have you started the server?
    PJ> To start the server in Emacs, type "M-x server-start".
    PJ> emacsclient: No socket or alternate editor.  Please use:

    PJ> --socket-name
    PJ> --server-file      (or environment variable EMACS_SERVER_FILE)
    PJ> --alternate-editor (or environment variable ALTERNATE_EDITOR)
    PJ> Error in edit(name, file, title, editor) :
    PJ> problem with running editor emacsclient
    >> edit(myimpdat)
    PJ> emacsclient: can't find socket; have you started the server?
    PJ> To start the server in Emacs, type "M-x server-start".
    PJ> emacsclient: No socket or alternate editor.  Please use:

    PJ> --socket-name
    PJ> --server-file      (or environment variable EMACS_SERVER_FILE)
    PJ> --alternate-editor (or environment variable ALTERNATE_EDITOR)
    PJ> Error in edit(name, file, title, editor) :
    PJ> problem with running editor emacsclient


    PJ> If I follow these instructions to run M-x server-start, then the
    PJ> content of the data editor is shown in an Emacs buffer.

I don't see where the problem is.
Doesn't everything work after you have started the server ?


BTW: I find it "wrong by design" to use  fix() or edit().
     It's contrary to my "The Source is Real" belief system ;-)

Martin


    PJ> I start Emacs - ESS with these options. Are they the cause of my trouble?


    PJ> ;;; Set up emacs-ess for Emacs.
    PJ> ;;;
    PJ> ;;; This file is automatically loaded by emacs's site-start.el
    PJ> ;;; when you start a new emacs session.

    PJ> (require 'pc-select)
    PJ> (pc-selection-mode)

    PJ> (require 'ess-site)
    PJ> (setq inferior-ess-own-frame t)
    PJ> (setq inferior-ess-same-window nil)
    PJ> (setq ess-ask-for-ess-directory nil)

    PJ> ;;create a new frame for each help instance

    PJ> (setq ess-help-own-frame t)
    PJ> ;;If you want all help
    PJ> ;; buffers to go into one frame do:

    PJ> (setq ess-help-own-frame 'one)






    PJ> --
    PJ> Paul E. Johnson
    PJ> Professor, Political Science
    PJ> 1541 Lilac Lane, Room 504
    PJ> University of Kansas

    PJ> ______________________________________________
    PJ> ESS-help at stat.math.ethz.ch mailing list
    PJ> https://stat.ethz.ch/mailman/listinfo/ess-help




More information about the ESS-help mailing list