Modifying ess-dump-filename-template for R

Martin Maechler maechler at stat.math.ethz.ch
Tue Nov 13 08:18:26 CET 2001


>>>>> "PaCo" == Patrick Connolly <P.Connolly at hortresearch.co.nz> writes:

    PaCo> According to A.J. Rossini: |> |> >>>>> "RH" == Rich Heiberger
    PaCo> <rmh at surfer.sbm.temple.edu> writes: |> |> RH> There is no need to
    PaCo> make any changes.  When you do C-c C-d |> RH> from an *R* buffer,
    PaCo> the file comes up with a .R extension.  |> |> Part of the issue
    PaCo> might be that dumping a NULL object from S-PLUS, you |> end up
    PaCo> with a "function template", while from R, you end up with an |>
    PaCo> empty buffer.  Is this the problem, Patrick?

    PaCo> Right on.  Just after I sent that message, I noticed I hadn't
    PaCo> made that clear.  Unfortunately our email system crashed just
    PaCo> about then and I was unable to clarify.

    PaCo> There is a template file I found at one stage (but not now).  I
    PaCo> wanted that to be used.


Currently 

  (defun ess-add-MM-keys ()
    "Define \"C-c f\" and force \\[ess-toggle-underscore]."
    (interactive)
    (require 'ess-mode)
    (define-key ess-mode-map "\C-cf" 'ess-insert-function-outline))

i.e. it's   ess-insert-function-outline
that you (we) may want to use in this case.

    PaCo> Now the question is clear, we can begin.

    PaCo> Thanks



    PaCo> -- *************************************************************
    PaCo> ___ Patrick Connolly {~._.~} HortResearch Great minds discuss
    PaCo> ideas; _( Y )_ Mt Albert Average minds discuss events; (:_~*~_:)
    PaCo> Auckland Small minds discuss people.  (_)-(_) New Zealand
    PaCo> .... Anon Ph: +64-9 815 4200 x 7188
    PaCo> *************************************************************


    PaCo> ______________________________________________________ The
    PaCo> contents of this e-mail are privileged and/or confidential to the
    PaCo> named recipient and are not to be used by any other person and/or
    PaCo> organisation. If you have received this e-mail in error, please
    PaCo> notify the sender and delete all material pertaining to this
    PaCo> e-mail.  ______________________________________________________
    PaCo> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
    PaCo> ess-help mailing list -- To (un)subscribe, send subscribe or
    PaCo> unsubscribe (in the "body", not the subject !)  To:
    PaCo> ess-help-request at stat.math.ethz.ch
    PaCo> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
ess-help mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: ess-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the ESS-help mailing list