My error message gives me the following:

An error occurred while running: Rscript --verbose --no-save --no-restore "C:/Program Files (x86)/LyX 2.1/Resources/scripts/lyxknitr.R" "C:/Users/msl0/AppData/Local/Temp/lyx_tmpdir.FReZDFD13868/lyx_tmpbuf0/""knit... 22:31:17.653: Error while exporting format: PDF (pdflatex)



First, update LyX to 2.1.3, then follow the instructions of the solution here here.

Both of these were required on my system to evade a lock file error with the file located in Dropbox.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.