Re: [Rd] help building very old R

2018-07-31 Thread peter dalgaard
; changed in the configure script? > > Alternatively, those who are feeling brave can download the Docker image > creation scripts from github.com/hughjonesd/rcheology . > > Cheers, > > David > -- > Sent from Gmail Mobile > > [[alternative HTML version deleted]] > > __

Re: [Rd] [R] R is creating a new level which is emty after importing a SAS file

2018-07-04 Thread peter dalgaard
TML version deleted]] > > __ > r-h...@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and

[Rd] R 3.5.1 scheduled for July 2

2018-06-06 Thread Peter Dalgaard via R-devel
Full schedule available on developer.r-project.org -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [Rd] encoding argument of source() in 3.5.0

2018-06-04 Thread peter dalgaard
s-berman/source2.R;) >>>> ls() >>> [1] "source.test1" "source.test2" >>>> source.test1() >>> [1] "This is a test." >>>> source.test2() >>> [1] "Non-ascii: äöüß" >>>> rm(source.test2) &

Re: [Rd] Bug in order function

2018-05-19 Thread peter dalgaard
and suggests a solution. > > Although it is a niche case, it's a very easy thing to fix :) > > Best regards, > > Karl Nordström > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-dev

Re: [Rd] download.file does not process gz files correctly (truncates them?)

2018-05-09 Thread peter dalgaard
; > > Also note that MS just announced support for unix line endings in notepad > > https://blogs.msdn.microsoft.com/commandline/2018/05/08/extended-eol-in-notepad/ > > Hadley > -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Pla

Re: [Rd] length of `...`

2018-05-03 Thread peter dalgaard
> On 3 May 2018, at 19:23 , Hadley Wickham <h.wick...@gmail.com> wrote: > > Maybe just get(paste0("..", n)) ? > > Hadley Maybe not. These things are slippery. > f <- function(...) get("..1") > f(2) Error in get("..1") : o

Re: [Rd] length of `...`

2018-05-03 Thread peter dalgaard
re also variations over dddlen <- function(...)length(match.call(expand.dots=FALSE)$...) -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk P

Re: [Rd] strange warning: data() error?

2018-04-17 Thread peter dalgaard
). So survival's source "data" directory has cgd.Rda with cgd and cgd0, but no cgd0.Rda, this is reflected in the "datalist" file in the installed package: data pd$ more datalist bladder: bladder bladder1 bladder2 cancer cgd: cgd cgd0 colon flchain genfan heart: heart jasa ja

Re: [Rd] R Lapack – why a subset?

2018-03-26 Thread Peter Dalgaard via R-devel
ps://github.com/wch/r-source/commit/98acd96f22eb795a933879c0d3f740e802855473 > > [[alternative HTML version deleted]] > > ______ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalg

Re: [R-pkg-devel] Warnings and error message in CRAN Package Check Results

2018-03-24 Thread peter dalgaard
tag=value argument specification? Aren't all the subexpressions of type "par = par" just assignments?? -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cb

Re: [R-pkg-devel] win-builder 3.3.3 libcurl error + NOTE

2018-03-24 Thread peter dalgaard
Sorry, I forgot: We don't switch until _release_ of 3.5.0, four weeks further down the line. Still, it doesn't seem worth it making much of a fuss about 3.3.3. -pd > On 24 Mar 2018, at 10:10 , peter dalgaard <pda...@gmail.com> wrote: > > Given that R-oldrelease will becom

Re: [R-pkg-devel] win-builder 3.3.3 libcurl error + NOTE

2018-03-24 Thread peter dalgaard
revent this or should I just mention this NOTE in my CRAN submission > comment? > > Tyler > > [[alternative HTML version deleted]] > > __ > R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-p

[Rd] R 3.5.0 scheduled for April 23

2018-03-20 Thread Peter Dalgaard via R-devel
Full schedule available on developer.r-project.org (pending auto-update from SVN) -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [R-pkg-devel] [CRAN-pretest-archived] CRAN submission Rpolyhedra 0.2.2

2018-03-15 Thread peter dalgaard
erinvaders > <http://surferinvaders.tumblr.com> | algebraic-soundscapes > <http://imaginary.org/content/algebraic-soundscapes> | surfer-shuffle > <http://imaginary.org/program/surfer-shuffle> > > [[alternative HTML version deleted]] > > _

[Rd] R 3.4.4 scheduled for March 15

2018-02-26 Thread Peter Dalgaard via R-devel
Full schedule available on developer.r-project.org (pending auto-update from SVN) -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [Rd] utils::install.packages with quiet=TRUE fails for source packages on Windows

2018-01-26 Thread peter dalgaard
\\Local\\Temp\\RtmpoRb97l\"" ... >> command : chr "C:/PROGRA~1/R/R-34~1.3/bin/x64/R" >> env : chr(0) >> input : NULL >> invisible : logi TRUE >> minimized : logi FALSE >> stderr : logi FALSE >> stdin : chr "" &g

Re: [Rd] [R-win] Bug 17159 - recursive dir.create() fails on windows shares due to permissions (MMaechler: Resending to R-windows@R-pr..)

2018-01-17 Thread Peter Dalgaard
mporary folder, but would much prefer that R support UNC paths – it seems a > reasonably simple fix. > > Cheers > Pete > > > On 17/01/2018, 10:52, "Peter Dalgaard" <pd@cbs.dk> wrote: > >I usually draw a complete blank if I try to assist our IT

Re: [Rd] [R-win] Bug 17159 - recursive dir.create() fails on windows shares due to permissions (MMaechler: Resending to R-windows@R-pr..)

2018-01-17 Thread Peter Dalgaard
Analysis and Mathematical Modelling > Ghent University > Coupure Links 653, B-9000 Gent (Belgium) > <https://maps.google.com/?q=Coupure+links+653,%C2%A0B-9000+Gent,%C2%A0Belgium=gmail=g> > > --- > Biowiskundedagen 2017-2018 > http://www.biowiskundedagen.ugent.b

Re: [R-pkg-devel] Warning "Dependence on R version '3.3.3' not with patchlevel 0"

2018-01-03 Thread peter dalgaard
native HTML version deleted]] >> __ >> R-package-devel@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-package-devel >> > > __ > R-package-devel@r-pro

Re: [Rd] Numerical stability in chisq.test

2017-12-28 Thread peter dalgaard
_____ >> R-devel@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-devel > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Profess

Re: [Rd] Dialect for shell scripts

2017-12-18 Thread peter dalgaard
25 >>>> [3] http://pubs.opengroup.org/onlinepubs/9699919799/ >> utilities/V3_chap02.html >>>> [4] >>>> http://pubs.opengroup.org/onlinepubs/9699919799/ >> utilities/V3_chap02.html#tag_18_06_04 >>>> >>>

Re: [Rd] Discourage the weights= option of lm with summarized data

2017-12-03 Thread peter dalgaard
the reported > number of degrees of freedom are too small." > Note that with heteroskedasticity, _the_ residual standard error > has no meaning.) > > Finally, about the original text: (B) and (C) mention only y_i, not > x_i, while this is about entire observations.

Re: [Rd] Discourage the weights= option of lm with summarized data

2017-11-28 Thread peter dalgaard
e used to give the number of trials when > the response is the proportion of successes ". Hence in the > binomial case the weights are frequencies. > With y <- 0.51 and w <- 100 you get the same result. > > Arie > > On Mon, Oct 9, 2017 at 5:22 PM, peter dalgaard

Re: [Rd] Discourage the weights= option of lm with summarized data

2017-11-28 Thread peter dalgaard
s and the p value. >> Also the number of degrees of freedom is not correct. (The parameter >> values are correct.)" >> >> A remark about the glm example: the Reference manual says: "For a >> binomial GLM prior weights are used to give the number of trials

[Rd] R 3.4.3 scheduled for November 30

2017-11-09 Thread Peter Dalgaard
Full schedule available on developer.r-project.org (pending auto-update from SVN) -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [Rd] Extreme bunching of random values from runif with Mersenne-Twister seed

2017-11-05 Thread peter dalgaard
seeds givee different output on different platforms. That shouldn't happen, I believe. > Duncan Murdoch > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-dev

Re: [Rd] Memory address of character datatype

2017-11-02 Thread peter dalgaard
quot;): >> >> library(pryr) >> x <- "abc" >> addr <- as.numeric(address(x)) + ??# what should be the value of >> the jump so that it points to the data of variable "x" (i.e. abc)? >> Thank you in advance! >&g

Re: [Rd] Discourage the weights= option of lm with summarized data

2017-10-09 Thread peter dalgaard
x <- c(1,2,3,4) >> y <- c(1,2,5,4) >> w <- c(1,1,1,n) >> xb <- c(x,rep(x[4],n-1)) # restore the original data >> yb <- c(y,rep(y[4],n-1)) >> print(summary(lm(yb ~ xb))) >> print(summary(lm(y ~ x, weights=w))) >> >> Compare with PROC

Re: [Rd] possible bug in R CMD Rd2pdf

2017-09-27 Thread peter dalgaard
ernative HTML version deleted]] > > ______ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmar

Re: [Rd] Incorrect Import by Data for CSV File

2017-09-25 Thread peter dalgaard
=TRUE) dstr <- as.Date(dstr,format="%d.%m.%Y") obsmonths <- as.numeric(end-dstr, "days")/30.6 obsmonths[obsmonths==0] <- 0.1 dead <- !is.na(died) & died < as.Date("1996-01-01") died[!dead] <- NA rm(end) }) -pd > -- > Brian D

Re: [Rd] R-devel r73293 and the testthat package

2017-09-18 Thread peter dalgaard
eason for the nickname of R-devel: > R Under development (unstable) (2017-09-16 r73293) -- "Unsuffered > Consequences" Re-stabilizing after the ALTREP updates took longer than expected, so some packages may not be updated yet. I suspect you should just wait and see if it

[Rd] R 3.4.2 scheduled for September 28

2017-08-31 Thread Peter Dalgaard
Full schedule available on developer.r-project.org (pending auto-update from SVN) -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [Rd] Are r2dtable and C_r2dtable behaving correctly?

2017-08-25 Thread peter dalgaard
> On 25 Aug 2017, at 12:04 , Peter Dalgaard <pda...@gmail.com> wrote: > >> There are three possible matrices, and these come out in proportions 1:4:1, >> the one with all cells filled with ones being >> most common. > > ... and > >> dhyper(0

Re: [Rd] Are r2dtable and C_r2dtable behaving correctly?

2017-08-25 Thread Peter Dalgaard
possible values in 0:100 > instead of such a "normal like" distribution with carrier only > in [34, 67]. > > There are newer publications and maybe algorithms. > So maybe the algorithm is "flawed by design" for really large > total number of observations, rat

Re: [R-pkg-devel] package dependencies not detected?

2017-08-16 Thread peter dalgaard
t; do.call(graphics::legend, args) > } > ", file="R/testFun.R") > > devtools::check() # no problems - even though I only import plot, not legend > # same thing if I use graphics::legend directly (outside of do.call) > > > [[alternative HTML version deleted]] &

Re: [Rd] configure.ac

2017-08-01 Thread peter dalgaard
nfigure gives the same BLAS error. > > But I'm farily sure one shouldn't run to see what's wrong with BLAS,ratehr > it's just the configure options not being read properly. The > AM_INIT_AUTOMAKE > issue definitely seems important. > > Is there anything I'm missing? > > Cheers and thanks in a

Re: [Rd] italic font on cairo devices in R 3.4

2017-07-23 Thread Peter Dalgaard
r font to use and falls back to >>> something weird. Ideas? >>> >>> Note that I'm not subscribed to the list, so please CC me in replies. >>> >>> Cheers, Ilia >>> >>> __ >>> R-de

Re: [Rd] [patch] ?confint: "assumes asymptotic normality"

2017-07-20 Thread peter dalgaard
>>> } >>> \details{ >>> \code{confint} is a generic function. The default method assumes >>> - asymptotic normality, and needs suitable \code{\link{coef}} and >>> + normality, and needs suitable \code{\link{coef}} and >>> \co

Re: [Rd] make check-recommended hanging on up-to-date Rdevel from SVN

2017-07-07 Thread peter dalgaard
n_US.UTF-8/en_US.UTF-8 > > > attached base packages: > > [1] stats graphics grDevices utils datasets methods base > > > other attached packages: > > [1] Matrix_1.2-10 > > > loaded via a namespace (and not attached): > > [1] compiler_3.5.0

Re: [Rd] Odd behaviour in within.list() when deleting 2+ variables

2017-06-26 Thread peter dalgaard
> On 26 Jun 2017, at 21:56 , Martin Maechler <maech...@stat.math.ethz.ch> wrote: > > > Indeed, the fix I've committed reverts almost to the previous > first version of within.data.frame (which is from Peter > Dalgaard, for those who don't know). > Great for

Re: [Rd] Odd behaviour in within.list() when deleting 2+ variables

2017-06-26 Thread Peter Dalgaard
> On 26 Jun 2017, at 19:04 , Martin Maechler <maech...@stat.math.ethz.ch> wrote: > >>>>>> peter dalgaard <pda...@gmail.com> >>>>>>on Mon, 26 Jun 2017 13:43:28 +0200 writes: > >> This seems to be due to changes made

Re: [Rd] Odd behaviour in within.list() when deleting 2+ variables

2017-06-26 Thread peter dalgaard
more > variables, compared to deleting one: > > l <- list(x=1, y=2, z=3) > > within(l, > { >rm(z) > }) > #$x > #[1] 1 > # > #$y > #[1] 2 > > > within(l, { >rm(y) >rm(z) > }) > #$x > #[1] 1 > # > #$y > #NULL &

Re: [Rd] duplicated factor labels.

2017-06-23 Thread peter dalgaard
eally should not "break behavior". >> This means to me we cannot accept a change there which gives >> an error or a different result in cases the old behavior gave a valid factor. > >> I'm looking at a possible change currently >> [not promising that a change will happen

Re: [Rd] [WISH / PATCH] possibility to split string literals across multiple lines

2017-06-16 Thread peter dalgaard
> call really matters (and I'm not convinced of that), then shouldn't it be > solved by the compiler applying constant folding to paste0()? And, of course, if it is equivalent to a literal, it can be precomputed. There is no point in having it in the middle of a tight loop. -- Peter Dalgaard, Professor,

Re: [Rd] R history: Why 'L; in suffix character ‘L’ for integer constants?

2017-06-16 Thread peter dalgaard
quot;short integer" or simply "integer") >>> https://en.wikipedia.org/wiki/C_data_types >> >> ______ >> R-devel@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-devel > > [[alternative HTML version deleted]] >

Re: [Rd] 'ordered' destroyed to 'factor'

2017-06-16 Thread peter dalgaard
dered(c("a","c")), ordered(c("b","d" (Notice that alphabetical order is largely irrelevant, so all of these level orderings are equally possible: a < c < b < d a < b < c < d a < b < d < c b < a < c < d b < a < d <

Re: [Rd] Unexpected interaction between missing() and a blank expression

2017-06-06 Thread peter dalgaard
up in a few esoteric constructions. Trying do anything constructive with the missing object usually leads to grief, or at least surprises, e.g.: > z <-quote(expr=) > z <- z Error: argument "z" is missing, with no default -pd -- Peter Dalgaard, Professor, Center for Statistics, C

[R-pkg-devel] R 3.4.1 at end of June

2017-06-02 Thread peter dalgaard
of other people). - Peter Dalgaard -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com -- Peter Dalgaard, Professor, Center

Re: [Rd] stats::line() does not produce correct Tukey line when n mod 6 is 2 or 3

2017-05-29 Thread peter dalgaard
ould be >>> asymptotically equivalent under pretty weak assumptions), so it's not >>> surprising the x value doesn't correspond perfectly to the y value, and the >>> line ends up "wrong". >>> >>> So is it a bug? Well, that depends on Tukey's defi

Re: [R-pkg-devel] Help package checks using valgrind

2017-05-23 Thread peter dalgaard
default > BLAS: /usr/local/lib64/R/lib/libRblas.so > LAPACK: /usr/local/lib64/R/lib/libRlapack.so > > > source code is at http://github.com/merliseclyde/BAS > > > > Merlise A Clyde > Professor & Chair Department of Statistical Science > Duke University &

Re: [Rd] help pages base R not rendered correctly?

2017-05-23 Thread peter dalgaard
e underestimated, though (in .be as in .dk, I suspect). ;-) -pd > > Cheers > Joris > -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: p

Re: [Rd] [R] Somewhat obscure bug in R 3.4.0 building from source

2017-05-21 Thread Peter Dalgaard
ee >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. >> > > __ > R-deve

Re: [Rd] [R] R-3.4.0 fails test

2017-05-18 Thread peter dalgaard
> On 18 May 2017, at 14:58 , Martyn Plummer <plumm...@iarc.fr> wrote: > > > >> On 18 May 2017, at 14:51, peter dalgaard <pda...@gmail.com> wrote: >> >> >>> On 18 May 2017, at 13:47 , Joris Meys <jorism...@gmail.com> wrote: >>>

Re: [Rd] [R] R-3.4.0 fails test

2017-05-18 Thread peter dalgaard
. So the time itself doesn't > change, but you'll see a different hour. > > > dct > [1] "2016-12-06 21:45:41 CET" "2016-12-06 21:45:42 CET" > ... > > attr(dct,"tzone") <- "UTC" > > dct > [1] "20

Re: [Rd] [R] R-3.4.0 fails test

2017-05-18 Thread peter dalgaard
> On 18 May 2017, at 11:00 , Patrick Connolly <p_conno...@slingshot.co.nz> > wrote: > > On Wed, 17-May-2017 at 01:21PM +0200, Peter Dalgaard wrote: > > |> > |> Anyways, you might want to > |> > |> a) move the discussion to R-devel > |> b)

Re: [Rd] stopifnot() does not stop at first non-TRUE argument

2017-05-15 Thread peter dalgaard
rtin Maechler <maech...@stat.math.ethz.ch> wrote: > >>>>>> peter dalgaard <pda...@gmail.com> >>>>>>on Mon, 15 May 2017 16:28:42 +0200 writes: > >> I think Hervé's idea was just that if switch can evaluate arguments >> sel

Re: [Rd] stopifnot() does not stop at first non-TRUE argument

2017-05-15 Thread peter dalgaard
nt("Hey!!!") == "Hey!!!") Stopifnot(T,T,T,T,T,T,T,T,T,T,T,T,T,T,T,T,F,T) > On 15 May 2017, at 15:37 , Martin Maechler <maech...@stat.math.ethz.ch> wrote: > > I'm still curious about Hervé's idea on using switch() for the > issue. -- Peter Dalgaa

Re: [Rd] lm() gives different results to lm.ridge() and SPSS

2017-05-06 Thread peter dalgaard
roupings, etc. (Does SPSS really still not have an automated way of generating interaction terms? 1977 called googling Looks like GLM understands them, REGRESS not.) -pd > > Best, > Nick > > From: "John Fox" <j...@mcmaster.ca> > To: "Nick Br

Re: [Rd] lm() gives different results to lm.ridge() and SPSS

2017-05-05 Thread peter dalgaard
191.html ("Is it perhaps > the case that x1 and x2 have already been scaled to have standard deviation > 1? In that case, x1*x2 won't be.") > > Best, > Wolfgang > > -Original Message- > From: R-devel [mailto:r-devel-boun...@r-project.org] On Behalf Of Nick

Re: [Rd] lm() gives different results to lm.ridge() and SPSS

2017-05-05 Thread peter dalgaard
t;> will >> not be easy to make, but I can share the data via Dropbox or something if >> that >> would help. >> >> >> >> I appreciate that when there is strong collinearity then all bets are off in >> terms >> of what the be

Re: [Rd] lm() gives different results to lm.ridge() and SPSS

2017-05-04 Thread peter dalgaard
gt; moment it's part of the majority!) > > > > Thanks for reading, > Nick > > > [[alternative HTML version deleted]] > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-d

Re: [Rd] failure of make check-all

2017-04-06 Thread peter dalgaard
, control, weights = weights, : > object 'Ccoxmart2' not found > > Looking at src/coxmart2.c and src/init.c I don't see anything different than > the other dozen .C routines in my survival package. The file tests/book7.R > in the package exercises this routine, and CMD chec

Re: [Rd] failure of make check-all

2017-04-06 Thread peter dalgaard
e' ... OK > running code in 'lapack.R' ... OK > comparing 'lapack.Rout' to './lapack.Rout.save' ... OK > running code in 'datasets.R' ... OK > comparing 'datasets.Rout' to './datasets.Rout.save' ... OK > running code in 'datetime.R' ... OK > comparing 'datetime.Rout' to './dat

Re: [Rd] Very hard to reproduce bug (?) in R-devel

2017-04-05 Thread peter dalgaard
backtracking using hardware watchpoints and such. As in: This memory location doesn't contain the value I expected; what changed it? -pd -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23

Re: [Rd] Error in documentation for ?legend

2017-03-27 Thread peter dalgaard
ether it might have been fixed in one of the more recent releases, etc. (I didn't fix it immediately on the off chance that the original author had actually planned to implement a title.cex feature. But he probably didn't.) -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business

Re: [Rd] Error in documentation for ?legend

2017-03-25 Thread peter dalgaard
lit/> > > > [http://mlm.polyu.edu.hk/PolyU80_Email_Signature.png] > > www.polyu.edu.hk/80anniversary<http://www.polyu.edu.hk/80anniversary> > > Disclaimer:\ \ This message (including any attachments) ...{{dropped:19}} > > __ >

[Rd] R 3.4.0

2017-03-17 Thread Peter Dalgaard
R 3.4.0 "You Stupid Darkness" is now scheduled for April 21 The detailed schedule can be found on developer.r-project.org For the Core Team Peter D. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark P

Re: [Rd] Pressing either Ctrl-\ of Ctrl-4 core dumps R

2017-02-13 Thread peter dalgaard
o add a Ctrl modifier to that. -pd -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-dev

[Rd] R 3.3.3 on March 6

2017-02-05 Thread Peter Dalgaard
of the R Core Team Peter Dalgaard -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel

Re: [Rd] Unexpected EOF in R-patched_2017-01-30

2017-01-31 Thread peter dalgaard
ror is not recoverable: exiting now > > I got the same error for R-patched_2017-01-30.tar.gz but not for > R-3.3.2.tar.gz. > > Thank you, > > Avi > > ______ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailma

Re: [Rd] unlicense

2017-01-18 Thread peter dalgaard
an.org/media/packages/w/wiredtiger/copyright-2.6.1%2Bds-1 >>>>> >>>>> This follows the format explained in >>>>> >>>>> >>>>> https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/#license-spec

Re: [Rd] problem with print.generic(x)deparse(substitute(x))

2017-01-09 Thread peter dalgaard
computed and passes it to the relevant print method, so you get this effect: > print.dum <- function(x, ...) + print(deparse(substitute(x))) > k [1] "x" -pd -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederi

Re: [Rd] [R] Problems when trying to install and load package "rzmq"

2017-01-03 Thread peter dalgaard
gt; >> > > [[alternative HTML version deleted]] > > __ > r-h...@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-

Re: [Rd] unlist strips date class

2016-12-05 Thread peter dalgaard
o "Date" method for unlist(), but there is for c(). It is not clear that the two should be kept in lockstep and there is certainly no mechanism to enforce that. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Ph

Re: [Rd] using with inside loop breaks next

2016-10-27 Thread Peter Dalgaard
(a)/(c) mostly, I think. The crux is that "next" is unhappy about being evaluated in a different environment than the containing loop. Witness this: > for (i in 1:10) {if (i == 5) evalq(next); print(i)} [1] 1 [1] 2 [1] 3 [1] 4 [1] 6 [1] 7 [1] 8 [1] 9 [1] 10 > for (i in 1:10) {if (i == 5)

Re: [Rd] BUG?: On Linux setTimeLimit() fails to propagate timeout error when it occurs (works on Windows)

2016-10-26 Thread peter dalgaard
0-23 r71574): >> >>> setTimeLimit(elapsed=1) >>> system.time({ Sys.sleep(10); message("done") }) >> Error in Sys.sleep(10) : reached elapsed time limit >> Timing stopped at: 0.113 0.042 10.038 >> >> Berend >> > > _

Re: [Rd] BUG?: On Linux setTimeLimit() fails to propagate timeout error when it occurs (works on Windows)

2016-10-26 Thread peter dalgaard
ks, Yosemite and Sierra) -pd -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project

Re: [Rd] typo or stale info in qr man

2016-10-25 Thread peter dalgaard
Thank you for the 'heads up'. > > Martin Maechler > ETH Zurich > > ______ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor, Center for Statistics, Copenha

Re: [Rd] anonymous function parsing bug?

2016-10-21 Thread peter dalgaard
ctively the same as f <- function(a) { { some_computation }(x) } where you seem to be expecting {f <- function(a) { { some_computation } }(x) Got it? -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, De

Re: [R-pkg-devel] R Packages Never Finish Check

2016-10-01 Thread peter dalgaard
t; exclusive attention of the intended addressees named above. If you have >> received this transmission in error, please immediately notify the sender by >> return e-mail and delete this message and its attachments. Unauthorized use, >> copying or further full or partial distribution

Re: [Rd] Numerical accuracy of matrix multiplication

2016-09-16 Thread peter dalgaard
el@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com _

Re: [R-pkg-devel] Compiler choice on CRAN (R-windows-oldrel)

2016-08-25 Thread peter dalgaard
______ > R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Em

Re: [Rd] problem with abine(lm(...)) for plot(y~x, log='xy')

2016-08-07 Thread peter dalgaard
t; > > Spencer Graves > > ______ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Busine

Re: [Rd] What happened to Ross Ihaka's proposal for a Common Lisp based R successor?

2016-08-05 Thread peter dalgaard
nothing definitive. Does anyone know? Presumably Ross does... You get a hint if you go one level up and look for the newest file: https://www.stat.auckland.ac.nz/~ihaka/downloads/New-System.pdf -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 200

Re: [R-pkg-devel] Pkgs with ToS violations

2016-08-04 Thread peter dalgaard
| e...@debian.org > > __ > R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksb

Re: [R-pkg-devel] Recommendation on qr method export

2016-08-02 Thread Peter Dalgaard
Not strictly what you're asking, but at some point it may be important to note that the "QR" method used by lm() and friends (notably anova() and aov()) actually relies on successive orthogonalization. This does yield a QR decomposition but the reverse is not true. A generic X=QR decomposition

Re: [Rd] Issues building from svn

2016-07-19 Thread peter dalgaard
> > Dirk > Er, a "not" went missing in there?? -p > -- > http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] String encoding problem

2016-07-07 Thread peter dalgaard
s now and a fourth one might be to actually allow mixing of \u0007 and \x07 and \007, but I suspect that there are demons down the line which is why it is not happening now. (Does it ring a bell with anyone?) -pd -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School

Re: [Rd] Latest R-devel build failing on OS X

2016-05-18 Thread peter dalgaard
Spoke too soon, both systems now build, but neither has the original bugs fixed (Incidentally, I realized why the ctl-R...ctl-C bug never bit me: The emacs habit is to exit isearch with ctl-G and that works flawlessly.) -pd > On 18 May 2016, at 22:40 , peter dalgaard <pda...@gma

Re: [Rd] Latest R-devel build failing on OS X

2016-05-18 Thread peter dalgaard
18 May 2016, at 22:01 , peter dalgaard <pda...@gmail.com> wrote: > > gcc -L/usr/X11R6/lib -o R.bin Rmain.o CommandLineArgs.o Rdynload.o > Renviron.o RNG.o agrep.o apply.o arithmetic.o array.o attrib.o bind.o > builtin.o character.o coerce.o colors.o complex.o connections.o con

Re: [Rd] Latest R-devel build failing on OS X

2016-05-18 Thread peter dalgaard
clang -Wall -mtune=core2 -g -O2 >>> Fortran 77 compiler: gfortran-4.8 -g -O2 >>> >>> C++ compiler: clang++ -Wall -mtune=core2 -g -O2 >>> C++11 compiler:clang++ -std=c++11 -Wall -mtune=core2 -g -O2 >>> Fortran 90/95 compi

Re: [Rd] Latest R-devel build failing on OS X

2016-05-18 Thread peter dalgaard
as), curl > Additional capabilities: PNG, JPEG, TIFF, NLS, cairo, ICU > Options enabled: shared R library, R profiling, memory profiling > > Capabilities skipped: > Options not enabled: shared BLAS > > Recommended packages: yes > > > Apolog

Re: [Rd] where to send patches to R source code

2016-05-13 Thread peter dalgaard
r > hurry, but from what we've observed it seems like waiting for someone > concerned to come along and finally read Bugzilla or the R-Devel > archives is not going to result in a very dense Poisson process... > > Thanks, > > Frederick Eaton > > On Thu, May 12, 2016 at 03

Re: [Rd] where to send patches to R source code

2016-05-12 Thread peter dalgaard
ad been able to see there is a problem > existing outside of your personal computer. > > I agree that this must seem a bit frustrating to you. > > -- > Martin > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel --

Re: [Rd] boxplot with formula involving two-factor levels

2016-04-29 Thread peter dalgaard
st, > Yanming > [[alternative HTML version deleted]] > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor, Center for Statistics, C

Re: [Rd] residual standard "error"

2016-04-28 Thread peter dalgaard
rinted in lecture notes and other text books. > > For that reason I did not dare to change it in print.summary.lm(), > even though I could have been one of the few to change it at a time > when are was still in its infancy and (years *before* it got to > version 1.0.0 on Feb.29,

Re: [Rd] Fresh build from source of R-3.2.5 failing "make check" under 64-bit Ubuntu [SOLVED]

2016-04-22 Thread peter dalgaard
is not good, but not an R-Devel problem. On a hunch: Check out what the "soft" mount option does. I seem to recall some complications related to immediacy of operations. -pd -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiks

Re: [Rd] Fresh build from source of R-3.2.5 failing "make check" under 64-bit Ubuntu

2016-04-21 Thread peter dalgaard
yTst", > + res[,"LibPath"] == "myLib") > Error: identical(res[, "Package"], setNames(, sort(c(p.lis, "myTst" > is not TRUE > Execution halted > >> ls myLib > exNSS4 myTst pkgA pkgB > > So, it looks like the "inst

Re: [Rd] Benchmarks for R

2016-04-21 Thread peter dalgaard
> [[alternative HTML version deleted]] > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+4

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