Re: [Rd] edit(vignette(...))

From: <>
Date: Tue 22 Mar 2005 - 17:15:48 GMT

>>>>> On Sun, 20 Mar 2005 11:52:11 -0500, >>>>> Paul Gilbert (PG) wrote:

> I have been looking at edit(vignette(...)) in r-devel, which I think
> will be really useful for people working through vignettes. Is there a
> way to fork the editor so that the R prompt is returned?
> The call seems
> to be passed though to edit.file, but I don't see any simple way to get
> the prompt back until the editor is closed. (I seem to recall there was
> a problem with the prompt returning too soon from some
> time ago.)

On windows it does work, if you use the default internal editor. I played a little bit with file.edit on Unix, but the problem is that you know much less about the system, a lot of shells and editors could possibly be involved ... maybe there is a simple solution, but I failed to see it back then. Probably file.edit() could do with a "background" argument.

> I also noticed that many (most?) packages have a vignette with the same
> name as the package. Is this considered the standard now?

No, probably most authors are to lazy too invent another name, and of course it also makes it easier for the user to remember the name of the vignette ... but we have not written down any standard.

.f mailing list Received on Wed Mar 23 04:17:29 2005

This archive was generated by hypermail 2.1.8 : Mon 24 Oct 2005 - 22:26:31 GMT