[ESS] M-n s is undefined
Kasper Daniel Hansen
k@@perd@n|e|h@n@en @end|ng |rom gm@||@com
Wed Jul 13 18:05:45 CEST 2016
I was stumped by this for a bit.
In polymode terms: "exporting" is generating the final PDF. "weaving" is
generating the latex document which is later turned into the pdf. For you
application you want "export"
then you get asked "Choose exporter:". This is where I was stumped. Where
are my choices, and there is no default? Solution: press TAB and you'll see
a list of options. I choose Rmarkdown. Then you get asked "Export To:",
again press TAB to see choices and you want pdf
This only has to be done once per document. If you want to re-do your
then you get asked the first of the two questions "Choose exporter". The
second question you get asked when you try to run
(Comment: seems like it might be nice to have a quicker way to switch
output format, I could see myself switching that)
Result: a preview PDF inside of Emacs in my setup.
Seems pretty easy, except for the part where I have to press TAB which is
kind of obvious, but also was unexpected.
On Wed, Jul 13, 2016 at 11:39 AM, Christopher W. Ryan <cryan using binghamton.edu>
> OK, here I sit at work with an Rnw file open in emacs. I need to generate
> the corresponding pdf, with all the R code and subsequent Latex code
> executed. What keys do I press to do that?
> Vitalie Spinu wrote:
>> On Fri, Jul 01 2016 13:51, Christopher W Ryan wrote:
>> The documentation for how polymode works in ESS seems a bit thin and
>> That's partially because polymode is officially not part of ESS (only
>> part of
>> Vincent's distribution). Partially it's because there is not much to it,
>> 2 keys
>> to weave and export and 2 keys to select weaver and exporter. Often, as
>> Rmarkdown, you need to use only the export key. If you know how to use
>> then it should be immediately apparent what it does and what are those
>> asked on M-n e. It's a thin layer over Rmarkdown. So please don't ask me
>> clarify that part.
>> I am fully aware that UI part is still incomplete and configuration docs
>> missing but UI was never a priority. polymode's intent is to be a generic
>> mode engine and the weaver/exporter/evaluation thingy is one big bonus.
>> That being said, I finally see the light at the end of the tunnel because
>> core part of polymode is approaching stable state. The weaving/exporting
>> will go into a separate specialized package. Once that's done I will make
>> screen cast and detailed instructions of how to configure all stuff
>> Unfortunately integration with ESS is a tricky part. I am not sure yet
>> how to
>> properly integrate it and preserve backward compatibility of the current
> ESS-help using r-project.org mailing list
[[alternative HTML version deleted]]
More information about the ESS-help