Re: [Rd] Calloc : syntax error

2006-04-13 Thread Martin Maechler
, and Happy Easter (to all in the audience), Martin Maechler, ETH Zurich __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Wishlist: 'quietly' argument for .onAttach() / .First.li b()

2006-04-13 Thread Martin Maechler
AndyL == Liaw, Andy [EMAIL PROTECTED] on Thu, 13 Apr 2006 15:41:27 -0400 writes: AndyL From: Bill Dunlap On Thu, 13 Apr 2006, Prof Brian Ripley wrote: On Thu, 13 Apr 2006, Peter Ruckdeschel wrote: Hi R-devels, in Writing R extensions as well

[Rd] Attaching Files for the mailing lists

2006-04-18 Thread Martin Maechler
such as *.c files --- as long as you (i.e. your e-mail client) use content-type: text/plain. Martin Maechler, ETH Zurich (Mailman manager for the R mailing lists) __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R 2.3.0: Use of NULL as an environment is deprecated

2006-04-25 Thread Martin Maechler
BernPf == Pfaff, Bernhard Dr [EMAIL PROTECTED] on Tue, 25 Apr 2006 16:47:59 +0100 writes: BernPf Pfaff, Bernhard Dr. wrote: Dear R-Devel subscriber, first, let me express my thank to the R-Core team for the new release! BernPf I appreciate their efforts and

Re: [Rd] R 2.3.0: Use of NULL as an environment is deprecated

2006-04-26 Thread Martin Maechler
BernPf == Pfaff, Bernhard Dr [EMAIL PROTECTED] on Wed, 26 Apr 2006 08:28:34 +0100 writes: BernPf Dear Andy, Uwe and remaining list subscribers, BernPf now, coming closer to the evil's root. Yesterday, I source compiled on a BernPf Linux box at home and the result is the same

Re: [Rd] example(ask = .) - default ?

2006-05-01 Thread Martin Maechler
= FALSE' would also want 'ask = FALSE'. Comments? Martin == Martin Maechler [EMAIL PROTECTED] on Mon, 1 May 2006 14:11:59 +0200 writes: FrPi == François Pinard [EMAIL PROTECTED] on Thu, 27 Apr 2006 17:15:29 -0400 writes: FrPi [Romain Francois] [...] it would be useful

Re: [Rd] Including a single function from a package

2006-05-05 Thread Martin Maechler
Seth == Seth Falcon [EMAIL PROTECTED] on Fri, 05 May 2006 07:56:02 -0700 writes: Seth Prof Brian Ripley [EMAIL PROTECTED] writes: On Fri, 5 May 2006, Ken Kelley wrote: Thank you both very much for your quick and helpful responses. I added Imports: MASS,

Re: [Rd] str() with attr(*, names) is extremely slow for long vectors

2006-05-08 Thread Martin Maechler
reveal were the culprits lie. This shouldn't be too hard to improve, I'm having a look. Martin Maechler, ETH Zurich s - 1:1000; names(s) - s system.time(str(s)) HenrikB Named int [1:1000] 1 2 3 4 5 6 7 8 9 10 ... HenrikB - attr(*, names)= chr [1:1000] 1 2 3 4 ... HenrikB [1

[Rd] combn(n, k, ...) and all its re-inventions

2006-05-09 Thread Martin Maechler
generators {as mentioned above} which is needed for larger k. Opinions ? Martin Maechler, ETH Zurich __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] RFC: log='z' for image, contour, persp?

2006-05-10 Thread Martin Maechler
Duncan == Duncan Murdoch [EMAIL PROTECTED] on Tue, 09 May 2006 18:41:09 -0400 writes: Duncan I've been thinking of adding the possibility of Duncan including z among the axes to be logged in image, Duncan contour, and persp. In the first two, it would only Duncan affect

Re: [Rd] str() with attr(*, names) is extremely slow for long vectors

2006-05-13 Thread Martin Maechler
Gerhard == Gerhard Thallinger [EMAIL PROTECTED] on Sat, 13 May 2006 12:54:10 +0200 writes: HenrikB == Henrik Bengtsson (max 7Mb) [EMAIL PROTECTED] on Fri, 5 May 2006 11:58:19 -0700 writes: But have you looked at R 2.3.0-patched at all? I did acknowledge that str(long character) had

Re: [Rd] R CMD SHLIB

2006-05-17 Thread Martin Maechler
to compiler / linker hmm, or maybe not, since the question quickly become *which* are passed to compiler and which to linker (and which to both ?) ... Martin Maechler, ETH Zurich __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [Rd] S4 classes and C

2006-05-19 Thread Martin Maechler
Seth == Seth Falcon [EMAIL PROTECTED] on Thu, 18 May 2006 12:22:36 -0700 writes: Seth Ross Boylan [EMAIL PROTECTED] writes: Is there any good source of information on how S4 classes (and methods) work from C? Hmm, yes; there's nothing in the Writing R Extensions manual, and

Re: [Rd] Suggesting changes to HELP files?

2006-05-22 Thread Martin Maechler
Gabor == Gabor Grothendieck [EMAIL PROTECTED] on Sun, 21 May 2006 13:49:54 -0400 writes: Gabor On 5/21/06, Spencer Graves [EMAIL PROTECTED] wrote: Hi, Gabor: Thanks. My initial failed attempt to add to R wiki generated the following two questions: 1.

Re: [Rd] typo in ?dimnames

2006-05-27 Thread Martin Maechler
Tobias == Tobias Verbeke [EMAIL PROTECTED] on Fri, 26 May 2006 16:42:24 +0200 writes: Tobias Dear list, Tobias In ?dimnames, section `Value' I read: Tobias For the 'data.frame' method both dimnames must be non-null, and Tobias the rownames must be contain no duplicates nor

Re: [Rd] Editing a package with a NAMESPACE in place

2006-06-06 Thread Martin Maechler
Seth == Seth Falcon [EMAIL PROTECTED] on Tue, 06 Jun 2006 07:31:22 -0700 writes: Seth Sean Davis [EMAIL PROTECTED] writes: On 6/6/06 8:33 AM, Uwe Ligges [EMAIL PROTECTED] wrote: See ?assignInNamespace and ?fixInNamespace Thanks, Uwe. I should have been able

Re: [Rd] about integration of a library into package creation

2006-06-12 Thread Martin Maechler
UweL == Uwe Ligges [EMAIL PROTECTED] on Mon, 12 Jun 2006 19:48:04 +0200 writes: UweL Nicolas Turenne wrote: your answer is correct after checking some doc but examples are rare when i write in the description file Depends: R (= 2.3), quadprog, ade4, spdep

Re: [Rd] [R] zero.print in print.table after adding margins

2006-06-30 Thread Martin Maechler
== round(x)) {and then for efficiency swap the *order* of the tests inside that if(.)} which I think would be a bit more convenient and still ok (*) here. Martin Maechler, ETH Zurich (*) yes, one could then construct artificial cases where the if(.) test would ``conceptually'' be wrong

Re: [Rd] inconsistent matplot behaviour?

2006-06-30 Thread Martin Maechler
, Martin Maechler, ETH Zurich Joerg 3c3 Joerg ..., add = FALSE, verbose = getOption(verbose)) Joerg --- bg = NULL, ..., add = FALSE, verbose = getOption(verbose)) Joerg 75a76,77 if (length(bg) k) bg - rep(bg, length.out = k) Joerg 81c83,84 Joerg

Re: [Rd] Package Unit Testing

2006-07-03 Thread Martin Maechler
was it in there that was not clear enough? miguel Or do we roll out our own outside the package? Some people use the 'RUnit' package in addition or -- unfortunately -- alternatively to the official testing procedures via the ./tests directory. Martin Maechler, ETH Zurich

Re: [Rd] options(quit.with.no.save), and Windows installer changes

2006-07-04 Thread Martin Maechler
Duncan == Duncan Murdoch [EMAIL PROTECTED] on Tue, 04 Jul 2006 08:32:08 -0400 writes: Duncan I've just committed a couple of changes to R-devel related to requests Duncan at userR about the Windows installer. The first of these affects all Duncan platforms, but I've only

Re: [Rd] [R] zero.print in print.table after adding margins

2006-07-04 Thread Martin Maechler
MM == Martin Maechler [EMAIL PROTECTED] on Fri, 30 Jun 2006 17:09:32 +0200 writes: PD == Peter Dalgaard [EMAIL PROTECTED] on 29 Jun 2006 12:18:13 +0200 writes: PD BXC (Bendix Carstensen) [EMAIL PROTECTED] writes: BXC The function addmargins() adds margins to a table

[Rd] RFC: more generous print.table(*, zero.print = .) behavior

2006-07-06 Thread Martin Maechler
Hmm, I'm replying once more to myself (as popular wisdom says, talking to oneself is probably a dangerous sign of increasing mental disorder ;-() MM == Martin Maechler [EMAIL PROTECTED] on Tue, 4 Jul 2006 17:40:31 +0200 writes: MM == Martin Maechler [EMAIL PROTECTED] on Fri

[Rd] validObject() - slow down ?! [was package:Matrix handling ...]

2006-07-10 Thread Martin Maechler
[Diverted from R-help to R-devel] roger == roger koenker [EMAIL PROTECTED] on Sun, 9 Jul 2006 12:31:16 -0500 writes: roger On 7/8/06, Thaden, John J [EMAIL PROTECTED] roger wrote: As there is nothing inherent in either compressed, sparse, format that would prevent

Re: [Rd] invalid alignment error in R-2.4.0

2006-07-11 Thread Martin Maechler
I assume this is specific to your installation of R-devel (R-2.4.0 unstable). If I use your 'out', hist(out^4, col = gray) works just fine consistently. Could it be a compiler / linker mismatch on your Mac? Also, can you run under the debugger 'R -d gdb' (from a commandline) ? This

Re: [Rd] Add .git to SCM excludes for build and INSTALL scripts

2006-07-11 Thread Martin Maechler
Thank you Seth, I've committed the changes (BTW: for some reason your patch did not cleanly apply to build.in). Regards, Martin Seth == Seth Falcon [EMAIL PROTECTED] on Mon, 10 Jul 2006 12:02:32 -0700 writes: Seth Git is a source code management system like CVS, svn, arch, and

Re: [Rd] invalid alignment error in R-2.4.0

2006-07-11 Thread Martin Maechler
. In any case, let's wait for others (Mac specialists and/or other R-core members) to voice ideas. Martin Robin == Robin Hankin [EMAIL PROTECTED] on Tue, 11 Jul 2006 10:04:34 +0100 writes: Robin Hi Martin Robin On 11 Jul 2006, at 09:25, Martin Maechler wrote: I assume

Re: [Rd] Patch to allow negative argument in head() and tail()

2006-07-19 Thread Martin Maechler
FrPi == François Pinard [EMAIL PROTECTED] on Tue, 18 Jul 2006 17:41:53 -0400 writes: FrPi [Vincent Goulet] For me, this usage of head() and tail() is, at first, completely unintuitive since I more used to, say, start from the beginning (head) of the vector and drop the

[Rd] RFC: Redefining length(POSIXlt) ?

2006-07-24 Thread Martin Maechler
So I did open a new subject and move the discussion to R-devel now. MM == Martin Maechler [EMAIL PROTECTED] on Mon, 24 Jul 2006 11:46:05 +0200 writes: Gabor == Gabor Grothendieck [EMAIL PROTECTED] on Sun, 23 Jul 2006 09:02:35 -0400 writes: Gabor Looking at the diff.POSIXt

Re: [Rd] % symbol in .Rd files?

2006-07-27 Thread Martin Maechler
-- produce the problem. You could post a small tar file (mime-types 'application/x-tar' or 'application/x-compressed-tar' are accepted for R-devel) if you want. Martin Maechler, ETH Zurich __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [Rd] SystemRequirements (was DESCRIPTION and PACKAGES files )

2006-07-27 Thread Martin Maechler
'SystemRequirements' should be formatted -- maybe even accompanied by R code to parse it. That's a topic also quite well fit to be discussed in this theatre .. Martin Maechler, ETH Zurich __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [Rd] % symbol in .Rd files?

2006-07-27 Thread Martin Maechler
DoSa == Dominick Samperi [EMAIL PROTECTED] on Thu, 27 Jul 2006 07:52:36 -0400 writes: DoSa Martin Maechler wrote: DoSa == Dominick Samperi [EMAIL PROTECTED] on Mon, 24 Jul 2006 13:07:29 -0400 writes: DoSa Hello, I am encountering problems when

Re: [Rd] Any interest in merge and by implementations specifically for sorted data?

2006-07-28 Thread Martin Maechler
Kevin == Kevin B Hendricks [EMAIL PROTECTED] on Fri, 28 Jul 2006 14:53:57 -0400 writes: [.] Kevin The idea is to somehow make functions that work well Kevin over small sub- sequences of a much longer vector Kevin without resorting to splitting the vector into many

Re: [Rd] Packages not found

2013-08-29 Thread Martin Maechler
Uwe Ligges lig...@statistik.tu-dortmund.de on Thu, 29 Aug 2013 14:47:21 +0200 writes: Thanks, we know, this is work in progress. Uwe Ligges and mirrors still work, e.g., http://cran.CH.r-project.org/web/packages/ --- Martin On 29.08.2013 14:08, cstrato wrote:

Re: [Rd] R CMD check problem with R 3.0.2

2013-10-28 Thread Martin Maechler
Duncan Murdoch murdoch.dun...@gmail.com on Sun, 27 Oct 2013 08:56:31 -0400 writes: On 13-10-26 9:49 PM, Simon Urbanek wrote: On Oct 25, 2013, at 12:12 PM, Yihui Xie wrote: This has been asked s many times that I think it may be a good idea for R CMD check to

Re: [Rd] Imports, importFrom slow (for Matrix)

2013-10-30 Thread Martin Maechler
Gábor Csárdi csardi.ga...@gmail.com on Tue, 29 Oct 2013 10:31:14 -0400 writes: Oh, you mean to put Matrix:: in the functions that need Matrix, right, of course. Then yes, this could be a solution. I have some issue with some new class definitions, but I can probably work

Re: [Rd] Imports, importFrom slow (for Matrix)

2013-10-30 Thread Martin Maechler
having to change the R code inside Matrix much are highly appreciated. Martin Maechler, ETH Zurich On Tue, Oct 29, 2013 at 10:25 AM, Gábor Csárdi csardi.ga...@gmail.com wrote: Unfortunately that seems to be (almost) just as slow. ~$ time Rscript -e 'Matrix::summary; ls

Re: [Rd] cat with backspace and newline characters

2013-11-05 Thread Martin Maechler
that it adds a '\n' even when R, i.e. cat() does not. I can understand that the RStudio programmers want to protect their users (*) from getting funny looking output, but I still don't like the fact that R inside RStudio is tweaked to behave differently from regular R. Martin Maechler, R Core Team ETH

Re: [Rd] cat with backspace and newline characters

2013-11-05 Thread Martin Maechler
Brian G Peterson br...@braverock.com on Tue, 5 Nov 2013 07:30:14 -0600 writes: On 11/05/2013 07:22 AM, Martin Maechler wrote: which --- as you allude to below --- shows that RStudio has changed R in so far that it adds a '\n' even when R, i.e. cat() does

Re: [Rd] [PATCH] minor suggestions for R-ints manual

2013-11-05 Thread Martin Maechler
0.1. Scott I've used about 2001 and otherwise basically applied your patch (after checking it). Thank you very much for your contribution! Martin Maechler -- Scott Kostyshak Economics PhD Candidate Princeton University x[DELETED ATTACHMENT external: R-ints.diff.txt, plain

Re: [Rd] cat with backspace and newline characters

2013-11-05 Thread Martin Maechler
PhGr == Philippe Grosjean phgrosj...@sciviews.org on Tue, 5 Nov 2013 17:02:19 +0100 writes: PhGr On 05 Nov 2013, at 14:22, Martin Maechler PhGr maech...@stat.math.ethz.ch wrote: Kenn Konstabel lebats...@gmail.com on Tue, 5 Nov 2013 13:25:20 +0200 writes: I just

Re: [Rd] Sweave trims console output in tex mode

2014-01-03 Thread Martin Maechler
Kirill Müller kirill.muel...@ivt.baug.ethz.ch on Fri, 3 Jan 2014 02:04:06 +0100 writes: On 01/03/2014 01:59 AM, Duncan Murdoch wrote: But results=tex is not the default. Having defaults for one option depend on the setting for another is confusing, so I think the

Re: [Rd] Tab formatting in dummy.coef.R

2014-01-03 Thread Martin Maechler
. The R internal manual you mention below talks about TABs in specific places in *.Rd files only. *.R (and *.c even more) use TABs in many places, and all of R core have their Emacs / vi / ... settings accordingly. Happy New Year, indeed, to all contributors and readers of 'R-devel'! Martin -- Martin

Re: [Rd] Sweave trims console output in tex mode

2014-01-03 Thread Martin Maechler
Duncan Murdoch murdoch.dun...@gmail.com on Fri, 3 Jan 2014 05:52:27 -0500 writes: On 14-01-03 4:57 AM, Martin Maechler wrote: Kirill Müller kirill.muel...@ivt.baug.ethz.ch on Fri, 3 Jan 2014 02:04:06 +0100 writes: On 01/03/2014 01:59 AM, Duncan Murdoch wrote

Re: [Rd] file.exists does not like path names ending in /

2014-01-17 Thread Martin Maechler
may be a good place to discuss such proposals ... Martin -- Martin Maechler ETH Zurich -- and R Core Team __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R and LANGUAGE

2014-02-27 Thread Martin Maechler
: a) in spite of the above, add LANGUAGE=.. to the locale part of sessionInfo()'s result. b) A new entry LANGUAGE as part of the result. And 'b)' typically should be combined with a tweak to the print.sessionInfo() method. It could say Language for messages: instead of LANGUAGE Martin - Martin

Re: [Rd] R and LANGUAGE

2014-02-27 Thread Martin Maechler
Martin Maechler maech...@stat.math.ethz.ch on Thu, 27 Feb 2014 11:50:04 +0100 writes: Diverted from ESS-help. It is really about R's LANGUAGE, locales and then a wish for sessionInfo() : Sparapani, Rodney rspar...@mcw.edu on Thu, 20 Feb 2014 19:39:33 + writes

Re: [Rd] [PATCH] suggestions for R-lang manual

2014-03-03 Thread Martin Maechler
Scott Kostyshak skost...@princeton.edu on Thu, 27 Feb 2014 16:43:02 -0500 writes: On Thu, Nov 21, 2013 at 1:17 AM, Scott Kostyshak skost...@princeton.edu wrote: Attached is a patch with suggestions for the R-lang manual at r64277. Below are a few comments (some are

Re: [Rd] [RFC] A case for freezing CRAN

2014-03-24 Thread Martin Maechler
Hervé Pagès hpa...@fhcrc.org on Thu, 20 Mar 2014 15:23:57 -0700 writes: On 03/20/2014 01:28 PM, Ted Byers wrote: On Thu, Mar 20, 2014 at 3:14 PM, Hervé Pagès hpa...@fhcrc.org mailto:hpa...@fhcrc.org wrote: On 03/20/2014 03:52 AM, Duncan Murdoch wrote: On

Re: [Rd] ERROR: installing package indices failed message when building my package?

2014-03-24 Thread Martin Maechler
Paul Geeleher paulgeele...@gmail.com on Fri, 21 Mar 2014 14:04:29 -0500 writes: Hey all, I'm currently trying to build an R package and don't really know what to make of the error message I'm getting. I couldn't find anything helpful online so hopefully somebody here can

Re: [Rd] ERROR: installing package indices failed message when building my package?

2014-03-24 Thread Martin Maechler
Paul Geeleher paulgeele...@gmail.com on Mon, 24 Mar 2014 09:37:57 -0500 writes: Hey Martin, Thanks for your reply. I actually have documentation, but I pasted a version of the output that was created when I removed the .Rd files (as I suspected they may be causing the

Re: [Rd] ERROR: installing package indices failed message when building my package?

2014-03-25 Thread Martin Maechler
/pRRophetic' --- ERROR: package installation failed Thanks again, Paul. On Mon, Mar 24, 2014 at 9:49 AM, Martin Maechler maech...@stat.math.ethz.ch wrote: Paul Geeleher paulgeele...@gmail.com on Mon, 24 Mar 2014 09:37:57

Re: [Rd] Typeof for character vector in dataframe returns integer

2014-04-02 Thread Martin Maechler
PLEASE! All this does *not* belong to the R-devel mailing list. It is entirely apt for R-help (or similar, including stackoverflow). Please do *not* misuse R-devel for basic R questions. Martin Maechler, ETH Zurich __ R-devel@r-project.org mailing

Re: [Rd] attach() outputs messages to stdout - should it be stderr?

2014-04-07 Thread Martin Maechler
Henrik Bengtsson h...@biostat.ucsf.edu on Sun, 6 Apr 2014 21:33:15 -0700 writes: Contrary to other functions in 'base', attach() output messages to stdout instead of stdout, e.g. a - 1 capture.output(attach(list(a=1))) [1] The following object is masked _by_ .GlobalEnv:

Re: [Rd] attach() outputs messages to stdout - should it be stderr?

2014-04-09 Thread Martin Maechler
Henrik Bengtsson h...@biostat.ucsf.edu on Mon, 7 Apr 2014 08:20:27 -0700 writes: On Mon, Apr 7, 2014 at 1:40 AM, Martin Maechler maech...@stat.math.ethz.ch wrote: Henrik Bengtsson h...@biostat.ucsf.edu on Sun, 6 Apr 2014 21:33:15 -0700 writes: Contrary

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

2014-04-14 Thread Martin Maechler
, and that works fine, also in R 3.1.0, as you've already noted Martin Maechler, ETH Zurich % \documentclass[12pt]{article} \usepackage{Sweave} \begin{document} Just a simple graphic qqnorm, fig=TRUE= qqnorm(rnorm(20)) @ and that's

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

2014-04-17 Thread Martin Maechler
after running the R code by default. Martin Maechler __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Can the output of Sys.getenv() be improved?

2014-04-19 Thread Martin Maechler
William Dunlap wdun...@tibco.com on Fri, 18 Apr 2014 16:50:22 + writes: Within an R session, type Sys.getenv() will list all the environment variables, but each one of them occupies about a page, so scrolling to find one is difficult. Is this because I don't know how

Re: [Rd] type.convert and doubles

2014-04-19 Thread Martin Maechler
McGehee, Robert robert.mcge...@geodecapital.com on Thu, 17 Apr 2014 19:15:47 -0400 writes: This is all application specific and sort of beyond the scope of type.convert(), which now behaves as it has been documented to behave. That's only a true statement because the

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

2014-04-19 Thread Martin Maechler
Martin Maechler maech...@stat.math.ethz.ch on Thu, 17 Apr 2014 11:22:04 +0200 writes: [] PS: I'm currently testing a patch where 'R CMD Sweave' will revert to not deleting anything after running the R code by default. Martin Maechler Some may have noted

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

2014-04-20 Thread Martin Maechler
Marc Schwartz marc_schwa...@me.com on Sat, 19 Apr 2014 09:37:30 -0500 writes: On Apr 19, 2014, at 8:05 AM, Martin Maechler maech...@stat.math.ethz.ch wrote: Martin Maechler maech...@stat.math.ethz.ch on Thu, 17 Apr 2014 11:22:04 +0200 writes

Re: [Rd] type.convert and doubles

2014-04-22 Thread Martin Maechler
(data$n)) # 1 - Murray On Sat, Apr 19, 2014 at 10:06 AM, Simon Urbanek simon.urba...@r-project.org wrote: On Apr 19, 2014, at 9:00 AM, Martin Maechler maech...@stat.math.ethz.ch wrote: McGehee, Robert robert.mcge...@geodecapital.com on Thu

Re: [Rd] type.convert and doubles

2014-04-23 Thread Martin Maechler
Therneau, Terry M , Ph D thern...@mayo.edu on Tue, 22 Apr 2014 12:18:55 -0500 writes: No global options I don't have an opinion about type.convert, but I must object to Martin's sweeping statement about global options, and stringsAsFactors in particular. There have been

Re: [Rd] Can the output of Sys.getenv() be improved?

2014-04-26 Thread Martin Maechler
wdunlap tibco.com -Original Message- From: Martin Maechler [mailto:maech...@stat.math.ethz.ch] Sent: Saturday, April 19, 2014 5:57 AM To: William Dunlap Cc: Jun Zhang; r-devel@r-project.org Subject: Re: [Rd] Can the output of Sys.getenv() be improved? William Dunlap wdun

Re: [Rd] type.convert and doubles

2014-04-26 Thread Martin Maechler
Simon Urbanek simon.urba...@r-project.org on Sat, 19 Apr 2014 13:06:15 -0400 writes: On Apr 19, 2014, at 9:00 AM, Martin Maechler maech...@stat.math.ethz.ch wrote: McGehee, Robert robert.mcge...@geodecapital.com on Thu, 17 Apr 2014 19:15:47 -0400 writes

Re: [Rd] type.convert and doubles

2014-04-28 Thread Martin Maechler
Martin Maechler maech...@stat.math.ethz.ch on Sat, 26 Apr 2014 22:59:17 +0200 writes: Simon Urbanek simon.urba...@r-project.org on Sat, 19 Apr 2014 13:06:15 -0400 writes: On Apr 19, 2014, at 9:00 AM, Martin Maechler maech...@stat.math.ethz.ch wrote: McGehee, Robert

Re: [Rd] type.convert and doubles

2014-04-29 Thread Martin Maechler
mark.braving...@csiro.au on Tue, 29 Apr 2014 08:25:41 + writes: [...snip...] Martin Maecher wrote: I have now committed svn rev 65507 --- to R-devel only for now --- the above: exact = NA is the default and it means warning + FALSE.

Re: [Rd] type.convert and doubles

2014-04-29 Thread Martin Maechler
peter dalgaard pda...@gmail.com on Tue, 29 Apr 2014 09:32:21 +0200 writes: On 28 Apr 2014, at 19:17 , Martin Maechler maech...@stat.math.ethz.ch wrote: [...snip...] I think there should be two separate discussions: a) have an option (argument

Re: [Rd] type.convert and doubles

2014-04-29 Thread Martin Maechler
Martin Maechler maech...@stat.math.ethz.ch on Tue, 29 Apr 2014 10:41:19 +0200 writes: mark.braving...@csiro.au on Tue, 29 Apr 2014 08:25:41 + writes: [...snip...] Martin Maecher wrote: I have now committed svn rev 65507 --- to R-devel only for now

Re: [Rd] Quantile issue

2014-05-01 Thread Martin Maechler
/show_bug.cgi?id=15746 on which I commented that it was an example of FAQ 7.31 : Martin Maechler 2014-04-10 07:10:41 UTC What really happens is simply x0 - 0.000384478262997113 h - (1:9)/10 diff(range((1-h)*x0 + h*x0)) [1] 1.084202e-19 and that of course *is* just R FAQ

Re: [Rd] Quantile issue

2014-05-01 Thread Martin Maechler
: https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15746 on which I commented that it was an example of FAQ 7.31 : Martin Maechler 2014-04-10 07:10:41 UTC What really happens is simply x0 - 0.000384478262997113 h - (1:9)/10 diff(range((1-h)*x0 + h*x0)) [1] 1.084202e-19

Re: [Rd] Problem running checks after building R-patched

2014-05-07 Thread Martin Maechler
Berend Hasselman b...@xs4all.nl on Wed, 7 May 2014 09:24:46 +0200 writes: I am compiling the latest R-patched (Revision: 65533) Ubuntu Lucid (10.04). Building succeeds but make check stops with an error. The output in the terminal from make check: Testing examples for

Re: [Rd] Encourage exit with nonzero error status in ?last.dump

2014-06-13 Thread Martin Maechler
be better to encourage exiting with a nonzero error status: options(error = quote({dump.frames(to.file = TRUE); q(status = 1)})) You are right. Thank you for the suggestion: it will be in next release. Martin Maechler, ETH Zurich __ R-devel@r

Re: [Rd] index.search

2014-06-16 Thread Martin Maechler
only need to take and keep the PKG-Ex.Rout file that is produced (in the PKG.Rcheck/ directory), and save it into PKG/tests/PKG-Ex.Rout.save and from then on, every time you run R CMD check PKG the comparison will be made. Martin Maechler, ETH Zurich

Re: [Rd] Unfixed bugs in latest R-patched

2014-06-24 Thread Martin Maechler
before making a quick decision, notably about the cases I have in the appended products.Rout Martin Maechler, (ETH Zurich and R Core team) --- ### NOTA BENE: vector %*% Matrix _and_ Matrix %*% vector : ### - - - ## The k-vector

[Rd] RFC: diag(x, n) not preserving integer and logical x

2014-08-07 Thread Martin Maechler
relies on the current behavior, nor should any well programmed R code ... Hence my proposal, somewhat tentative for now, to change this diag(.) behavior. Martin Maechler *) and possibly something we can not change in R, because too much code implicitely may be depending on it, but now I hope

Re: [Rd] RFC: diag(x, n) not preserving integer and logical x

2014-08-11 Thread Martin Maechler
Duncan Murdoch murdoch.dun...@gmail.com on Fri, 8 Aug 2014 10:51:10 -0400 writes: Thank you, Duncan (read inline) On 07/08/2014, 4:51 AM, Martin Maechler wrote: This is not at all something new(*). As maintainer of the Matrix package, I don't like this inconsistency of base

Re: [Rd] Inconsistent handling of data frames in min(), max(), and mean()

2014-08-22 Thread Martin Maechler
Gavin Simpson ucfa...@gmail.com on Thu, 21 Aug 2014 12:32:31 -0600 writes: This inconsistency recently came to my attention: df - data.frame(A = 1:10, B = rnorm(10)) min(df) [1] -1.768958 max(df) [1] 10 mean(df) [1] NA Warning message: In

Re: [Rd] The behaviour of setting names differs between lists and atomic vectors

2014-08-25 Thread Martin Maechler
(`a\\b`=1) l $`a\b` [1] 1 l$`a\b` NULL l$`a\\b` [1] 1 With thanks to the OP, Richie, this is now fixed in R-devel and R-patched, i.e., in any next version of R. Martin Maechler, ETH Zurich __ R-devel@r-project.org mailing

Re: [Rd] no visible binding for global variable for data sets in a package

2014-08-27 Thread Martin Maechler
Michael Friendly frien...@yorku.ca on Tue, 26 Aug 2014 17:58:34 -0400 writes: I'm updating the Lahman package of baseball statistics to the 2013 release. In addition to the main data sets, the package also contains several convenience functions that make use of

Re: [Rd] no visible binding for global variable for data sets in a package

2014-08-28 Thread Martin Maechler
peter dalgaard pda...@gmail.com on Wed, 27 Aug 2014 21:09:47 +0200 writes: On 27 Aug 2014, at 16:48 , Hadley Wickham h.wick...@gmail.com wrote: I think the right answer _is_ to export the lazy data; the question is how to do it. There's nothing particularly strange about

Re: [Rd] Unfixed bugs in latest R-patched

2014-08-29 Thread Martin Maechler
Getting back to 2 months old considerations [more inline]: Martin Maechler maech...@stat.math.ethz.ch on Tue, 24 Jun 2014 15:08:09 +0200 writes: Radford Neal radf...@cs.toronto.edu on Mon, 23 Jun 2014 11:24:35 -0400 writes: A new version of pqR is now available at pqR

Re: [Rd] log(i, base=i) not giving 1

2014-09-02 Thread Martin Maechler
peter dalgaard pda...@gmail.com on Tue, 2 Sep 2014 13:43:21 +0200 writes: Impressive. Never ceases to amaze me what computers can do these days. ;-) Indeed, It's even more impressive given that we have static double logbase(double x, double base) { #ifdef

Re: [Rd] log(i, base=i) not giving 1

2014-09-03 Thread Martin Maechler
Prof Brian Ripley rip...@stats.ox.ac.uk on Wed, 3 Sep 2014 06:46:47 +0100 writes: On 02/09/2014 22:43, Ben Bolker wrote: On 14-09-02 08:48 AM, Martin Maechler wrote: peter dalgaard pda...@gmail.com on Tue, 2 Sep 2014 13:43:21 +0200 writes: Impressive. Never

Re: [Rd] Problem with order() and I()

2014-09-09 Thread Martin Maechler
happen in xtfrm.Asis(.) which I think should drop the class also in this case. More on this, once we have fixed it. Thank you, Don, very much! Martin Maechler, ETH Zurich sessionInfo() R version 3.1.1 (2014-07-10) Platform: x86_64-apple-darwin13.1.0 (64-bit) locale: [1] C

Re: [Rd] Problem with order() and I()

2014-09-09 Thread Martin Maechler
(ch) now does would correspond to the giving FALSE instead of NA, so this solution is not ok in my view. Martin On 09 Sep 2014, at 16:19 , Martin Maechler maech...@stat.math.ethz.ch wrote: MacQueen, Don macque...@llnl.gov on Mon, 8 Sep 2014 16:06:21 + writes: I

Re: [Rd] install.packages misleads about package availability?

2014-09-11 Thread Martin Maechler
translation had bitten other people before... and I am sure is still wrongly used also in package land.. where the bug never triggers as long as testing is done in the C or an 'en' locale. How would your biocLite() be adapted to use packageNotAvailable ? Martin Maechler, ETH Zurich

Re: [Rd] last user argument missing from Rscript --verbose

2014-09-19 Thread Martin Maechler
because the '--args' appears anyway and indeed *is* passed to 'R'... A better fix would rather suppress that; but I will commit the above change. Martin Maechler ETH Zurich __ R-devel@r-project.org mailing list

Re: [Rd] Bug in new behaviour for all.equal and environments?

2014-09-23 Thread Martin Maechler
). Please use R-devel svn rev = 8 for such experiments. Thanking you for testing ..., Martin Maechler ETH Zurich [] Rui Barradas Em 21-09-2014 18:06, Kevin Ushey escreveu: Hi R-devel, The following code: all.equal(baseenv

Re: [Rd] debuggingState() analogous to tracingState() ?

2014-10-02 Thread Martin Maechler
is quite technical and assumes you know more about R's debug()ing and trace()ing than an estimated 99.9% of the R users: Duncan Murdoch murdoch.dun...@gmail.com on Thu, 2 Oct 2014 07:19:34 -0400 writes: On 02/10/2014, 6:36 AM, Martin Maechler wrote: Duncan Murdoch murdoch.dun...@gmail.com

[Rd] AIX-5.3 Issue installing Matrix Package

2014-10-07 Thread Martin Maechler
, which one? Hoping this will lead further, Martin Maechler Regards, Shivali Gangwar __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] debuggingState() analogous to tracingState() ?

2014-10-13 Thread Martin Maechler
I'm taking up an open strand ... Jonathan McPherson jonat...@rstudio.com on Thu, 2 Oct 2014 10:56:01 -0700 writes: I don't have much of an opinion on these questions. I've never used the tracingState() function, though I use trace() all the time (via

[Rd] RFC: is.whole() ? {how to judge if a variable is an integer}

2014-10-28 Thread Martin Maechler
Diverted to R-devel, as I'm requesting comments about a proposal to add is.whole() to R just so this issue does not trail on for centuries (;-), see below. William Dunlap wdun...@tibco.com on Sat, 18 Oct 2014 10:33:05 -0700 writes: 3. all.equal(a, as.integer(a)) Note that this

Re: [Rd] R 3.1.1 and 3.1.2 both fail their test suites

2014-11-03 Thread Martin Maechler
Duncan Murdoch murdoch.dun...@gmail.com on Sat, 1 Nov 2014 13:17:56 -0400 writes: On 01/11/2014, 11:33 AM, Peter Simons wrote: Hi Uwe, Nobody in R core runs NixOS and can reproduce this. This passes on most other platforms, apparently. If you can point us to

Re: [Rd] R 3.1.1 and 3.1.2 both fail their test suites

2014-11-05 Thread Martin Maechler
Duncan Murdoch murdoch.dun...@gmail.com on Mon, 3 Nov 2014 06:28:19 -0500 writes: On 03/11/2014, 4:17 AM, Martin Maechler wrote: Duncan Murdoch murdoch.dun...@gmail.com on Sat, 1 Nov 2014 13:17:56 -0400 writes: On 01/11/2014, 11:33 AM, Peter Simons wrote: Hi

Re: [Rd] ambiguity in the documented return value of Null() from package MASS

2014-11-10 Thread Martin Maechler
peter dalgaard pda...@gmail.com on Mon, 10 Nov 2014 14:47:16 +0100 writes: There is a maintainer for this contributed package... However, a zero column vector _is_ numeric(0) -- with dimension attributes c(3,0). structure(numeric(0),dim=c(3,0)) c(Null(diag(3)))

Re: [Rd] R 3.1.1 and 3.1.2 both fail their test suites

2014-11-10 Thread Martin Maechler
place, I've used base.and.rec - .packages(all.available=TRUE, lib=.Library) example(glm, run.dontcheck = any(MASS == base.and.rec)) for checking the presence of one (and by implication all, almost surely) recommended package. Martin Maechler It would be particularly nice if make check

Re: [Rd] R CMD check --as-cran and (a)spell checking

2014-12-11 Thread Martin Maechler
Henrik Bengtsson h...@biostat.ucsf.edu on Fri, 5 Dec 2014 18:17:57 -0800 writes: Does anyone know if it is possible to add a dictionary file of known words that becomes part of the *built* package to tell 'R CMD check --as-cran' not to report these words as misspelled.

Re: [Rd] Making iconv portable?

2014-12-16 Thread Martin Maechler
this and returns “Raul” under Windows and NA under Mac OS X (and presumably also Linux). Hmm. R iconv(Raúl, , ASCII//TRANSLIT) [1] Raul seems to work for me on Linux ... and me: iconv(Martin Mächler, Zürich. ¡España, Olé!, , ASCII//TRANSLIT) [1] Martin Maechler, Zuerich. ?Espana

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

2015-01-02 Thread Martin Maechler
-- if they are tested. Please start from https://svn.r-project.org/R/trunk/src/library/stats/R/dendrogram.R i.e. send patches with respect to that, i.e., the result of diff -ubBw old-dendrogram.R new-dendrogram.R With thanks in advance, Martin Maechler __ R

<    2   3   4   5   6   7   8   9   10   11   >