That is good to know. Thanks a lot for the experiment!

I need to add this approach to the manual; it is much easier (and
safer) than messing with the PATH variable directly. I often feel
extremely frustrated with instructing Windows users on how to modify
PATH.

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 Sun, Dec 4, 2011 at 6:46 PM, Jack Tanner <i...@hotmail.com> wrote:
> Yihui Xie <xie <at> yihui.name> writes:
>
>>
>> Or maybe it is easier to modify the preferences?
>> Tools-->Preferences-->Paths-->PATH prefix. I have never tried it.
>
> This works perfectly. Even better, it interpolates environment variables:
>
> Set R_HOME globally, e.g., to C:\Program Files\R\R-2.14.0
>
> Then in LyX, under Tools-->Preferences-->Paths-->PATH prefix, append
>
> ;$R_HOME\bin
>
> and "reconfigure" LyX.
>
> Proceed "preview" the PDF.
>
> Kudos!
>

Reply via email to