Commit Graph

2 Commits

Author SHA1 Message Date
Scott Kostyshak
4d9f620349 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.
2012-10-06 19:54:08 -04:00
Jean-Marc Lasgouttes
881d6bc268 backport support for knitr
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40684 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-28 10:50:12 +00:00