[ESS] knitr and ESS

Vitalie Spinu spinuvit at gmail.com
Sun Oct 11 16:59:21 CEST 2015


Could you provide the full backtrace (M-x toggle-debug-on-error). Maybe I can
figure it out from there.

>> On Sun, Oct 11 2015 14:21, ottorino wrote:

> It seems that the functions were loaded from .emacs.d/elpa/polymode...

There might be multiple versions of polymode in elpa dir ... and sometimes emacs
doesn't pick the most recent one. You need to delete all from there manually. I
would not trust emacs package manager for that.

> (setq load-path
>       (append '("/home/ottorino/Documenti/BitBucket/polymode/"
> "/home/ottorino/Documenti/BitBucket/polymode/modes")
>               load-path))
> (require 'poly-R)
> (require 'poly-markdown)

> 3) retry the knitting the file to html output

You cannot knit into html. .Rmd will be knitted into .md then you can export
into html.


  Vitalie



More information about the ESS-help mailing list