BooBoo <booboo <at> gforcecable.com> writes: > > > In Lyx on Windows-7 I entered the following chunk: > > <<>>= > library(MethComp) > library(mcr) > <at> > > And got the following result: > > library(MethComp) > ## Loading required package: nlme > library(mcr) > ## Error: there is no package called 'mcr' > > Note that mcr is installed and that MethComp and mcr are in the same > directory. I don't get this error when I use Lyx on Linux Mint, and this > is the only library I have encountered in R that generates this error. > Any suggestions on how to get this to work on Windows? > > Tom > > Fixed it.
In "Lyx Preferences - Path" the path to an old version of R was specified. Changing the path to the current version of R fixed the problem. Wonder why I never ran into this problem before? Tom