I was bitten by this problem as well a few days ago, but I forgot to
work on it. I think I have a better fix which does not involve with
copying or renaming files at all. I'll do it soon. Thanks!

Regards,
Yihui
--
Yihui Xie <xieyi...@gmail.com>
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA


On Thu, Sep 27, 2012 at 6:18 AM, Scott Kostyshak <skost...@lyx.org> wrote:
> 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. Now lyxknitr.R relies
> on 'file.copy'.
>
> Yihui, does this look OK?
>
> Note that I also changed a comment: file.rename renamed a .tex and a .R for 
> me.
>
> Thanks,
>
> Scott

Reply via email to