Re: [Rd] New version of Rtools for Windows

2015-01-09 Thread Henric Winell
On 2015-01-08 02:31, Duncan Murdoch wrote: On 07/01/2015 5:20 PM, Jeroen Ooms wrote: On Wed, Jan 7, 2015 at 8:00 AM, Duncan Murdoch murdoch.dun...@gmail.com wrote: This version includes only minor updates to the tools. I indicated last summer that I was hoping to update GCC from the

Re: [Rd] RFC: getifexists() {was [Bug 16065] exists ...}

2015-01-09 Thread Martin Maechler
Martin Maechler maech...@stat.math.ethz.ch on Fri, 9 Jan 2015 14:00:38 +0100 writes: Michael Lawrence lawrence.mich...@gene.com on Thu, 8 Jan 2015 14:02:26 -0800 writes: On Thu, Jan 8, 2015 at 11:57 AM, luke-tier...@uiowa.edu wrote: On Thu, 8 Jan 2015, Michael Lawrence

Re: [Bioc-devel] Announcing Docker containers for Bioconductor

2015-01-09 Thread Dan Tenenbaum
- Original Message - From: Dan Tenenbaum dtene...@fredhutch.org To: Elena Grassi grass...@gmail.com Cc: bioc-devel@r-project.org Sent: Thursday, January 8, 2015 10:18:50 AM Subject: Re: [Bioc-devel] Announcing Docker containers for Bioconductor - Original Message -

Re: [Rd] RFC: getifexists() {was [Bug 16065] exists ...}

2015-01-09 Thread Peter Haverty
Fantastic. I'm eager to try it out. Thanks for seeing this through. Regards, Pete Peter M. Haverty, Ph.D. Genentech, Inc. phave...@gene.com On Fri, Jan 9, 2015 at 7:37 AM, Martin Maechler maech...@stat.math.ethz.ch wrote: Martin Maechler maech...@stat.math.ethz.ch

Re: [Rd] unloadNamespace

2015-01-09 Thread Gabriel Becker
Paul, In the version of R I had trivially available, the flushSession function from switchr seems to perform as expected when tseries is loaded. library(tseries) library(tseries) ‘tseries’ version: 0.10-32 ‘tseries’ is a package for time series analysis and computational finance.

Re: [Rd] New version of Rtools for Windows

2015-01-09 Thread Duncan Murdoch
On 09/01/2015 10:56 AM, Henric Winell wrote: On 2015-01-08 02:31, Duncan Murdoch wrote: On 07/01/2015 5:20 PM, Jeroen Ooms wrote: On Wed, Jan 7, 2015 at 8:00 AM, Duncan Murdoch murdoch.dun...@gmail.com wrote: This version includes only minor updates to the tools. I indicated last

Re: [Rd] unloadNamespace

2015-01-09 Thread Winston Chang
It's probably because the first thing that unloadNamespace does is this: ns - asNamespace(ns, base.OK = FALSE) If you call asNamespace(tseries), it calls getNamespace(tseries), which has the side effect of loading that package (and its dependencies). One way to work around this is to check

Re: [Rd] unloadNamespace

2015-01-09 Thread Paul Gilbert
Thanks Winston. That seems like a workaround that might be usefully included into unloadNamespace. Paul On 15-01-09 12:09 PM, Winston Chang wrote: It's probably because the first thing that unloadNamespace does is this: ns - asNamespace(ns, base.OK = FALSE) If you call

Re: [Rd] RFC: getifexists() {was [Bug 16065] exists ...}

2015-01-09 Thread Peter Haverty
Here are some quick measurements of Martin's accomplishment with get0: In loading the package GenomicRanges, 30K calls to exists have been skipped. (However 99K still remain!) Overall, the current usage of get0 seems to save us 10% in package loading time (no error bars on that measurement).

Re: [Rd] RFC: getifexists() {was [Bug 16065] exists ...}

2015-01-09 Thread Hervé Pagès
Hi, On 01/08/2015 07:02 AM, Martin Maechler wrote: Adding an optional argument to get (and mget) like val - get(name, where, ..., value.if.not.found=NULL ) (*) would be useful for many. HOWEVER, it is possible that there could be some confusion here: (*) can give a NULL because either x

[Rd] as.hexmode(big number) fails in R-3.1.2

2015-01-09 Thread William Dunlap
There was recently a discussion here on how to tell if a number was integral. Did that prod someone into change as.hexmode in R-3.1.2 so that it aborts if given a number to big to fit into a 32-bit integer? It returned NA, with two warnings in R-3.1.1. % R-3.1.2 --quiet --vanilla

[Rd] Cost of garbage collection seems excessive

2015-01-09 Thread Nathan Kurz
When doing repeated regressions on large data sets, I'm finding that the time spent on garbage collection often exceeds the time spent on the regression itself. Consider this test program which I'm running on an Intel Haswell i7-4470 processor under Linux 3.13 using R 3.1.2 compiled with ICPC

Re: [Rd] latex warning

2015-01-09 Thread Gábor Csárdi
Thanks for the answers, Travis CI indeed uses an outdated system, but I actually use my own recent TeXLive installation on it, exactly because of this reason (and because I want to avoid sudo). Obviously, there is something wrong with this installation, but I am puzzled by not seeing any LaTeX

Re: [Rd] latex warning

2015-01-09 Thread Dirk Eddelbuettel
On 9 January 2015 at 11:46, Martin Maechler wrote: | (I've seen .. but not investigated other cases where Travis | would barf about things that were fine for me). I often file that under Travis has a screw loose for sticking with Ubuntu 12.04. It's a fantastic service, but it has its warts.

Re: [Rd] RFC: getifexists() {was [Bug 16065] exists ...}

2015-01-09 Thread Martin Maechler
Michael Lawrence lawrence.mich...@gene.com on Thu, 8 Jan 2015 14:02:26 -0800 writes: On Thu, Jan 8, 2015 at 11:57 AM, luke-tier...@uiowa.edu wrote: On Thu, 8 Jan 2015, Michael Lawrence wrote: If we do add an argument to get(), then it should be named consistently

Re: [Rd] latex warning

2015-01-09 Thread Martin Maechler
Gábor Csárdi csardi.ga...@gmail.com on Thu, 8 Jan 2015 17:18:27 -0500 writes: Dear all, I am getting an R CMD check warning about the PDF manual. I am having a hard time finding out what is wrong, here is the log of the Rd2pdf call. The full check (and other) log is at