Re: [Rd] Possible bug in R 2.6.1 (PR#10565)

2008-01-14 Thread François Pinard
ions. The truth is that, deep down, _nobody_ is perfect. Tolerance and kindness usually are more fruitful attitudes, not only on the R lists, but everywhere. -- François Pinard http://pinard.progiciels-bpi.ca __ R-devel@r-project.org mailing list h

[Rd] comment() and ls() / ls.str()

2007-08-30 Thread François Pinard
. However, users having to explicitly call str on all objects, or make (easy) equivalent stunts, is not fully in the spirit of a comment, which is to volunteer itself... -- François Pinard http://pinard.progiciels-bpi.ca __ R-devel@r-project.org

[Rd] R 2.5.1 - typo in ?'::'

2007-07-23 Thread François Pinard
Within ?'::' output, just before "See Also:", "environent" might be a misspelling of "environment". -- François Pinard http://pinard.progiciels-bpi.ca __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] R 2.5.1 - ?factor examples, details

2007-07-02 Thread François Pinard
t really related to a missing value? It might also be some kind of linguistic problem, and I'm not a native English speaker. The "and to allowing" construct sounds strange to me. I would expect either "and to allow" or "and allowing", but maybe I'm plainly

Re: [Rd] File lock mechanisms in R

2007-07-02 Thread François Pinard
e, and preempt it (to do this safely requires some thinking). -- François Pinard http://pinard.progiciels-bpi.ca __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] R 2.5.0 - Typo in commandArgs.Rd

2007-06-22 Thread François Pinard
Hi, people. commandArgs.Rd has these lines (a bit before \examples): If \code{trailingOnly=TRUE}, a character vector of those arguments (if any) supplied after \code{==args}. It should likely be: ... \code{--args}. -- François Pinard http://pinard.progiciels-bpi.ca

Re: [Rd] R on Solaris 10 x64

2007-04-13 Thread François Pinard
sts. Congratulations to all. -- François Pinard http://pinard.progiciels-bpi.ca __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] make test-Specific?

2006-09-04 Thread François Pinard
ect, and DIR either happens to not exist or is just mistyped, in which case ACTION is executed in the current directory. A little good habit that saved me a few times along all those years! :-) -- François Pinard http://pinard.progiciels-bpi.ca __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

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

2006-07-19 Thread François Pinard
on, the current convention is as follow, given that N is a positive number: Value "head" tool"tail" tool N Show N initial lines Show N last lines -N Show all but N last lines Show all but N first lines Hoping that this clarification may be helpful in the whole thinking! :-) -- François Pinard http://pinard.progiciels-bpi.ca __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

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

2006-07-18 Thread François Pinard
these are easily possible. -- François Pinard http://pinard.progiciels-bpi.ca __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Matrices given to pt? [was: [R] for loops and counters]

2006-07-15 Thread François Pinard
.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: [EMAIL PROTECTED] _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ - End forwarded message - -- François P

Re: [Rd] UTF-8 and .Rd files

2006-06-29 Thread François Pinard
forts, continue making R better and even make it take some lead in this area. Not going fanatic about it of course, but at least, carefully avoiding any backward move in development, or changes that would be unfriendly to internationalisation of R. -- François Pinard http://pinard.pr

[Rd] Documentation detail [was: Merging factor levels.]

2006-06-23 Thread François Pinard
.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: [EMAIL PROTECTED] _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ - End forwarded message - -- François Pinard http://pinard.progiciels-bpi.ca __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] NAs in unsplit factor

2006-06-08 Thread François Pinard
ly intended, that this is at least not unintended :-). Yet, why "0" is chosen here, among a myriad of possibilities? "NA", as you suggest, might be a more neutral choice. -- François Pinard http://pinard.progiciels-bpi.ca __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] xy.coords(MATRIX) bug in code or documentation (PR#8937)

2006-06-05 Thread pinard
[Martin Maechler] >Hence --- for back compatibility reasons -- I now tend to agree >with Duncan Murdoch, and would not change xy.coords() behavior >at all, but simply amend the documentation. It's fine, thanks a lot. -- François Pinard http://pinard.pro

Re: [Rd] xy.coords(MATRIX) bug in code or documentation (PR#8937)

2006-06-05 Thread François Pinard
er matrix coercion. I guess the problem would not exist if data.frames were really interpreted as lists, the "x" and "y" columns could even appear anywhere (untested). -- François Pinard http://pinard.progiciels-bpi.ca __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] xy.coords(MATRIX) bug in code or documentation (PR#8937)

2006-06-03 Thread pinard
E=fr_CA.UTF-8;LC_COLLATE=fr_CA.UTF-8;LC_MONETARY=fr_CA.UTF-8;LC_MESSAGES=fr_CA.UTF-8;LC_PAPER=fr_CA.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=fr_CA.UTF-8;LC_IDENTIFICATION=C Search Path: .GlobalEnv, package:methods, package:stats, package:utils, package:dataset

[Rd] Irregularity in stem() display (PR#8934)

2006-06-02 Thread pinard
e:utils, package:datasets, Autoloads, package:base -- François Pinard http://pinard.progiciels-bpi.ca __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Correction to ?alist (PR#8904)

2006-05-27 Thread pinard
fp.etc, package:graphics, package:grDevices, Autoloads, package:base -- François Pinard http://pinard.progiciels-bpi.ca __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Problem with pasteing formulas (PR#8897)

2006-05-24 Thread François Pinard
[Brian Ripley] >Note: > 'as.character' truncates components of language objects to 500 > characters (was about 70 before 1.3.1). >so it is working as documented. Not then a bug. Wrong reasoning. Bugs may well be documented :-) -- François Pinard http://pi

Re: [Rd] Truncated labels in hist (PR#8864)

2006-05-18 Thread pinard
etween wishes and bugs, as this exercise is a bit irritating, without being fruitful. I wonder why the distinction is deemed so important. Merely chatting, of course. Keep happy! -- François Pinard http://pinard.progiciels-bpi.ca __ R-devel@r-pr

[Rd] ?hist and $density explanation

2006-05-17 Thread François Pinard
er and clearer than introducing an intermediate "b[i]" device. Let's drop it. Let me suggest a simpler rewriting of these few lines, using humbler notation while being more precise. Let's start with something like: density: For each cell

Re: [Rd] Truncated labels in hist (PR#8864)

2006-05-16 Thread François Pinard
[Duncan Murdoch] >[François Pinard] >> Hi, people. Executing the following command: >>hist(rpois(100,5), labels=TRUE) >> yields a graphic in which some labels are truncated (on an X11 > I don't see this on Windows using windows(), or Linux using X11(). >

[Rd] Truncated labels in hist (PR#8864)

2006-05-15 Thread pinard
: .GlobalEnv, package:methods, package:stats, package:graphics, package:utils, package:datasets, fp.etc, package:grDevices, Autoloads, package:base -- François Pinard http://pinard.progiciels-bpi.ca __ R-devel@r-project.org mailing list https

Re: [Rd] Suggestion for system.time()

2006-05-14 Thread François Pinard
[Seth Falcon] >[François Pinard] >> [Seth Falcon] >>>Here's a function you could try. >> Thanks, Seth. Your code could be useful, I'm saving it. :-) >You make it sound like that code is going to mature like a wine. >I'd say, if it isn't useful

Re: [Rd] Suggestion for system.time()

2006-05-14 Thread François Pinard
[Seth Falcon] >[François Pinard] >> Hi, people. A tiny suggestion for the system.time function. >> Could the returned vector have names? These could be like: >>c("User", "System", "Elapsed", "Sub.User", "Sub.System")

[Rd] Suggestion for system.time()

2006-05-14 Thread François Pinard
Hi, people. A tiny suggestion for the system.time function. Could the returned vector have names? These could be like: c("User", "System", "Elapsed", "Sub.User", "Sub.System") That would then produce self-documenting output. --

Re: [Rd] Mere chat on vectorisation matters

2006-05-13 Thread François Pinard
ht have been operational or experimental error, of course, as I'm far from mastering R installation matters. But if there were no such error, I'm now reporting, for the record, that Duff's device does _not_ yield an interesting speedup. -- Françoi

[Rd] Mere chat on vectorisation matters

2006-05-10 Thread François Pinard
fficult to implement, might be a significant further step, and so, be worth a discussion. -- François Pinard http://pinard.progiciels-bpi.ca __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] "Unfelicity" :-) with edit()

2006-05-09 Thread François Pinard
says a few words about this particular usage. The remaining of this message quotes the original message: [François Pinard] >Hi, people. This is about R 2.3.0 under Linux. >It seems that edit() may change a function environ

[Rd] "Unfelicity" :-) with edit()

2006-05-08 Thread François Pinard
onable to suggest an improvement in the mechanics of edit(), for alleviating this drawback ? -- François Pinard http://pinard.progiciels-bpi.ca __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] abline and its documentation

2006-05-03 Thread François Pinard
three at once already!) Then, R users and code could more safely rely on this. Just a suggestion, and not a big matter, of course! :-) -- François Pinard http://pinard.progiciels-bpi.ca __ R-devel@r-project.org mailing list https://stat.ethz.ch

Re: [Rd] [R] plot cdf

2006-05-01 Thread François Pinard
ld ideally be TRUE if the _current_ device is interactive. If there is a used (opened) device which is interactive, but the current device is not interactive, it would then be nicer if `ask' was FALSE. -- François Pinard http://pinard.progiciels-bpi.ca

[Rd] Tiny documentation error in ?merge (PR#8818)

2006-04-28 Thread pinard
th: .GlobalEnv, package:methods, package:stats, package:graphics, package:utils, package:datasets, fp.etc, package:grDevices, Autoloads, package:base -- François Pinard http://pinard.progiciels-bpi.ca __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] `as.vector' documentation

2006-04-19 Thread François Pinard
, it may be interpreted as meaning that the attributes are removed unconditionally. -- François Pinard http://pinard.progiciels-bpi.ca __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Documentation error in ?write (PR#8752)

2006-04-06 Thread pinard
Hi, people. ?write shows the following contents in Examples section: # create a 2 by 5 matrix x <- matrix(1:10,ncol=5) # the file data contains x, two rows, five cols # 1 3 5 6 9 will form the first row write(t(x)) On the next to last line, "6" should be replaced by "7"

Re: [Rd] [R] atan2(1,1i)

2006-03-29 Thread François Pinard
icism as if it was personal offense, because it is not. -- François Pinard http://pinard.progiciels-bpi.ca __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Error once having applied (PR#8718)

2006-03-27 Thread pinard
Hi, people. Here is a transcript of a "R --vanilla" session: ==> R : Copyright 2005, The R Foundation for Statistical Computing Version 2.2.1 (2005-12-20 r36812) ISBN 3-900051-07-0 R est un logiciel libre livré sans AUCUNE GA

Re: [Rd] Spurious output white line in R script (PR#8631)

2006-02-23 Thread François Pinard
[François Pinard, clarifying himself] >Adding a newline when "--slave" has not been selected, and whenever the >output is connected to a tty, is also wise, regardless if termination >is effected through q() or through hitting end-of-file. Just to make sure I'm not misi

Re: [Rd] Spurious output white line in R script (PR#8631)

2006-02-23 Thread François Pinard
[Brian Ripley] >[François Pinard] >>Within the output resulting of command "man R", one reads: >> --slave >> Make R run as quietly as possible >>So, I was not expecting R, running with that option activated, to >>"voluntee

Re: [Rd] Tiny documentation error for ?options (PR#8633)

2006-02-23 Thread François Pinard
gt;https://stat.ethz.ch/mailman/listinfo/r-devel >-- >Brian D. Ripley, [EMAIL PROTECTED] >Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ >University of Oxford, Tel: +44 1865 272861 (self) >1 South Parks Road, +44 1865 272866 (PA) >Oxford OX1 3TG, UKFax: +44 1865 272595 -- François Pinard http://pinard.progiciels-bpi.ca __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Tiny documentation error for ?options (PR#8633)

2006-02-22 Thread pinard
Hi, people. The output produced by "?options" contains: 'expressions': sets a limit on the number of nested expressions that will be evaluated. Valid values are 25...50 with default 1000. [...] and a bit further down: The 'factory-fresh' default settings of

Re: [Rd] Spurious output white line in R script (PR#8631)

2006-02-22 Thread François Pinard
ing shell script, >>#!/bin/sh >>R --slave --vanilla <>cat("Hello\n") >>EOF >>when made executable under the name ``hello`` along the search >>path, behaves >>like this: >>$ hello | od -bc >>000 110 145 154 154 157 012 012

[Rd] Spurious output white line in R script (PR#8631)

2006-02-22 Thread pinard
I noticed that R scripts produce a spurious white line after output. For example, the following shell script, #!/bin/sh R --slave --vanilla

Re: [Rd] mapply() gives seg fault (PR#8332)

2005-11-20 Thread François Pinard
rior research. Despite some are a bit stiff at times, they always acted with civility. -- François Pinard http://pinard.progiciels-bpi.ca __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] mapply() gives seg fault (PR#8332)

2005-11-20 Thread pinard
-- François Pinard http://pinard.progiciels-bpi.ca --KsGdsel6WgEHnImy Content-Type: message/rfc822 Content-Disposition: inline From: [EMAIL PROTECTED] (Roger D. Peng) Date: Tue Oct 14 18:10:52 2003 Subject: [R] mapply() gives seg fault In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL