RE: knitr problem with packageVersion R function

2012-06-02 Thread Scott Kostyshak
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:~$ pdflatex

Re: knitr problem with packageVersion R function

2012-06-02 Thread Yihui Xie
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 xieyi...@gmail.com Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State

Re: knitr problem with packageVersion R function

2012-06-02 Thread Yihui Xie
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

RE: knitr problem with packageVersion R function

2012-06-02 Thread Scott Kostyshak
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

RE: knitr problem with packageVersion R function

2012-06-02 Thread Scott Kostyshak
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:~$ pdflatex

Re: knitr problem with packageVersion R function

2012-06-02 Thread Yihui Xie
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 xieyi...@gmail.com Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State

Re: knitr problem with packageVersion R function

2012-06-02 Thread Yihui Xie
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

RE: knitr problem with packageVersion R function

2012-06-02 Thread Scott Kostyshak
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

RE: knitr problem with packageVersion R function

2012-06-02 Thread Scott Kostyshak
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:~$

Re: knitr problem with packageVersion R function

2012-06-02 Thread Yihui Xie
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

Re: knitr problem with packageVersion R function

2012-06-02 Thread Yihui Xie
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

RE: knitr problem with packageVersion R function

2012-06-02 Thread Scott Kostyshak
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