[ESS] R transcript file name suffix

William McCoy wdmccoy @end|ng |rom geo@um@@@@edu
Mon Jun 1 23:06:14 CEST 2020



On 6/1/20 4:46 PM, Alex Branham via ESS-help wrote:
> On Mon 01 Jun 2020 at 14:23, William McCoy via ESS-help <ess-help using r-project.org> wrote:
>
>> (setq auto-mode-alist (append '(("\\.[Rr]t\\'" . R-transcript-mode))
>>        auto-mode-alist))
>>
>> That line no longer has any effect on ESS and my .Rt suffix no longer
>> works; ESS expects .Rout as the suffix.
>>
>> How can I customize my ESS version 18.10.3snapshot to use .Rt as my
>> transcript file name suffix?
> R-transcript-mode was renamed to ess-r-transcript-mode. You'd want to
> use:
>
> (add-to-list 'auto-mode-alist '("\\.[Rr]t" . ess-r-transcript-mode))
>
> Perhaps we should provide the old name as an obsolete alias...
>
>

Great -- that's it!  Thanks for your help.  It's probably not necessary 
to provide the old name as an alias -- I probably should have been able 
to figure that out by myself.

Thanks,
Bill



More information about the ESS-help mailing list