[Rd] problem plotting "ts" in a data.frame

2016-02-09 Thread Spencer Graves
Hello: I'm having trouble plotting an object of class "ts" that is in a data.frame. I can do it with(data.frame, plot(...)) but not with plot(..., data.frame); see the example below. This work around gets me past this problem. However, I thought the R Core team might want to

Re: [Rd] build fails with --enable-strict-barrier

2016-02-09 Thread coypu
Hi, I'm very new here and unfamiliar with R. However, I feel like I can still provide some input. This is a bug, it must not use DATAPTR. Perhaps this is a suitable replacement for these instances: xd = x[1]; A safer temporary option is to drop this flag. I am unsure whether that is acceptable t

Re: [Rd] Typo in C++11 Section of Writing R Extensions

2016-02-09 Thread Martyn Plummer
Yes you are quite correct and this is the right place for reporting errors in the manuals. I have fixed it. Martyn From: R-devel on behalf of Jonathan Lisic Sent: 09 February 2016 20:31 To: r-devel@r-project.org Subject: [Rd] Typo in C++11 Section of Wri

[Rd] Typo in C++11 Section of Writing R Extensions

2016-02-09 Thread Jonathan Lisic
Hi, I was reading through the R extensions website and noticed that the example code at the end of the section makes references to CXX11XSTD and CXX11XFLAGS, shouldn’t these be CXX1XSTD and CXX1XFLAGS respectfully? (on the second and fourth line) CXX1X=`"${R_HOME}/bin/R" CMD config CXX11X` CXX1X

[Rd] Minor portability patch

2016-02-09 Thread coypu
Hi, I've used the following patch First because re-defining strtoi is a problem, and it's named Strtoi elsewhere. Second because that is the sole use of strtoi that isn't Strtoi. Third, use = instead of ==, which is bash-specific. Additionally I must note there are a number of tests in configure.

Re: [Rd] inconsistency in treatment of USE.NAMES argument

2016-02-09 Thread Martin Maechler
> Hervé Pagès > on Mon, 8 Feb 2016 10:48:50 -0800 writes: > Hi, > Both vapply() and sapply() support the 'USE.NAMES' argument. According > to the man page: > USE.NAMES: logical; if ‘TRUE’ and if ‘X’ is character, use ‘X’ as >‘names’ for the result unless it ha