Hi, I guess LyX should give the literate programming modules (e.g. Sweave/knitr) more time to run their code. Currently I see the time allowed is about 3 minutes, and LyX will raise an error after that. I tested it with the following chunk in Sweave:
<<>>= for (i in 1:100) { Sys.sleep(10) cat(i, "\n", file = "time.txt", append = TRUE) } @ Literate programming documents may involve with intensive computations, so it will be ideal if we have an option to ignore timeout (I did not find such an option in the preferences). 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