Re: [Rd] how to list external dependencies (i.e., non-R packages)?

2014-07-14 Thread Michael Lawrence
One idea is to wrap system libraries in R packages. This is what Martin did for zlib with zlibbioc. That's feasible for a tiny library like zlib; for other things this approach would not be feasible. For imlib2 and imagemagick, it might be. Someone has to maintain it, and there would need to be car

Re: [Rd] cummax / cummin for complex numbers

2014-07-14 Thread Michael Haupt
.. spot on. :-) Apologies for not having been more "pointy" about the problem - this just confirms it *is* kind of subtle. :-) Best, Michael Am 14.07.2014 um 17:18 schrieb Duncan Temple Lang : > I believe Michael's point is that the error messages > are incorrect - referring to cunmax when cu

Re: [Rd] cummax / cummin for complex numbers

2014-07-14 Thread Marc Schwartz
Ah! That was not clear and this early on a Monday morning, insufficient caffeine levels are common. :-) I can confirm that this is still an issue in 3.1.1, which is a version newer than what Michael is running and the current stable release. They appear to be still reversed in the current SVN

Re: [Rd] cummax / cummin for complex numbers

2014-07-14 Thread Duncan Temple Lang
I believe Michael's point is that the error messages are incorrect - referring to cunmax when cunmin was called and vice verse. D. On 7/14/14, 8:14 AM, Ben Bolker wrote: > Michael Haupt oracle.com> writes: > >> >> Dear all, >> >> in R 3.1.0, this is happening: >> >>> cummin(c(1+1i,2-3i,4+5i))

Re: [Rd] cummax / cummin for complex numbers

2014-07-14 Thread Ben Bolker
Michael Haupt oracle.com> writes: > > Dear all, > > in R 3.1.0, this is happening: > > > cummin(c(1+1i,2-3i,4+5i)) > Error in cummin(c(1 + (0+1i), 2 - (0+3i), 4 + (0+5i))) : > 'cummax' not defined for complex numbers > > cummax(c(1+1i,2-3i,4+5i)) > Error in cummax(c(1 + (0+1i), 2 - (0+3i),

Re: [Rd] cummax / cummin for complex numbers

2014-07-14 Thread Marc Schwartz
On Jul 14, 2014, at 9:53 AM, Michael Haupt wrote: > Dear all, > > in R 3.1.0, this is happening: > >> cummin(c(1+1i,2-3i,4+5i)) > Error in cummin(c(1 + (0+1i), 2 - (0+3i), 4 + (0+5i))) : > 'cummax' not defined for complex numbers >> cummax(c(1+1i,2-3i,4+5i)) > Error in cummax(c(1 + (0+1i), 2

Re: [Rd] proposed change of check message when VIgnetteBuilder package is not declared as a dependency

2014-07-14 Thread Brian Diggs
On 7/11/2014 4:49 PM, Dan Tenenbaum wrote:> Hi, > > I notice in R-3.1.1, if a package specifies a VignetteBuilder (such > as knitr) in its DESCRIPTION file, butdoes not also depend on the > specified package (in either Depends, Imports, or Suggests), that R > CMD check will say: > > * checking pac

[Rd] cummax / cummin for complex numbers

2014-07-14 Thread Michael Haupt
Dear all, in R 3.1.0, this is happening: > cummin(c(1+1i,2-3i,4+5i)) Error in cummin(c(1 + (0+1i), 2 - (0+3i), 4 + (0+5i))) : 'cummax' not defined for complex numbers > cummax(c(1+1i,2-3i,4+5i)) Error in cummax(c(1 + (0+1i), 2 - (0+3i), 4 + (0+5i))) : 'cummin' not defined for complex number

Re: [Rd] Error in compactPDF/find_gs_cmd or documentation?

2014-07-14 Thread Henrik Bengtsson
Seems related to: https://stat.ethz.ch/pipermail/r-devel/2012-May/064213.html Henrik On Jul 14, 2014 10:45 AM, "Jon Olav Skoien" wrote: > > I am using tools::compactPDF for reducing the size of some pdf-files > with GhostScript. I had some trouble in the beginning as the > documentation seems n

[Rd] Error in compactPDF/find_gs_cmd or documentation?

2014-07-14 Thread Jon Olav Skoien
I am using tools::compactPDF for reducing the size of some pdf-files with GhostScript. I had some trouble in the beginning as the documentation seems not to match the usage of the function. For GhostScript, one has to set the argument gs_cmd, which has the following description: gs_cmd - Chara