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