Re: [Rd] specials and ::

2024-08-27 Thread Gregory R. Warnes
How about a hybrid of “fix it up for the user” and “train the user to do it right” by checking for “survival::”, generating an informative warning message, removing it and proceeding with execution. Two birds, one stone 😊 -G -- Change your thoughts and you change the world. --Dr. Norman Vince

Re: [Rd] zapsmall(x) for scalar x

2023-12-17 Thread Gregory R. Warnes
ould make sense: >> >> zapsmall <- >> function (x, digits = getOption("digits")) >> { >>if (length(digits) == 0L) >>stop("invalid 'digits'") >>if (all(ina <- is.na(x))) >> return(x) >>mx <- max(a

Re: [Rd] Recent changes to as.complex(NA_real_)

2023-09-23 Thread Gregory R. Warnes
It sounds like we need to add arguments (with sensible defaults) to complex(), Re(), Im(), is.na.complex() etc to allow the user to specify the desired behavior. -- Change your thoughts and you change the world. --Dr. Norman Vincent Peale > On Sep 23, 2023, at 12:37 PM, Mikael Jagan wrote: >

Re: [Rd] Programming Tools CTV

2015-01-22 Thread Gregory R. Warnes
I second the motion for a Programming Tools CRAN Task View. I would also think it could contain things like Rcpp, R6, etc. -Greg > On Jan 22, 2015, at 10:20 AM, Max Kuhn wrote: > > I've had a lot of requests for additions to the reproducible research > task view that fall into a grey area (t

[Rd] Reimplement stats:::plotNode as iterative to avoid recursion limits?

2015-01-01 Thread Gregory R. Warnes
Hi All, I've gotten a number of reports from users about gplots::heatmap.2 generating 'node stack overflow' errors. As it turns out, these errors originate in stats:::plotNode, and are triggered when it is passed a dendrogram that is too deeply nested. While increasing the stack size (which i

Re: [Rd] Looking for new maintainer of orphans R2HTML SemiPar cghseg hexbin lgtdl monreg muhaz operators pamr

2014-09-07 Thread Gregory R. Warnes
And I’ll pick up hexbin. -Greg On Sep 7, 2014, at 12:17 PM, Romain Francois wrote: > I'll pick up operators. > > Le 7 sept. 2014 à 18:03, Uwe Ligges a écrit > : > >> >> >> On 05.09.2014 20:25, Greg Snow wrote: >>> Uwe, >>> >>> Have all of these packages found new maintainers? if not, wh

Re: [Rd] Reducing RAM usage using UKSM

2014-07-16 Thread Gregory R. Warnes
On Jul 16, 2014, at 9:51 AM, Prof Brian Ripley wrote: > On 16/07/2014 14:07, Gregory R. Warnes wrote: >> Hi Varadharajan, >> >> Linux uses a copy-on-write for the memory image of forked processes. > > But Linux copied it from Unix and I see no mention of Linux in t

Re: [Rd] Reducing RAM usage using UKSM

2014-07-16 Thread Gregory R. Warnes
Hi Varadharajan, Linux uses a copy-on-write for the memory image of forked processes. Thus, you may also get significant memory savings by launching a single R process, loading your large data object, and then using fork::fork() to split off the other worker process. -Greg Sent from my

Re: [Rd] type.convert and doubles

2014-04-26 Thread Gregory R. Warnes
On Apr 26, 2014, at 4:59 PM, Martin Maechler wrote: > >> I think there should be two separate discussions: > >> a) have an option (argument to type.convert and possibly read.table) to >> enable/disable this behavior. I'm strongly in favor of this. > > In my (not committed) version of R-devel

Re: [Rd] ASCIIfy() - a proposal for package:tools

2014-04-17 Thread Gregory R. Warnes
Hi Arni, I’ll be glad to drop ASCIIfy into gtools. Let me know if this OK. -Greg On Apr 17, 2014, at 9:46 AM, Duncan Murdoch wrote: > Nobody else has replied to this, so I will. It's very unlikely that we would > incorporate this function into base R. For one thing, the tools package is >

Re: [Rd] R 3.1.0: 'R CMD Sweave' deletes non tex files created upon batch mode exit

2014-04-15 Thread Gregory R. Warnes
I have, at times, been a heavy user of R CMD Sweave and would prefer to see it fixed! I encountered this error while preparing notes for a guest lecture last fall, and was too busy to identify the source of the error, so worked around it (thank goodness for version control, making file resto

[Rd] type.convert and doubles

2014-04-11 Thread Gregory R. Warnes
Hi All, I see this in the NEWS for R 3.1.0: type.convert() (and hence by default read.table()) returns a character vector or factor when representing a numeric input as a double would lose accuracy. Similarly for complex inputs. This behavior seems likely to surprise users. Would it be possi

Re: [Rd] Internet error on Mac OS X 10.9 with 3.1.0 RC

2014-04-06 Thread Gregory R. Warnes
han one build now, could you, please, include > sessionInfo()? > > Thanks > Simon > > > > On Apr 5, 2014, at 1:39 PM, Gregory R. Warnes wrote: > >> >> OS X 10.9.2 >> >> R 3.1.0 RC (2014-04-04 r65373) installer from http://r.researc

Re: [Rd] Internet error on Mac OS X 10.9 with 3.1.0 RC

2014-04-06 Thread Gregory R. Warnes
han one build now, could you, please, include > sessionInfo()? > > Thanks > Simon > > > > On Apr 5, 2014, at 1:39 PM, Gregory R. Warnes wrote: > >> >> OS X 10.9.2 >> >> R 3.1.0 RC (2014-04-04 r65373) installer from http://r.researc

[Rd] Internet error on Mac OS X 10.9 with 3.1.0 RC

2014-04-05 Thread Gregory R. Warnes
OS X 10.9.2 R 3.1.0 RC (2014-04-04 r65373) installer from http://r.research.att.com Attempting to install packages yields the following: > install.packages( c('gregmisc','RUnit') ) --- Please select a CRAN mirror for use in this session --- Error in url("http://cran.r-project.org/CRAN_mirrors.c