[ESS-bugs] ... 'edit(vignette("zoo"))' ...
Friedrich Leisch
friedrich.leisch at stat.uni-muenchen.de
Fri May 26 11:25:07 CEST 2006
>>>>> On Wed, 24 May 2006 23:26:56 +0200,
>>>>> Martin Maechler (MM) wrote:
[...]
>>> I have found it very unfortunate that those people didn't
>>> think a bit longer,
FrL> Being one of those people (and the first one as author
FrL> of edit.vignette) I must reject the subtle suggestion
FrL> that I never thought about it.
> Please apologize, Fritz, if I made it seem I meant you.
> I rather meant comments people made in mailing lists and I think
> in bioconductor courses / documents.
No worries ;-)
[...]
FrL> edit(vignette(...)) works fine for me, the only thing
FrL> that may be hard to find out for users is that you have
FrL> to press C-c C-c in the R buffer to get back to the
FrL> prompt (by default R waits for the file to be closed),
FrL> but once you have done that you can edit the vignette
FrL> code, send it line by line to R etc.
> Thanks for that: This is interesting to hear. I used to use
> the emacsclient quite a bit for a while in the past but for some
> reasons hadn't done so anymore in recent years.
> However, IIRC, edit(vignette(..)) had never worked for me (*)
> And I never started looking into it (because I typically worked
> with the *.Rnw file anyway) till yesterday when I wrote
> that e-mail.
> (*) Now that I try it at home,
> it works fine. So it's just at work where my Emacs setup seems
> screwed.
> By the way, for me (and I think by default), it's 'C-x #' and
> not C-c C-c {which would be much easier for "users" I think}
> that is needed to leave the emacsclient "server-edit" mode,
> isn't it ?
No, C-x # closes the buffer containing the file I just opened (at
least for me), but I want to keep that buffer open -> C-cC-c IN THE
*R* BUFFER will get you back to the R prompt while you still edit the
file.
[...]
> That sounds reasonable, and good to wish.
> Yes, contrary to other edit*() functions that *return*
> something, file.edit() really should behave ``asynchronously''
> to R.
OK, unfortunately the editor is called somewhere in an .Internal
function -> will have a closer look over the weekend.
.f
More information about the ESS-bugs
mailing list