From: Yihui Xie [xieyi...@gmail.com]
Sent: Saturday, June 02, 2012 8:39 PM
>I believe this is because R uses sQuote() to print package versions
>which introduces curly quotes (non-ASCII characters).
>Unfortunately sQuote() was hard-coded in the printing function, so
>there is no direct way to get
I believe this is because R uses sQuote() to print package versions
which introduces curly quotes (non-ASCII characters).
> packageVersion('knitr')
[1] ‘0.5’
Unfortunately sQuote() was hard-coded in the printing function, so
there is no direct way to get rid of the two curly quotes, and you
have
I cannot reproduce the problem. It compiles successfully with TeXLive
2011 under Ubuntu. Can anyone else reproduce it?
Does this happen to packageVersion() only?
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor H
From: Yihui Xie [xieyi...@gmail.com]
Sent: Saturday, June 02, 2012 8:04 PM
>I cannot reproduce the problem. It compiles successfully with TeXLive
>2011 under Ubuntu. Can anyone else reproduce it?
I am using Ubuntu (64-bit) 12.04 with TeXLive 2011 and pdflatex version:
scott@wws-1j1dnk1:~$ pdflate
LyX gives me an error when I have the R command `packageVersion` in a knitr
chunk. Attached is a mwe .lyx that gives an error for me. I get this error on
current trunk and on 2.0.3 when exporting or viewing as pdf (pdflatex).
Exporting to latex (pdflatex) and then running pdflatex manually produ