[Rd] ignorant question about Roxy- mode in ESS

From: Ben Bolker <bbolker_at_gmail.com>
Date: Tue, 31 Jan 2012 18:25:21 -0500

  I am slowly getting up to speed/being dragged into using Roxygen in a project. I'm wondering if there's a way to emulate the behaviour of C-c C-p (Rd-preview-help) in Rd-mode (create a preview in a new Emacs buffer in "R Help Preview" mode), but from an Roxygen chunk. In Roxy-mode there is C-c C-e C-t (ess-proxy-preview-HTML), which works to preview the documentation derived from the current chunk, but it opens the view in a browser window instead of an Emacs buffer. (ess-proxy-preview-Rd previews the Rd file, which I find cannot be transitively run through Rd-preview-help ...)

 (update: I can get it to work if I C-u C-c C-e C-r [to create a buffer with the right name], C-x C-s [save it], *then* C-c C-p , but this (a) seems like a lot of keystrokes, (b) creates a file that I then have to go delete ...)

  Any ideas? I'm not enough of an emacs-hacker to figure out how to put these two pieces together. Perhaps I have an old ess version (5.14)?

   Ben Bolker

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue 31 Jan 2012 - 23:28:19 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 01 Feb 2012 - 04:30:12 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive