[Rd] Conversion for Date to POSIXct : Small Bug in as.POSIXct.Date() ?

2014-07-31 Thread Lizee, Antoine
Hi all, It's my first post on r-devel, I saw on SO that it the best way to notify small bugs/potential improvements. It seems that it would be nice to be able to pass the classic conversion arguments (like the time zone "tz = ...") to the internal .POSIXct() when calling as.POSIXct.Date() : >

Re: [Rd] Interface between R and a Open Load Flow tool (Gridlabd or OpenDSS)

2014-07-31 Thread Tom Short
It's certainly possible. The best approach depends mainly on how tightly you need to bind to input and output data and how much of the internals you need to access. Here are a couple of approaches that I've used with OpenDSS: * Batch mode -- Generate inputs, run OpenDSS (or Gridlab-D), then read t

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