r - How to install the knitr-module in Lyx 2.0.3? -


i installed lyx 2.0.3 on imac , macbook air. when trying open *.lyx document on imac following error-message:

"the module knitr has been requested document has not been found in list of available modules. if installed it, need reconfigure lyx."

on macbook air runs fine without errors.

any ideas how install knitr-module manually?

thanks

the requirement of knitr module in lyx r: have make sure executable rscript in path; can test by:

which rscript 

if see path rscript, ready go (tools-->reconfigure); otherwise have tell lyx rscript (add path path prefix):

change path in lyx

then reconfigure lyx.

you can path rscript executing in r:

r.home('bin') 

Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -