Re: [Rd] [FORGED] [R] R cairo_pdf function does not respect plotting boundaries

2019-03-04 Thread Paul Murrell
Hi (cc'ed to r-devel where further discussion should probably take place) Thanks Lee. I see that problem. There is a "+ 1" in the Cairo device code for setting the clipping region (https://github.com/wch/r-source/blob/ba600867f2a94e46cf9eb75dc8b37f12b08a4561/src/library/grDevices/src/cairo/cai

Re: [Rd] Should CRAN accept packages with non-R code that transcompiles into R code?

2019-03-04 Thread Gabriel Becker
Abs (?), I have thought about and have (somewhere "up near the top" of my todo list) prototyping a preprocessor for R, and I have relevant code that emits (transpiles, in a way) structured comments into S4 code in https://github.com/gmbecker/S4Coffee. All that said, until/unless the preprocessor

[Rd] Should CRAN accept packages with non-R code that transcompiles into R code?

2019-03-04 Thread Abs Spurdle
It may be possible to create an R-like programming language that transcompiles into R code (or otherwise constructs R objects and calls R functions). I'm not sure whether it would pass R check or not, I will probably try... But the bigger question is: Should CRAN accept packages written in such a

[Rd] Fwd: Package inclusion in R core implementation

2019-03-04 Thread J C Nash
Rereading my post below, I realize scope for misinterpretation. As I have said earlier, I recognize the workload in doing any streamlining, and also the immense service to us all by r-core. The issue is how to manage the workload efficiently while maintaining and modernizing the capability. That

[Rd] R CMD build installing the package to process help pages

2019-03-04 Thread Gábor Csárdi
Dear All, If a package has dynamic manual pages (i.e. `\Sexpr{} macros), then R CMD build installs the package, and (by default) creates the PDF manual. I understand that this is needed for build-time Sexprs. Could anyone explain me why `R CMD build` needs to install the package if all the Sexpr

Re: [Rd] Package inclusion in R core implementation

2019-03-04 Thread Duncan Murdoch
On 04/03/2019 7:59 a.m., Jim Hester wrote: Conversely, what is the process to remove a package from core R? It seems to me some (many?) of the packages included are there more out of historical accident rather than any technical need to be in the core distribution. Having them as a core (or recom

Re: [Rd] Package inclusion in R core implementation

2019-03-04 Thread J C Nash
I concur with Avraham that capabilities need to be ensured e.g., in recommended packages. I should have mentioned that. My concern is that the core should be focused on the programming language aspects. The computational math and some of the more intricate data management could better be handled b

Re: [Rd] Package inclusion in R core implementation

2019-03-04 Thread Avraham Adler
On Mon, Mar 4, 2019 at 5:01 PM J C Nash wrote: > As the original coder (in mid 1970s) of BFGS, CG and Nelder-Mead in > optim(), I've > been pushing for some time for their deprecation. They aren't "bad", but > we have > better tools, and they are in CRAN packages. Similarly, I believe other > opt

Re: [Rd] Package inclusion in R core implementation

2019-03-04 Thread J C Nash
As the original coder (in mid 1970s) of BFGS, CG and Nelder-Mead in optim(), I've been pushing for some time for their deprecation. They aren't "bad", but we have better tools, and they are in CRAN packages. Similarly, I believe other optimization tools in the core (optim::L-BFGS-B, nlm, nlminb)

Re: [Rd] Package inclusion in R core implementation

2019-03-04 Thread Jim Hester
Conversely, what is the process to remove a package from core R? It seems to me some (many?) of the packages included are there more out of historical accident rather than any technical need to be in the core distribution. Having them as a core (or recommended) package makes them harder update inde

Re: [Rd] Problem with compiling OpenBLAS to work with R

2019-03-04 Thread Erin Hodgess
I actually figured it out. I went back in any changed the mean difference from 2-e12 to 5e-12. Thanks, Erin Erin Hodgess, PhD mailto: erinm.hodg...@gmail.com On Mon, Mar 4, 2019 at 2:10 AM Martin Maechler wrote: > > Erin Hodgess > > on Fri, 1 Mar 2019 12:30:35 -0700 writes: > >

Re: [Rd] stopifnot

2019-03-04 Thread Martin Maechler
> Suharto Anggono Suharto Anggono via R-devel > on Sat, 2 Mar 2019 08:28:23 + writes: > Suharto Anggono Suharto Anggono via R-devel > on Sat, 2 Mar 2019 08:28:23 + writes: > A private reply by Martin made me realize that I was wrong about > stopifnot(exprs

Re: [Rd] Problem with compiling OpenBLAS to work with R

2019-03-04 Thread Martin Maechler
> Erin Hodgess > on Fri, 1 Mar 2019 12:30:35 -0700 writes: > Yay! I re-installed everything and got through "Make > distribution"! I have one more question, please: I am > running the make check-all. I have an error at reg-1d. > It stops the process. However, the m

[Rd] Bug: as.matrix.data.frame() treats numeric vectors with "levels" attribute as factors

2019-03-04 Thread David Skalinder via R-devel
Hello, I think I've found a bug in as.matrix.data.frame().  The function's documentation says: "The method for data frames will return a character matrix if there is only atomic columns and any non-(numeric/logical/complex) column, applying as.vector to factors and format to other non-characte