]> git.lyx.org Git - features.git/commit
More elegant knitr support and bug fix
authorScott Kostyshak <skostysh@lyx.org>
Sat, 6 Oct 2012 23:54:08 +0000 (19:54 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Sat, 6 Oct 2012 23:54:08 +0000 (19:54 -0400)
commit4d9f620349ce982c0509bda9475fca73fde00b97
tree2dbffbc1047f9e5226a7c63e3b154f0a7f3fa1e6
parentfcfa044614db07b74ea3dd2f50e3799d0643d295
More elegant knitr support and bug fix

Implement a more simple and elegant integration of the R package knitr. Now,
lyxknitr.R does not need to move or copy files at all.

This also fixes a bug: when /tmp was on a different file system (e.g.
encrypted home), lyxknitr.R failed to move files to /tmp because it relied on
R's 'file.rename' function, which in turn relied on the rename function in
<stdio.h>, which was failing with the EXDEV errno.

Patch from Yihui Xie.
lib/examples/knitr.lyx
lib/layouts/knitr.module
lib/scripts/lyxknitr.R
status.20x