Re: [Rd] Bug in read.table?

2010-11-08 Thread Ben Bolker
Ben Bolker gmail.com> writes: > > Can simplify this still farther: a b'c d e'f g h'i > One of the first things that happens in read.table is that > the first few lines are read with readTableHead: > > lines <- .Internal(r

Re: [Rd] Bug in read.table?

2010-11-15 Thread Ben Bolker
Ben Bolker gmail.com> writes: > > Ben Bolker gmail.com> writes: > > > > > > >Can simplify this still farther: > > a b'c > d e'f > g h'i This example file leads to duplicate lines. Arguably it should have behavior analogo

[Rd] trivial typo in system.Rd

2010-11-16 Thread Ben Bolker
Index: system.Rd === --- system.Rd (revision 53611) +++ system.Rd (working copy) @@ -181,7 +181,7 @@ \item The most important difference is that on a Unix-alike \code{system} launches a shell which then runs \code{command

Re: [Rd] nonparametric analysis of covariance

2010-11-24 Thread Ben Bolker
, at least hundreds of data points.) If that doesn't work, please try your question again on R-help. Ben Bolker __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Request: kronecker to get a sep= argument

2010-11-29 Thread Ben Bolker
UN = "paste", sep = name_sep) } which could still break existing code in the unlikely event that someone used a value of FUN with a 'name_sep' argument (much less likely). Perhaps the argument could be named .sep -- that seems to be a standard convention in these cases for trying to avoid previous/user-defined argument names. For whatever it's worth this seems like a good idea to me -- a small change that will increase flexibility with little cost. Ben Bolker __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Competing with one's own work

2010-12-03 Thread Ben Bolker
Ravi Varadhan jhmi.edu> writes: > > "The decision about whether it belongs in a package or in base R is > about who should maintain the code." > > Ok. I understand it now. > > Thanks, > Ravi. > A point that may not have been made (sorry if it was and I missed it): A better question m

Re: [Rd] postscript failure manifests in plot.TukeyHSD

2010-12-14 Thread Ben Bolker
Jari Oksanen oulu.fi> writes: > > Hello R Developers, > > Dear R-developers, > > I ran some standard tests with currently (today morning) compiled R release > candidate in Linux R 2.12.1 RC (2010-12-13 r53843). Some of these tests used > plot.TukeyHSD function. This worked OK on the screen (X

Re: [Rd] postscript failure manifests in plot.TukeyHSD

2010-12-14 Thread Ben Bolker
On 10-12-14 01:16 PM, Peter Ehlers wrote: > On 2010-12-14 09:27, Ben Bolker wrote: >> Jari Oksanen oulu.fi> writes: >> >>> >>> Hello R Developers, >>> >>> Dear R-developers, >>> >>> I ran some standard tests with currently (

Re: [Rd] postscript failure manifests in plot.TukeyHSD

2010-12-15 Thread Ben Bolker
ed; line widths less + than 0.01 will be set equal to this minimum value. Line dashes + are set proportional to line width; dash patterns less than 0.01 + will be set to solid. \code{pch="."} with \code{cex = 1} corresponds to a square of side 1/72 inch, which is also the \

Re: [Rd] postscript failure manifests in plot.TukeyHSD

2010-12-16 Thread Ben Bolker
-12-14 12:13:32.0 +0200 > @@ -172,5 +172,5 @@ > 0 setgray > 0.00 setlinewidth > -[ 3.00 5.00] 0 setdash > +[ 0.00 0.00] 0 setdash > np > 660.06 91.44 m > > So 0.00 setlinewidth worked, but [0.00 0.00] 0 setdash failed. Assuming > PostScript is anything like En

[Rd] trivial typo in R language definition manual

2011-01-06 Thread Ben Bolker
on line 1714 of R-lang.texi (current SVN of R-devel, 53919) @code{x$aa} will match @code{x$aabb} if @code{x} does not a component should probably have "contain" or "have" inserted after "not" __ R-devel@r-project.org mailing list https://stat.eth

Re: [Rd] normality and equal variance testing

2011-01-24 Thread Ben Bolker
Karthi Subramanian yahoo.ca> writes: > > I currently have a program that automates 2-way ANOVA on a series of > endpoints, but before the ANOVA is carried out I want the code to > test the assumptions of normality and equal variance and report along > with each anova result in the > output fil

Re: [Rd] trojan at current development version?

2011-01-28 Thread Ben Bolker
Uwe Ligges statistik.tu-dortmund.de> writes: > > > On 28.01.2011 13:49, peter dalgaard wrote: > > > > On Jan 28, 2011, at 09:47 , Andreas Mayr wrote: > > > >> Hi, > >> > >> is it possible, that the current development version for Windows ( > >> http://cran.at.r-project.org/bin/windows/base/R-2

[Rd] axTicks.Rd documentation bug

2011-02-04 Thread Ben Bolker
nce to an existing plot in the logarithmic axis case: it took me quite a bit of digging in documentation and source code to figure out how to do this for myself, so I think it would be useful to others ... Ben Bolker Index: axTicks.Rd

[Rd] read.csv trap

2011-02-04 Thread Ben Bolker
ble by the user, or to allow a settable 'maxcols' parameter, although those would only help in the case where the user already knows there is a problem. cheers Ben Bolker === writeLines(c("A,B,C,D", "1,a,b,c", "2,f,g,c",

[Rd] print(...,digits=2) behavior

2011-02-05 Thread Ben Bolker
, and that therefore I (and the original bug reporter) must be misunderstanding something. Thoughts/references? cheers Ben Bolker __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] using rasterImage within image

2011-02-08 Thread Ben Bolker
; source("image.R") > z <- matrix(runif(1e6),nrow=1000) > image(z) > image(z,useRaster=TRUE) (Patch against SVN 54284 attached; people can contact me if it doesn't go through and they want it.) Ben Bolker Index: image.R

Re: [Rd] using rasterImage within image

2011-02-09 Thread Ben Bolker
On 11-02-08 10:03 PM, Simon Urbanek wrote: > Ben, > > did you actually look at the result of your function with useRaster=TRUE ? ;) > [Hint: don't use an image that is symmetric] > > Apart from that nice bug there are more issues as well, try > image(matrix(1:4,2)

Re: [Rd] using rasterImage within image

2011-02-09 Thread Ben Bolker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11-02-09 03:09 PM, Henrik Bengtsson wrote: > On Wed, Feb 9, 2011 at 11:53 AM, Simon Urbanek > wrote: >> >> On Feb 9, 2011, at 2:36 PM, Henrik Bengtsson wrote: >> >>> On Wed, Feb 9, 2011 at 11:25 AM, Si

Re: [Rd] read.csv trap

2011-02-11 Thread Ben Bolker
Bump. It's been a week since I posted this to r-devel. Any thoughts/discussion? Would R-core be irritated if I submitted a bug report? cheers Ben Original Message Subject: read.csv trap Date: Fri, 04 Feb 2011 11:16:36 -0500 From: Ben Bolker To:

Re: [Rd] read.csv trap

2011-02-11 Thread Ben Bolker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/11/2011 03:37 PM, Laurent Gatto wrote: > On 11 February 2011 19:39, Ben Bolker wrote: >> > [snip] >> >> What is dangerous/confusing is that R silently **wraps** longer lines if >> fill=TRUE (which is the default

Re: [Rd] using rasterImage within image

2011-02-14 Thread Ben Bolker
quot;raster","image")'). Furthermore, I would strongly encourage that "raster" be made the default behavior for the development release of R ... cheers Ben Bolker __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] using rasterImage within image

2011-02-14 Thread Ben Bolker
On 02/14/2011 02:59 PM, Simon Urbanek wrote: > > On Feb 14, 2011, at 2:28 PM, Paul Murrell wrote: > >> Hi >> >> On 15/02/2011 8:11 a.m., Simon Urbanek wrote: >>> >>> On Feb 14, 2011, at 12:26 PM, Ben Bolker wrote: >>> >>>

Re: [Rd] readPNG gives warnings and doesn't execute sample code from help files

2011-02-15 Thread Ben Bolker
correctly. Which device should I use then? See http://developer.r-project.org/Raster/raster-RFC.html (near the bottom of the page, where it explains that the Windows device supports alpha but not per-pixel alpha ...) cheers Ben Bolker __ R-d

Re: [Rd] readPNG gives warnings and doesn't execute sample code from help files

2011-02-15 Thread Ben Bolker
supposed to >> support alpha per pixel as well, but on Windows that's still no avail. >> So basically, on Windows I can forget about alpha? >> >> Cheers >> Jors >> >> On Tue, Feb 15, 2011 at 2:20 PM, Ben Bolker wrote: >>> Joris Meys gmai

[Rd] request for patch in "drop1" (add.R)

2011-02-23 Thread Ben Bolker
also makes drop1() work with lme fits ... Comments? Should I submit to the bug database as "enhancement request"? Are there any hidden downsides to this? Ben Bolker Index: add.R === --- add.R (revision 54562) +++ add.R

Re: [Rd] request for patch in "drop1" (add.R)

2011-02-23 Thread Ben Bolker
On 11-02-23 03:20 PM, Martin Maechler wrote: >>>>>> Ben Bolker >>>>>> on Wed, 23 Feb 2011 09:14:37 -0500 writes: > > > By changing three lines in drop1 from access based on $ > > to access based on standard accessor methods

Re: [Rd] request for patch in "drop1" (add.R)

2011-02-23 Thread Ben Bolker
ing is being introduced ...) > > On Wed, 23 Feb 2011, Martin Maechler wrote: > >>>>>>> Ben Bolker >>>>>>> on Wed, 23 Feb 2011 09:14:37 -0500 writes: >> >>> By changing three lines in drop1 from access based on $ >>&

Re: [Rd] read.csv trap

2011-03-03 Thread Ben Bolker
Ben Bolker gmail.com> writes: > On 02/11/2011 03:37 PM, Laurent Gatto wrote: > > On 11 February 2011 19:39, Ben Bolker gmail.com> wrote: > >> > > [snip] > >> Bump. Is there any opinion about this from R-core?? Will I be scolded if I submit this a

[Rd] R-alpha typo in ?replicate ?

2011-03-21 Thread Ben Bolker
simplify: logical or character string; should the result be simplified to a vector, matrix or higher dimensional array if possible? The default, ‘TRUE’, returns a vector or matrix if appropriate, whereas ‘signify = "array"’, rather recommended typically, t

[Rd] import question

2011-03-23 Thread Ben Bolker
if I am doing something boneheaded. Does anyone have suggestions for what to try next ... ? cheers Ben Bolker __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] import question

2011-03-23 Thread Ben Bolker
Ben Bolker gmail.com> writes: > > > I have been struggling all day to import a particular function/method > combination (ranef(), which extracts the random effects from a mixed > model fit) from the nlme package into another package ... so far without > success.

Re: [Rd] import question

2011-03-24 Thread Ben Bolker
Prof Brian Ripley stats.ox.ac.uk> writes: > > On Thu, 24 Mar 2011, Ben Bolker wrote: > > > Ben Bolker gmail.com> writes: > > > >> > >> > >> I have been struggling all day to import a particular function/method > >> combi

Re: [Rd] import question

2011-03-24 Thread Ben Bolker
On 03/24/2011 03:03 PM, Hadley Wickham wrote: > On Wed, Mar 23, 2011 at 7:20 PM, Ben Bolker wrote: >> Ben Bolker gmail.com> writes: >> >>> >>> >>> I have been struggling all day to import a particular function/method >>> combination (r

[Rd] another import puzzle

2011-03-26 Thread Ben Bolker
that inside the function, summary() is calling summary.default instead of seeing the summary method for "mer" objects ... I have (re-re-re-)read the appropriate R-exts section, without luck, and tried various minor variations (e.g. import()ing all of lme4, changing the order of the directive

Re: [Rd] another import puzzle

2011-03-26 Thread Ben Bolker
On 11-03-26 02:52 PM, Martin Morgan wrote: > On 03/26/2011 11:14 AM, Ben Bolker wrote: >> >>Dear list, >> >>I have another (again possibly boneheaded) puzzle about importing, >> again encapsulated in a nearly trivial package. (The package is posted >>

Re: [Rd] pd

2011-04-11 Thread Ben Bolker
Classes in the nlme package). You're probably not looking for <http://en.wikipedia.org/wiki/PD> good luck -- if you give more context you might get a more useful answer. Ben Bolker __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] bug in hist.POSIXt , hist.Date

2011-04-13 Thread Ben Bolker
Joris Meys gmail.com> writes: > > The behaviour of hist.POSIXt when using the col argument is different > from the default hist, in the respect that it colors the axes as well. > I think this is due to the ... argument, which is passed to the > axis.POSIXct() function. In the default hist, col i

[Rd] request for R-exts addition

2011-04-28 Thread Ben Bolker
would it be possible / make sense to copy some of the information in ?news into the R-exts manual, where package writers are most likely (?) to look for it? The information therein seems more appropriate for the extensions manual ... cheers Ben Bolker

Re: [Rd] what's R save terminal flag?

2011-05-05 Thread Ben Bolker
gt; Thanks Dma > Please pick *either* r-help *or* Stack Overflow to post your question: don't cross-post. (<http://stackoverflow.com/questions/5895356/whats-r-save-terminal-flag>) As always, reproducible examples are helpful: please see the

[Rd] obscure error message from splines::ns

2011-05-16 Thread Ben Bolker
nd it would be nice if there were at least an informative warning message. If there were any enthusiasm for it, I would try to come up with a test and warning to incorporate into the current version of bs() ... Ben Bolker __ R-devel@r-project.org maili

Re: [Rd] IDWT - Inverse Discrete Wavelet Transform

2011-05-19 Thread Ben Bolker
wavelet capability in base R -- and probably which particular functions from those packages). It would be best if you could provide a reproducible question -- although I recognize that could be difficult in this case. You might also try stackoverflow.com or stackexchange.com good luck

Re: [Rd] [R-SIG-Mac] check leads to .o files and to packagename-Ex.R

2011-06-02 Thread Ben Bolker
ar.gz', '.tar.bz2' or '.tgz'." I just skimmed through the relevant section (1.3.1) in the R Extensions manual, and it doesn't say anything about running on tarballs being preferred. Add my vote to the wishlist that the src directory should get cleaned after R C

Re: [Rd] [R-SIG-Mac] check leads to .o files and to packagename-Ex.R

2011-06-02 Thread Ben Bolker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/02/2011 09:12 AM, Duncan Murdoch wrote: > On 11-06-02 9:06 AM, Ben Bolker wrote: >> On 06/02/2011 06:47 AM, Benilton Carvalho wrote: >>> 'R CMD check' should be applied on the .tar.gz, not on the source >>>

Re: [Rd] requesting a mentor for R development

2011-06-21 Thread Ben Bolker
Paul Johnson gmail.com> writes: > > I'd like to learn the process of revising R functions & packages and > then submitting proposed patches to the R Core team. Would someone be > willing to mentor me through one example? I don't know about mentoring, but I'll give my two cents (some specific

Re: [Rd] Is there an implementation of loess with more than 3 parametric ...

2011-06-27 Thread Ben Bolker
Dr. D. P. Kreil (Boku boku.ac.at> writes: > > Dear John, > > > I suggest that you look at the abilities of the mgcv package. > > There are notes of mine at > > > > http://www.maths.anu.edu.au/%7Ejohnm/r-book/xtras/autosmooth.pdf > > > > that may help you get started. > > Thank you very much fo

[Rd] apparent typo in heatmap docs: bump?

2011-07-06 Thread Ben Bolker
doesn't get lost? cheers Ben Bolker -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk4UbqAACgkQc5UpGjwzenOv7QCgkd8e9C0ANgO7/8kM9nCdWYAG w/MAn2tF12ACCj+6cI6M3qJ7mu7r59g3 =NM3G -END PGP SIGN

Re: [Rd] Creating package Vignette

2011-07-14 Thread Ben Bolker
Prof Brian Ripley stats.ox.ac.uk> writes: > > It depends what you mean by 'vignette': the R docs have been unclear > (but R >= 2.13.0 are more consistent). In most cases a 'vignette' is > an Sweave document, the vignette source being the .Rnw file, and the > vignette PDF the processed .pdf f

[Rd] plot.function documentation/export?

2011-07-25 Thread Ben Bolker
or information on tail.function (which is listed in the methods: > methods(class="function") [1] as.list.function head.function* print.function tail.function* I find the same S3method syntax, so I guess the quotation marks aren't the problem ... Any ideas? Ben Bolker

Re: [Rd] plot.function documentation/export?

2011-07-25 Thread Ben Bolker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/25/2011 12:55 PM, Uwe Ligges wrote: > > > On 25.07.2011 17:45, Ben Bolker wrote: > >I recently suggested to someone ( > http://stackoverflow.com/questions/6789055/r-inconsistency-why-add-t-sometimes-works-and-sometim

Re: [Rd] plot.function documentation/export?

2011-07-26 Thread Ben Bolker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OK, I see that BDR did this on 2011-06-08 -- I was getting confused by looking at the code of the development version but running the release version. Thanks. Ben On 07/26/2011 02:33 PM, Uwe Ligges wrote: > Now I see the difference: I

[Rd] trivial typo in R administration manual

2011-08-16 Thread Ben Bolker
the attached should probably read "regarded by some OSes as separate ..." Patch attached from latest SVN. Ben Bolker Index: R-admin.texi === --- R-admin.texi(revision 56743) +++ R-admin.texi(wo

Re: [Rd] read.table segfaults

2011-08-26 Thread Ben Bolker
Scott googlemail.com> writes: > > It does look like you've got a memory issue. perhaps using > as.is=TRUE, and/or stringsAsFactors=FALSE will help as optional arguments > to read.table > > if you don't specify these sorts of things, R can have to look through the > file and figure out which

[Rd] difficulty with 'parallel' in building r57032 -- missing Makefile?

2011-09-20 Thread Ben Bolker
gure, configure.ac, etc., comparing what is done with the "splines" package, and no glaring differences leap out at me -- so I'm stumped. If I do ./configure --without-parallel; make , it works. If I'm being an idiot please be gentle ... Ben Bolker _

Re: [Rd] difficulty with 'parallel' in building r57032 -- missing Makefile?

2011-09-20 Thread Ben Bolker
On 11-09-20 09:29 PM, peter dalgaard wrote: > > On Sep 20, 2011, at 20:57 , Ben Bolker wrote: > >> >> From SVN revision 57032, with configuration >> >> R is now configured for i686-pc-linux-gnu >> >> Source directory: . Installati

[Rd] load.R patch suggestion

2011-09-20 Thread Ben Bolker
: argument is of length zero I would guess that error messages with the word "magic" in them would be disturbing to new users, who are probably worried already that R is magic ... Ben Bolker Index: load.R === --- load.R

[Rd] inconsolata font for building vignettes with R-devel

2011-09-23 Thread Ben Bolker
Just to save someone else a few seconds of googling: when you try to R CMD check with recent versions of R-devel and you get * checking PDF version of manual ... WARNING LaTeX errors when creating PDF version. This typically indicates Rd problems. LaTeX errors found: ! LaTeX Error: File `inconso

Re: [Rd] inconsolata font for building vignettes with R-devel

2011-09-23 Thread Ben Bolker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/23/2011 06:25 PM, Dirk Eddelbuettel wrote: > > On 23 September 2011 at 18:03, Ben Bolker wrote: > | Just to save someone else a few seconds of googling: when you try to R > | CMD check with recent versions of R-devel

Re: [Rd] read.csv behaviour

2011-09-28 Thread Ben Bolker
Mehmet Suzen mango-solutions.com> writes: > This might be obvious but I was wondering if anyone knows quick and easy > way of writing out a CSV file with varying row lengths, ideally an > initial data read from a CSV file which has the same format. See example > below. > > writeLines(c("A,B,C,D"

[Rd] building with tcltk on Ubuntu 14.04

2015-05-26 Thread Ben Bolker
abilities()["tcltk"] TRUE, but trying library("tcltk") still returns Error : .onLoad failed in loadNamespace() for 'tcltk', details: call: fun(libname, pkgname) error: Tcl/Tk support is not available on this system Any more suggestions on troubleshooting/diagnosing?

Re: [Rd] building with tcltk on Ubuntu 14.04

2015-05-26 Thread Ben Bolker
t it as though it is ... Thanks for the offer of help ... Ben On 15-05-26 10:25 AM, Dirk Eddelbuettel wrote: > > Ben, > > At work with little time so _real brief_: > > -- we build r-devel "all the time", in fact nightly for rocker; and > there are Dockerfiles to look a

Re: [Rd] Estimating overdispersion when using glm for count and binomial data

2015-06-25 Thread Ben Bolker
fact that it would be much more easily adopted in base R, I think it is much more likely to find a home in an add-on package such as aods3 or glm2 than in base R ... cheers Ben Bolker __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] match()/%in% with language objects?

2015-08-25 Thread Ben Bolker
loop through the list and stop when I find it. But I'd prefer to use built-in functionality if possible. Does anyone have any clues/see what I'm missing? cheers Ben Bolker -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAEBAgAGBQJV3JQLAAo

Re: [Rd] is R syntax closed?

2015-09-19 Thread Ben Bolker
ages currently on CRAN and 2000+ packages on BioConductor, which represent the tip of the iceberg of deployed R code ... As you say, multi-line comments and multi-line commands have been discussed many times, but most existing R users have already gotten used to the existing workarounds (e.g. using

[Rd] summary(lmList) issues

2015-09-20 Thread Ben Bolker
o me, but it could be argued that this is just an edge case, too bad. I don't really mind getting scolded for submitting what is considered, but I'm trying to do my due diligence. Ben Bolker __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Conditional importFrom (roxygen?)

2015-10-04 Thread Ben Bolker
Duncan Murdoch gmail.com> writes: > > On 04/10/2015 10:10 AM, Jonathan Greenberg wrote: > > Folks: > > [snip snip snip] > > > > Is there a way to do a conditional importFrom based on the OS? Or can I > > safely ignore this (I'm trying to submit to CRAN). > > > > Yes, you can put condition

[Rd] identical(..., ignore.environment=TRUE)

2015-10-11 Thread Ben Bolker
osed to work since I thought this would be TRUE: > f1 <- function() {} > f2 <- function() {} > environment(f1) <- new.env() > environment(f2) <- new.env() > identical(f1,f2,ignore.environment=TRUE) ## FALSE Maybe the problem *is* that

Re: [Rd] identical(..., ignore.environment=TRUE)

2015-10-12 Thread Ben Bolker
Duncan Murdoch gmail.com> writes: BB> > >> It seems odd/inconvenient to me that the "ignore.environment" argument > >> of identical() only applies to closures (which I read as 'functions' -- > >> someone can enlighten me about the technical differences between > >> functions and closures if they

[Rd] typo in src/library/stats/man/family.Rd: names of 'validmu' and 'valideta' ??

2015-12-29 Thread Ben Bolker
alidmu" and "valideta" (no dots); try names(poisson()) or names(binomial()) and see ... Can someone on R-core fix this and save me the trouble of filing a bug report ... ? Or have I misunderstood something? cheers Ben Bolker _

[Rd] Wrong bug ID & URL in Daily News about R-devel/NEWS

2016-01-03 Thread Ben Marwick
imple typo, since a quick check of other links to bugs in the news showed they were all ok. Anyway, I couldn't see any webmaster contact details on http://developer.r-project.org/ so hopefully this list message will reach the right person. Ben _

[Rd] trivial typo in R for windows FAQ

2016-01-03 Thread Ben Bolker
In https://cran.r-project.org/bin/windows/base/rw-FAQ.html#Package-TclTk-does-not-work_002e : "This [is] part of the R installation, so it should be there." cheers Ben Bolker __ R-devel@r-project.org mailing list https://stat.ethz.

[Rd] *tiny* inaccuracy in ?dbinom

2016-03-02 Thread Ben Bolker
under "Value", ?dbinom says If ‘size’ is not an integer, ‘NaN’ is returned. That should be something like If ‘size’ is not an integer, ‘NaN’ is returned (or 'NA' for rbinom). ... at least that's what happens for me under svn rev 70138, Ubuntu 14 > rbinom(1,size=0.5,prob=0.5) [

[Rd] trivial typo in ?colorRampPalette

2016-03-25 Thread Ben Bolker
update. cheers Ben Bolker __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] r-bugzilla maintainer?

2016-04-30 Thread Ben Bolker
* I can't find any contact/maintainer info on the r-bugs page. cheers Ben Bolker __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Update CRAN submission process

2016-05-31 Thread Ben Bolker
Spencer Graves prodsyse.com> writes: > > Hi, Gavin et al.: > >Thanks for mentioning these new initiatives. > >What's the current status of R-Hub and the current advice > regarding trying to migrate from R-Forge to R-Hub? > >I ask, because I've complained to R-Forge ma

[Rd] typosquatting and trojan horses in packages

2016-06-10 Thread Ben Bolker
comments about defense below. The whole page is definitely worth reading. Thoughts? Ben Bolker = Defenses against typo squatting In short, read the thesis. If you are too lazy, do the following: Prevent Direct Code Execution on Installations This one is easy. Make sure that the

[Rd] cat() in proc.time?

2016-07-04 Thread Ben Bolker
eady using capture.output() to store this information ...) cheers Ben Bolker __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] summary() dispatch puzzle

2016-07-15 Thread Ben Bolker
rMod instead of merModLmerTest, so I don't get the additional columns I want. Ideas/directions for further diagnoses? Is this an S3/S4 confusion, or something funny about the way the broom and merModLmerTest package are talking to each other, or ... ? cheers Ben Bolker library(lm

Re: [Rd] summary() dispatch puzzle

2016-07-18 Thread Ben Bolker
I'm not doing a good job at explaining. See inline below ... On 16-07-18 11:02 AM, Martin Maechler wrote: >>>>>> Ben Bolker >>>>>> on Fri, 15 Jul 2016 16:45:50 -0400 writes:akram > > > I'm sorry I haven't boiled this down t

[Rd] save/load + all.equal on reference class objects

2016-08-02 Thread Ben Bolker
After I save an object that contains reference class objects in some of its slots to a file and then re-load it, all.equal() seems to break for me. Is this a bug in all.equal, or is it likely caused by bad implementation of methods on my side? (I see that "'all.equal()' gains methods for 'envir

[Rd] ACM license link broken

2016-10-24 Thread Ben Bolker
what it's worth, the original page did exist as recently as 5 April 2016: https://web.archive.org/web/20160405100845/http://www.acm.org/publications/policies/softwarecrnotice/ Suggestions for where/to whom to report this? R-bugzilla? c...@r-project.org? Here? cheers Ben B

[Rd] confusing error from model.frame when var name=function name

2016-11-08 Thread Ben Bolker
I will post to R-bugs if this is not shot down in flames here. cheers Ben Bolker __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] possible improvement to ?with examples

2017-02-16 Thread Ben Bolker
uld we have something more sensible like with(mtcars,mpg[cyl==8 & disp>350]) ? (It could be contrasted directly with mtcars$mpg[mtcars$cyl==8 & mtcars$disp>350] ) I'm happy to submit a bug report/patch if that seems appropriate.

Re: [Rd] [Lme4-authors] Crash in the latest release

2017-02-22 Thread Ben Bolker
Thanks, posted to https://github.com/lme4/lme4/issues/412 for further discussion ... On Wed, Feb 22, 2017 at 10:03 AM, Therneau, Terry M., Ph.D. wrote: > I found this by accident yesterday. The program that crashes is the first > two lines of the example from the help page for nlmer. That exampl

[Rd] suggestion to fix packageDescription() for Windows users

2017-06-17 Thread Ben Marwick
clude the authors' names is pretty important, even if their names have exotic characters, so this is worth fixing. Is this edit to packageDescription the best way to solve this problem of exotic characters preventing the authors' names from showing on Windows? thanks, Ben Windo

Re: [Rd] suggestion to fix packageDescription() for Windows users

2017-06-17 Thread Ben Marwick
information has been auto-generated from the #' package DESCRIPTION file and may need manual editing, see #' ‘help("citation")’. Where do we go from here? I do want to use the Chinese locale with R on Windows (and perhaps others do too), so switching the locale isn't a fix.

Re: [Rd] suggestion to fix packageDescription() for Windows users

2017-06-17 Thread Ben Marwick
Thanks very much, I see your bug report here: https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17291 On 18/06/2017 2:26 AM, Duncan Murdoch wrote: On 17/06/2017 9:13 AM, Ben Marwick wrote: Hi Duncan, Thanks for your reply. Yes, it does seem to be specific to the CTYPE setting to Chinese on

[Rd] suggestion: mention how to format DOIs in "Writing R Extensions"

2017-06-29 Thread Ben Marwick
intainers some bother. Making a direct mention of DOIs will also encourage well-formatted and visible citations of relevant scholarly work in package DESCRIPTIONs, which is a desirable behavior for package authors, and helps to strengthen ties between programming and research activities. What d

[Rd] missing `=` in man page for files2

2017-07-22 Thread Ben Marwick
<- list.files(".", all.files = TRUE, full.names = TRUE, recursive = TRUE) It's also missing from built-in help pages, for example ?Sys.chmod best, Ben __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] missing `=` in man page for files2

2017-07-22 Thread Ben Marwick
Thanks! On 22/07/2017 4:08 PM, Duncan Murdoch wrote: On 22/07/2017 8:19 AM, Ben Marwick wrote: Hi everyone, In the example code at the bottom of this page, https://stat.ethz.ch/R-manual/R-devel/library/base/html/files2.html, there is a missing `=`. That page has: f <- list.fi

[Rd] trivial typo in ?Matrix::sparse.model.matrix.Rd

2020-07-20 Thread Ben Bolker
  "form" -> "from". Diff against latest SVN: Index: sparse.model.matrix.Rd === --- sparse.model.matrix.Rd    (revision 3336) +++ sparse.model.matrix.Rd    (working copy) @@ -4,7 +4,7 @@  \alias{fac2sparse}  \alias{fac2Sparse}  \descr

Re: [Rd] qnbinom with small size is slow

2020-08-07 Thread Ben Bolker
tracker, so it will get more attention here; once the excitement has died down here (which might be almost immediately!), if no-one has already volunteered to post it to the bug tracker, request an account (as specified at https://www.r-project.org/bugs.html )   Thanks!    Ben Bolker For what

[Rd] M[cbind()] <- assignment with Matrix object loses attributes

2020-08-10 Thread Ben Bolker
unk")==12)) ## not OK attr(m1,"junk") ## NULL ## note I have to use the ugly stopifnot(isTRUE(...)) because a missing attribute returns NULL, an assignment to NULL returns NULL, and stopifnot(NULL) doesn't stop ...    cheers Ben Bolker _

Re: [Rd] M[cbind()] <- assignment with Matrix object loses attributes

2020-08-22 Thread Ben Bolker
r(m1,"junk")==12)) ## OK m1[cbind(1:2,2:3)] <- 1 stopifnot(isTRUE(attr(m1,"junk")==12)) ## OK attr(m1,"junk") ## 12 Do you lose attributes with this code? It would surprise me if this had changed in recent versions but I guess anything's possible ... O

[Rd] more Matrix weirdness

2020-09-08 Thread Ben Bolker
trix(0,nrow=3,ncol=10, dimnames=list(letters[1:3],LETTERS[1:10])) rr <- c("a","b","c") cc <- c("B","C","E") m <- Matrix(matrix(1:9,3,3)) x[rr,cc] <- m cheers Ben Bolker __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] vignettes present in 2 folders or won't work

2020-11-01 Thread Ben Bolker
I take Duncan's point but would second the motion to have WRE clarify how static vignettes are supposed to work; it's a topic I am repeatedly confused about despite being an experienced package maintainer. If knowledgeable outsiders compiled a documentation patch would it be likely to be cons

Re: [Rd] return (x+1) * 1000

2020-11-20 Thread Ben Bolker
I may be unusual but I don't find these examples surprising at all/ I don't think I would make these mistakes (maybe it's easier to make that mistake if you're used to a language where 'return' is a keyword rather than a function? My two cents would be that it would make more sense to (1) wri

Re: [Rd] return (x+1) * 1000

2020-11-20 Thread Ben Bolker
OK, you're way ahead of me. If this is in the QA tools, I guess I don't really see the need to change the parser and/or the language to flag it immediately? On Fri, Nov 20, 2020 at 7:43 PM Duncan Murdoch wrote: > > On 20/11/2020 7:01 p.m., Ben Bolker wrote: > >I may

[Rd] undocumented 'offset' argument in src/library/grDevices/man/adjustcolor.Rd

2020-11-30 Thread Ben Bolker
The 'offset' argument description is blank ... maybe 'additive adjustment to each of the (red, green, blue, alpha) values defining the colors, after adjustment by the corresponding \code{.f} factor' ...? This is the relevant code: x <- col2rgb(col, alpha = TRUE)/255 x[] <- pmax(0, p

Re: [Rd] the pipe |> and line breaks in pipelines

2020-12-09 Thread Ben Bolker
FWIW there is previous discussion of this in a twitter thread from May: https://twitter.com/bolkerb/status/1258542150620332039 at the end I suggested defining something like .__END <- identity() as a pipe-ender. On 12/9/20 2:58 PM, Kevin Ushey wrote: I agree with Duncan that the right solu

<    1   2   3   4   5   6   >