Re: [Rd] single quotes in strings, example block

2014-07-31 Thread Marc Schwartz
On Jul 31, 2014, at 4:55 AM, Duncan Murdoch wrote: > On 31/07/2014, 4:27 AM, Adrian Dușa wrote: >> Dear R-devel, >> >> In the example block of the documentation for a package, I need to use >> a single quote in a string: >> >>foo <- "Don't know" >> >> After building the package, it gets p

Re: [Rd] single quotes in strings, example block

2014-07-31 Thread Adrian Dușa
On Thu, Jul 31, 2014 at 2:01 PM, Duncan Murdoch wrote: > On 31/07/2014, 6:40 AM, Adrian Dușa wrote: >> [...] > Okay, now I see it in the PDF output of R CMD Rd2pdf on MacOS. > > This is an Inconsolata font issue. If you look at the .tex file > (available with "R CMD Rd2pdf --no-clean") you'll se

Re: [Rd] single quotes in strings, example block

2014-07-31 Thread Duncan Murdoch
On 31/07/2014, 6:40 AM, Adrian Dușa wrote: > On Thu, Jul 31, 2014 at 12:55 PM, Duncan Murdoch > wrote: >> On 31/07/2014, 4:27 AM, Adrian Dușa wrote: >>> Dear R-devel, >>> [...] >> >> I don't see this. Can you give more details, i.e. R version, how you >> printed it, etc.? >> >> It may be that you

Re: [Rd] single quotes in strings, example block

2014-07-31 Thread Adrian Dușa
On Thu, Jul 31, 2014 at 12:55 PM, Duncan Murdoch wrote: > On 31/07/2014, 4:27 AM, Adrian Dușa wrote: >> Dear R-devel, >> [...] > > I don't see this. Can you give more details, i.e. R version, how you > printed it, etc.? > > It may be that you're not using an ascii single quote character, your > e

Re: [Rd] single quotes in strings, example block

2014-07-31 Thread Duncan Murdoch
On 31/07/2014, 4:27 AM, Adrian Dușa wrote: > Dear R-devel, > > In the example block of the documentation for a package, I need to use > a single quote in a string: > > foo <- "Don't know" > > After building the package, it gets printed as: > > foo <- "Dont know" I don't see this. Can

[Rd] single quotes in strings, example block

2014-07-31 Thread Adrian Dușa
Dear R-devel, In the example block of the documentation for a package, I need to use a single quote in a string: foo <- "Don't know" After building the package, it gets printed as: foo <- "Dont know" I read the "Writing R Extensions" and "Parsing Rd files" from top to bottom, but didn