[Rd] UTF8 markdown vignette

2014-12-09 Thread ONKELINX, Thierry
Dear all, I'm trying to use a Markdown vignette with UTF-8 encoding. It compiles well when knitting the vignette in RStudio, but it fails to recognize the UTF-8 settings when building the source package. Can someone point out what I'm doing wrong? I tried to put the relevant information below.

Re: [Rd] UTF8 markdown vignette

2014-12-09 Thread Duncan Murdoch
On 09/12/2014, 4:48 AM, ONKELINX, Thierry wrote: > Dear all, > > I'm trying to use a Markdown vignette with UTF-8 encoding. It compiles well > when knitting the vignette in RStudio, but it fails to recognize the UTF-8 > settings when building the source package. Can someone point out what I'm >

Re: [Rd] UTF8 markdown vignette

2014-12-09 Thread ONKELINX, Thierry
Dear Duncan, The UTF-8 characters aren't properly rendered in the pdf version of the vignette. $£€ âêîûô äëïöüÿ áéíóúý àèìòù ãñ çµ is rendered as $£€ âêîûô äëïöüÿ áéà óúý à èìòù ãñçµ The same problem occurs when I use render("vignette.md", output_format = "mypackage:

Re: [Rd] UTF8 markdown vignette

2014-12-09 Thread Duncan Murdoch
On 09/12/2014, 5:19 AM, ONKELINX, Thierry wrote: > Dear Duncan, > > The UTF-8 characters aren't properly rendered in the pdf version of the > vignette. > $£€ âêîûô äëïöüÿ áéíóúý àèìòù ãñ çµ is rendered as $£€ âêîûô > äëïöüÿ áéà óúý à èìòù ãñçµ That looks as though the

[Rd] R on the Cydia Store

2014-12-09 Thread Apps Embedded
Hi, We have published an Android app called R Console on the Play Store since Décember 2013. https://play.google.com/store/apps/details?id=com.appsopensource.R https://play.google.com/store/apps/details?id=com.appsopensource.Rpremium In the mean time, we have developped its equivalent app for the

Re: [Rd] UTF8 markdown vignette

2014-12-09 Thread Yihui Xie
A few things to clarify: 1. You do not necessarily have to keep the \usepackage{} line if you use %\VignetteEncoding{UTF-8}, because Pandoc will use UTF-8 anyway in its LaTeX template. 2. Perhaps the vignette engine in R has done something clever to convert utf8 to UTF-8, but I'd recommend %\Vign

Re: [Rd] R on the Cydia Store

2014-12-09 Thread Henrik Bengtsson
On Dec 9, 2014 6:38 AM, "Apps Embedded" wrote: > > Hi, > > We have published an Android app called R Console on the Play Store since > Décember 2013. > https://play.google.com/store/apps/details?id=com.appsopensource.R > https://play.google.com/store/apps/details?id=com.appsopensource.Rpremium > >

Re: [Rd] UTF8 markdown vignette

2014-12-09 Thread Duncan Murdoch
On 09/12/2014 11:13 AM, Yihui Xie wrote: A few things to clarify: 1. You do not necessarily have to keep the \usepackage{} line if you use %\VignetteEncoding{UTF-8}, because Pandoc will use UTF-8 anyway in its LaTeX template. 2. Perhaps the vignette engine in R has done something clever to conv

Re: [Rd] UTF8 markdown vignette

2014-12-09 Thread Yihui Xie
Thanks for the kind words. Actually we have more ambitious plans than just reverse search :) Regards, Yihui -- Yihui Xie Web: http://yihui.name On Tue, Dec 9, 2014 at 11:18 AM, Duncan Murdoch wrote: > On 09/12/2014 11:13 AM, Yihui Xie wrote: >> >> Lastly, the most important piece of informatio

Re: [Rd] R on the Cydia Store

2014-12-09 Thread Duncan Murdoch
On 09/12/2014 9:38 AM, Apps Embedded wrote: Hi, We have published an Android app called R Console on the Play Store since Décember 2013. https://play.google.com/store/apps/details?id=com.appsopensource.R https://play.google.com/store/apps/details?id=com.appsopensource.Rpremium In the mean time,

Re: [Rd] R on the Cydia Store

2014-12-09 Thread Marc Schwartz
> On Dec 9, 2014, at 10:44 AM, Henrik Bengtsson wrote: > > On Dec 9, 2014 6:38 AM, "Apps Embedded" wrote: >> >> Hi, >> >> We have published an Android app called R Console on the Play Store since >> Décember 2013. >> https://play.google.com/store/apps/details?id=com.appsopensource.R >> https:

Re: [Rd] R on the Cydia Store

2014-12-09 Thread Duncan Murdoch
On 09/12/2014, 4:26 PM, Marc Schwartz wrote: > >> On Dec 9, 2014, at 10:44 AM, Henrik Bengtsson wrote: >> >> On Dec 9, 2014 6:38 AM, "Apps Embedded" wrote: >>> >>> Hi, >>> >>> We have published an Android app called R Console on the Play Store since >>> Décember 2013. >>> https://play.google.com

Re: [Rd] UTF8 markdown vignette

2014-12-09 Thread ONKELINX, Thierry
Dear Yihui, I have created a reproducible example at https://github.com/ThierryO/utf8vignette The \usepackage{} line is needed, otherwise R CMD check --as-cran will give a warning. %\VignetteEncoding{UTF-8} did not solve the problem. I use rmarkdown_0.3.11 HTML vignette is not an option as th

Re: [Rd] UTF8 markdown vignette

2014-12-09 Thread Duncan Murdoch
On 09/12/2014, 4:38 PM, ONKELINX, Thierry wrote: > Dear Yihui, > > I have created a reproducible example at > https://github.com/ThierryO/utf8vignette > > The \usepackage{} line is needed, otherwise R CMD check --as-cran will give a > warning. > %\VignetteEncoding{UTF-8} did not solve the probl

Re: [Rd] R on the Cydia Store

2014-12-09 Thread Marc Schwartz
> On Dec 9, 2014, at 3:34 PM, Duncan Murdoch wrote: > > On 09/12/2014, 4:26 PM, Marc Schwartz wrote: >> >>> On Dec 9, 2014, at 10:44 AM, Henrik Bengtsson wrote: >>> >>> On Dec 9, 2014 6:38 AM, "Apps Embedded" wrote: Hi, We have published an Android app called R Console

Re: [Rd] R on the Cydia Store

2014-12-09 Thread Apps Embedded
Hi, Thanks for your first answers. So, should we contact the R foundation team members to inform them of our project on the Android platform and on the Cydia Store ? If yes, could you give us their email please ? Or should we write to the president of the R foundation for instance ? Best regards

Re: [Rd] R on the Cydia Store

2014-12-09 Thread Marc Schwartz
Hi, I would send an introductory e-mail to: r-foundat...@r-project.org That will facilitate further discussion on the matter and additional details can be requested offline as may be needed. Be aware that none of the R Foundation members are lawyers. So wh

Re: [Rd] UTF8 markdown vignette

2014-12-09 Thread Yihui Xie
I took a look at the R source and I realized that the encoding was actually never passed to the vignette engine: https://github.com/wch/r-source/blob/e721ef5f4/src/library/tools/R/Vignettes.R#L507 Apparently only the file and quiet arguments are passed to the vignette engine. Did I miss anything?