Hi Scott,

Thanks for responses.

> Look in the terminal output. It might give you the error.
> 

I cannot find a terminal output view in LyX - checked all toolbars and View 
menu.

> You could alternatively do File > Export > R/S code and then run/debug
> the resulting file in R.
> 

I tried this and after checking each line interactively in the R console and
commenting out some things in LyX files, e.g. packages that are not available in
R2.15.1, it runs through, but the LyX called Rscript does not.

> Also note that since version 0.7 :
> 
>   - when `opts_knit$get('verbose')` is TRUE, logs (messages, warnings and
>   errors) along with the corresponding R code will be printed after `knit()`
>   is done; this might help users figure out possible problems in R code
>   quickly (#276)
> 

This is a good hint, I set it with:
opts_knit$set(verbose = TRUE)

inside the first code chunk, but I assume this prints to the R console if knit()
is called interactively, doesn't it? Anyway, I do not get any feedback on where
the error comes from

Michael




Reply via email to