Re: [Rd] How to enable core dump?

2010-04-09 Thread peter dalgaard
-- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [Rd] Why no race condition when returning UNPROTECT-ed memory from C?

2010-04-14 Thread peter dalgaard
allocate something, but in the above, there aren't any. You need to watch out with the unprotected return value, though: fee(foo(), fum()) is a standard bug source if fum() allocates. -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark

Re: [Rd] Issue with aggregate.ts and/or %\% on Windows

2010-04-19 Thread Peter Dalgaard
storage in an extended precision register. -- Peter Dalgaard Center for Statistics, Copenhagen Business School Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo

Re: [Rd] Bugs? when dealing with contrasts

2010-04-22 Thread Peter Dalgaard
Gabor Grothendieck wrote: On Wed, Apr 21, 2010 at 4:26 PM, Peter Dalgaard pda...@gmail.com wrote: ... I.e., that R reverts to using indicator variables when the intercept is absent. Is there any nice way of getting contr.sum coding for the interaction as opposed to the ugly code in my post

Re: [Rd] segfault with format.POSIXct()

2010-04-23 Thread peter dalgaard
). -- Seb __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk

Re: [Rd] segfault with format.POSIXct()

2010-04-23 Thread peter dalgaard
On Apr 23, 2010, at 4:17 PM, Duncan Murdoch wrote: On 23/04/2010 10:03 AM, peter dalgaard wrote: On Apr 23, 2010, at 2:50 PM, Sebastian P. Luque wrote: On Fri, 23 Apr 2010 13:31:14 +0200, Uwe Ligges lig...@statistik.tu-dortmund.de wrote: Works for me, both under Windows (32 and 64 bit

Re: [Rd] serial connection patch

2010-04-27 Thread Peter Dalgaard
either. Duncan Murdoch -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org mailing list https

Re: [Rd] Rd2dvi pagination of index in pdf manual

2010-04-28 Thread peter dalgaard
, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UKFax: +44 1865 272595 __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter

Re: [Rd] Rd2dvi pagination of index in pdf manual

2010-04-29 Thread peter dalgaard
sure that we need the fourth pdflatex pass (i.e., maybe makeindex just kicked in too soon), so the fix was defensive. It will do for now, though, if things are going to change. -pd -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark

Re: [Rd] update.packages fails with directory not found

2010-05-11 Thread peter dalgaard
to rename it? I understand of course that the developers have better things to do than to wrestle with the caprice of Windows. -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda

Re: [Rd] R CMD check

2010-05-17 Thread Peter Dalgaard
definition of T or F, in which case things are fine, or at least not wrong for this particular reason.) -- Peter Dalgaard Center for Statistics, Copenhagen Business School Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org

Re: [Rd] SVN vs DVCS

2010-05-26 Thread Peter Dalgaard
always trivial to resolve: Either a matter of selecting one of two changes or keeping both. -- Peter Dalgaard Center for Statistics, Copenhagen Business School Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org

Re: [Rd] Argument recycling in substring()

2010-06-04 Thread peter dalgaard
) does NOT give an error.) Of course it is never harmful to be explicit about things -Deepayan __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard Center for Statistics, Copenhagen Business

Re: [Rd] Question on trying to build R 2.11.1 on Tru64(aka OSF1) system

2010-06-08 Thread Peter Dalgaard
in R.sh.in). We even do it using @OSF_SH_BUG@, which would probably be a good idea to clone in Rcmd.in. On the other hand, the use of $...@} in Rcmd.in goes back to at least 2002, which is a bit puzzling. Did OSF really not get tested since then?? -- Peter Dalgaard Center for Statistics, Copenhagen

Re: [Rd] Question on trying to build R 2.11.1 on Tru64(aka OSF1)

2010-06-09 Thread Peter Dalgaard
as it is executed. -- Peter Dalgaard Center for Statistics, Copenhagen Business School Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] [R] Prime Numbers Pkgs - Schoolmath is broken

2010-06-15 Thread Peter Dalgaard
that he has egg on his face... -pd -- Peter Dalgaard Center for Statistics, Copenhagen Business School Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] proposed change to 'sample'

2010-06-20 Thread Peter Dalgaard
, and default x to say 1:max(n, size), forcing users to say sample(n=5) if sampling from x=1:5 is desired. This could be a manageable change; the deprecation sequence is a bit painful to think through, though. -- Peter Dalgaard Center for Statistics, Copenhagen Business School Phone: (+45)38153501

Re: [Rd] proposed change to 'sample'

2010-06-20 Thread Peter Dalgaard
, it cannot be changed in one go, we'd need to go through a sequence where we (e.g.) 1. warn about length(x)==1 2. say that length(x)==1 is deprecated 3. have length(x)==1 throw an error 4. wait 5. give length(x)==1 a new meaning -- Peter Dalgaard Center for Statistics, Copenhagen Business School

Re: [Rd] [R] New errors with difftime()-objects in 2.11.1 (was Re: Request: difftime method for cut())

2010-06-22 Thread Peter Dalgaard
to be numeric in 2.11.1, when the code's been working fine before and the error messages are obscure. I don't think you realize the problems that could occur by assuming that difftime objects are numerics ON ANY PARTICULAR SCALE! -- Peter Dalgaard Center for Statistics, Copenhagen Business School Phone

Re: [Rd] Possible bug in 2.11.x texmf makefile.in and some related things...

2010-07-05 Thread Peter Dalgaard
to edit RJournal.dtx and not RJournal.sty...) -- Peter Dalgaard Center for Statistics, Copenhagen Business School Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [Rd] Strange R object

2010-07-09 Thread Peter Dalgaard
, corresponding to the bit being turned on). I don't think it is the job of load() to verify object structures, since there is no end to that task. Rather, we shouldn't create them in the first place, but you give us no clues as to how that object got made. -- Peter Dalgaard Center for Statistics

Re: [Rd] Strange R object

2010-07-09 Thread Peter Dalgaard
Gabor Grothendieck wrote: On Fri, Jul 9, 2010 at 5:09 AM, Peter Dalgaard pda...@gmail.com wrote: Gabor Grothendieck wrote: I have *** attached *** an RData file containing an R object that is acting strangely. Try this in a fresh workspace. Do not load zoo or any other package. We load

Re: [Rd] re ading SPSS .sav files (PR#13509)

2010-07-17 Thread Peter Dalgaard
on how to make the read.spss work. Please help! It's a warning, not an error. Did you not get a result returned from read.spss(...) ?? (This is hardly R-devel material, and your R is a year out of date.) -- Peter Dalgaard Center for Statistics, Copenhagen Business School Phone: (+45)38153501 Email

Re: [Rd] garbage collection memory leaks in 'R', it seems...

2010-07-17 Thread Peter Dalgaard
a different kettle of fish. In particular, user programs like R relies on having all objects mapped to a single linear address space, whereas the OS just needs to create a set of per-process virtual address spaces and has hardware help to do so. -- Peter Dalgaard Center for Statistics, Copenhagen Business

Re: [Rd] problem with zero-weighted observations in predict.lm?

2010-07-29 Thread Peter Dalgaard
Peter Dalgaard wrote: William Dunlap wrote: In modelling functions some people like to use a weight of 0 to drop an observation instead of using a subset value of FALSE. E.g., weights=c(0,1,1,...) instead of subset=c(FALSE, TRUE, TRUE, ...) to drop the first observation. lm

Re: [Rd] problem with zero-weighted observations in predict.lm?

2010-07-29 Thread Peter Dalgaard
. Will commit to R-devel shortly. -p -- Peter Dalgaard Center for Statistics, Copenhagen Business School Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] problem with zero-weighted observations in predict.lm?

2010-07-29 Thread Peter Dalgaard
Peter Dalgaard wrote: Prof Brian Ripley wrote: I think you will find that 'n' is used in several ways in predict.lm, and since NA-handling was introduced in R 1.8.0 they may differ in value. So the safest route seems to be to change just 'n' in df - n - p Yes, that seems

Re: [Rd] R CMD build wiped my computer (from R-help)

2010-08-01 Thread Peter Dalgaard
/mailman/listinfo/r-devel __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard Center for Statistics, Copenhagen Business School Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [Rd] suggestion for ?factor

2010-08-09 Thread peter dalgaard
-- __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email

Re: [Rd] accessing tcl variables within R and tcl

2010-08-12 Thread Peter Dalgaard
remember these matters correctly, you are seeing the difference between set RTcl1 and test $RTcl1. -- Peter Dalgaard Center for Statistics, Copenhagen Business School Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r

Re: [Rd] One possible cause for incorrect symbols in X11() output

2010-08-19 Thread peter dalgaard
pretty ugly. This is why quartz is now the default on OSX. BTW, it seems that the standard X11 Symbol,Regular font is simply absent on OSX. I can't get fc-match to list it, anyway. -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark

Re: [Rd] One possible cause for incorrect symbols in X11() output

2010-08-19 Thread peter dalgaard
On Aug 19, 2010, at 1:04 PM, Prof Brian Ripley wrote: On Thu, 19 Aug 2010, peter dalgaard wrote: On Aug 19, 2010, at 9:15 AM, Jari Oksanen wrote: The X11(type = 'cairo') shows the problem with example(points); TestChars(font=5). However, there is no problem with the default device

Re: [Rd] One possible cause for incorrect symbols in X11() output

2010-08-19 Thread peter dalgaard
On Aug 19, 2010, at 1:55 PM, peter dalgaard wrote: It is also not using pango, and so not selecting fonts the same way as on Linux. You're assuming (in fact, correctly) that I was using Simon's build, but my locally built version is similar. That doesn't appear to use pango either; I

Re: [Rd] adding a built-in drop.levels option for subset() in 2.12 ?

2010-08-23 Thread peter dalgaard
compatibility/efficiency) to the subset function ... ? If not, would a patch to the documentation and/or the R FAQ be accepted? Ben, there is now a dropLevels() _function_ in R-devel, please try it on for size. -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000

Re: [Rd] Surprising behavior of Negate()

2010-08-30 Thread Peter Dalgaard
-- almost never intentional. Testing your patch now. -p -- Peter Dalgaard Center for Statistics, Copenhagen Business School Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [Rd] R and Epi Info

2010-09-01 Thread peter dalgaard
that at least some of the regulars are familiar with Epi Info and the list includes the authors of several R packages for epidemiology. -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv

Re: [Rd] Drop single-dimensional array

2010-09-08 Thread Peter Dalgaard
-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard Center for Statistics, Copenhagen Business School Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org mailing list

Re: [Rd] A couple of typos in ?pairwise.t.test

2010-09-10 Thread peter dalgaard
list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r

Re: [Rd] More strange R CMD build/check errors on Windows

2010-09-12 Thread Peter Dalgaard
with mysteriously disappearing intermediate files in several cases, so I thought I'd mention it. -- Peter Dalgaard Center for Statistics, Copenhagen Business School Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org mailing

Re: [Rd] value returned by by()

2010-09-15 Thread peter dalgaard
[1] 26.38889 -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org mailing list https

Re: [Rd] a small suggestion for improving the building of packages

2010-09-15 Thread peter dalgaard
anybody discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable. There is another theory which states that this has already happened. -- Peter Dalgaard Center for Statistics, Copenhagen Business School

Re: [Rd] License of R manuals

2010-09-29 Thread Peter Dalgaard
/mailman/listinfo/r-devel -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org mailing list https

Re: [Rd] Assignment to a slot in an S4 object in a list seems to violate copy rules?

2010-09-30 Thread peter dalgaard
that the assignment target in calls to assignment functions via the complex assignment mechanism always has NAMED == 1. -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [Rd] R-beta_2010-10-02_r53128 fails to compile on FreeBSD

2010-10-03 Thread Peter Dalgaard
/listinfo/r-devel -- Peter Dalgaard Center for Statistics, Copenhagen Business School Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R-beta_2010-10-02_r53128 fails to compile on FreeBSD

2010-10-03 Thread Peter Dalgaard
with the one intended for the OS (that's what include files and macros are for, after all). -- Peter Dalgaard Center for Statistics, Copenhagen Business School Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org

Re: [Rd] Recursion error after upgrade to R_2.11.1 [Sec=Unclassified] [Sec=Unclassified]

2010-10-07 Thread Peter Dalgaard
* $HOME/scripts/R-set-version '2.12.0 beta' 02 00 8 10 * $HOME/scripts/R-set-version '2.12.2 RC' Fortunately, I saw the mail with a failing prerelease build before going to bed, so it should be fixed now. -pd -- Peter Dalgaard Center for Statistics, Copenhagen Business School Phone: (+45

Re: [Rd] What do you call the value that represents a missing argument?

2010-10-09 Thread Peter Dalgaard
doesn't fail already on the assignment to y. Somehow it would have been more logical if missing values could _only_ appear inside lists. Except in actual function arguments, of course.) -- Peter Dalgaard Center for Statistics, Copenhagen Business School Phone: (+45)38153501 Email: pd@cbs.dk Priv

Re: [Rd] make error for R 2.13.0 (and 2.12.0)

2010-10-18 Thread Peter Dalgaard
. Radford Neal __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard Center for Statistics, Copenhagen Business School Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [Rd] $- fails (invalid subscript type 'language')

2010-10-24 Thread Peter Dalgaard
an unevaluated expression, which has mode language. If you insist, you can do things like eval(bquote(`$-`(x, .(as.name(tv[[1]])), 4343))) or similar constructs using substitute(). However, the whole situation suggests that you are really looking for methods for [[-. -- Peter Dalgaard Center

Re: [Rd] Evaluation puzzle

2010-11-11 Thread Peter Dalgaard
[1] ls() [1] mydata zed Browse[1] tfun function(mydata) { zed - 100 + (1:nrow(mydata)) * 20 survexp.test(zed ~ 1, data=mydata) } -- Peter Dalgaard Center for Statistics, Copenhagen Business School Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [Rd] Bug in read.table?

2010-11-16 Thread peter dalgaard
that then aspect... -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org mailing list https

Re: [Rd] GPL and R Community Policies (Rcpp)

2010-12-02 Thread peter dalgaard
attempt of impartial mediation will be seen by both parties as siding with the other. -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [Rd] 'identical' and the warning ignoring non-pairlist attributes

2010-12-11 Thread peter dalgaard
on debugging at that level, but I don't think CHARSXPs are supposed to _have_ attributes in any meaningful context, so perhaps identical() just shouldn't check. On the other hand, it could also be the sign of a memory overrun in the preceding memory-intensive operation. -- Peter Dalgaard Center

Re: [Rd] 'identical' and the warning ignoring non-pairlist attributes

2010-12-11 Thread peter dalgaard
On Dec 11, 2010, at 11:23 , peter dalgaard wrote: On Dec 11, 2010, at 08:23 , Niels Richard Hansen wrote: Dear R developers Using the 'foreach' package I encounter warnings like Warning message: In identical(.combine, cbind) : ignoring non-pairlist attributes Warnings appear once

Re: [Rd] 'identical' and the warning ignoring non-pairlist attributes

2010-12-12 Thread peter dalgaard
search through a chained list of names is necessary.) -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r

Re: [Rd] Warning message when items of Hmisc are masked by loading a package.

2010-12-21 Thread peter dalgaard
tel : +32 9 264 59 87 joris.m...@ugent.be --- Disclaimer : http://helpdesk.ugent.be/e-maildisclaimer.php __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard Center

Re: [Rd] environment question

2010-12-26 Thread peter dalgaard
University of Kansas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd

Re: [Rd] problem building R 2.12.1 64-bit on Windows 7

2010-12-30 Thread peter dalgaard
: Is there a virus scanner active on the system? We have had a couple of reports that turned out to be antivirus software swiping files away for checking right under the nose of their confused maker... -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg

Re: [Rd] scoping/non-standard evaluation issue

2011-01-04 Thread peter dalgaard
, e) update(mod, subset=.subs) } The catch is that it is not quite so easy to update the formula of a model. -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [Rd] scoping/non-standard evaluation issue

2011-01-05 Thread peter dalgaard
-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [Rd] scoping/non-standard evaluation issue

2011-01-06 Thread peter dalgaard
the argument will certainly defeat the nonstandard evaluation issues. Another version of the same idea is eval(bquote(update(mod, .(subs))) The only thing is that if the argument is ever deparsed, you might get a messy display. E.g., try eval(bquote(plot(.(rnorm(20) -pd -- Peter

Re: [Rd] as.environment.list provides inconsistent results under torture

2011-01-12 Thread peter dalgaard
.). I lost track a bit in the frenzy and I never got around to backing out everything. -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com

[Rd] Windows script editor and locale

2011-01-21 Thread peter dalgaard
be nice if there was something like a set-coding-system to call up via a menu item. Any pointers? -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [Rd] + operator on characters revisited

2011-01-23 Thread peter dalgaard
to be equal to x12 or x3? -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org mailing list https

Re: [Rd] trojan at current development version?

2011-01-28 Thread peter dalgaard
at bin\i386. We have seen false positives before (accidental mismatch between virus signatures and legitimate programs). But presumably, the Windows maintainers will double-check, just in case. -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000

Re: [Rd] Problem with confint function

2011-02-11 Thread peter dalgaard
A. Aguilar A. - aka Kino [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000

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

2011-02-23 Thread peter dalgaard
(model1,model2,...). I'm not quite up to figuring out how complicated that would be. -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [Rd] broken link on CRAN

2011-02-28 Thread peter dalgaard
://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org mailing list

Re: [Rd] Create an environment and assign objects to it in one go?

2011-03-09 Thread peter dalgaard
-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel

Re: [Rd] Standardized Pearson residuals

2011-03-14 Thread peter dalgaard
/mailman/listinfo/r-devel -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org mailing list https

Re: [Rd] Standardized Pearson residuals

2011-03-15 Thread peter dalgaard
On Mar 15, 2011, at 13:42 , John Maindonald wrote: Peter Dalgaard: It would also be nice for teaching purposes if glm or summary.glm had a pearsonchisq component and a corresponding extractor function, but I can imagine that there might be arguments against it that haven't occured to me

Re: [Rd] Standardized Pearson residuals

2011-03-15 Thread peter dalgaard
On Mar 15, 2011, at 14:22 , Jari Oksanen wrote: On 15/03/11 13:17 PM, peter dalgaard pda...@gmail.com wrote: On Mar 15, 2011, at 04:40 , Brett Presnell wrote: Background: I'm currently teaching an undergrad/grad-service course from Agresti's Introduction to Categorical Data Analysis

Re: [Rd] Standardized Pearson residuals (and score tests)

2011-03-17 Thread peter dalgaard
3052, Australia. sm...@wehi.edu.au http://www.wehi.edu.au http://www.statsci.org/smyth Date: Tue, 15 Mar 2011 12:17:46 +0100 From: peter dalgaard pda...@gmail.com To: Brett Presnell presn...@stat.ufl.edu Cc: r-devel@r-project.org Subject: Re: [Rd] Standardized Pearson residuals

Re: [Rd] Standardized Pearson residuals

2011-03-17 Thread peter dalgaard
updating the docs). One thing holding me back though: I don't know what the literature refers to. -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [Rd] Standardized Pearson residuals

2011-03-17 Thread peter dalgaard
On Mar 17, 2011, at 16:14 , Martin Maechler wrote: peter dalgaard pda...@gmail.com on Thu, 17 Mar 2011 15:45:01 +0100 writes: Back to the original question: The current rstandard() code reads ## FIXME ! -- make sure we are following the literature: rstandard.glm - function(model

Re: [Rd] Standardized Pearson residuals

2011-03-18 Thread peter dalgaard
for now, if nothing falls on its face, we can move it to R 2.13.0 alpha before it goes to beta on March 30. -p -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda

Re: [Rd] split(factor, shortGroupVector) gives incorrect results in R 2.12.2

2011-03-21 Thread peter dalgaard
. But would that break for other reasons? (It would! Surv() objects to name one case. In general, we seem to be in trouble if [ and length() methods are not compatible.) -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501

Re: [Rd] Orthogonal polynomial ANOVA or polynomial regression?

2011-03-24 Thread peter dalgaard
by doing straightforward polynomial regression and removing powers manually, combined with ANOVA model comparisons. (Why R-devel? This is a plain R-help thing.) Look up contr.poly(), and poly(). Notice that for unbalanced designs, you still need to remove terms one at a time. -- Peter

Re: [Rd] Testing window for R 2.13.0

2011-03-28 Thread peter dalgaard
with in ascii should read ...saved in ascii...? Fixed (twice, even. Luke got there before me.) -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [Rd] SurviveGotoBLAS2 for Win64 (RC release)

2011-03-31 Thread peter dalgaard
(a) ki.rim.or.jp __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd

Re: [Rd] Adding a description meta-tag to the R homepage

2011-04-01 Thread peter dalgaard
]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [Rd] core Matrix package segfaulted on R CMD check --use-gct

2011-04-08 Thread peter dalgaard
(Resending with fewer recipients...) On Apr 8, 2011, at 07:09 , Hin-Tak Leung wrote: --- On Fri, 8/4/11, peter dalgaard pda...@gmail.com wrote: On Apr 7, 2011, at 23:57 , Hin-Tak Leung wrote: Oh, I am tracking both R and Matrix via git-svn and retrieves all revisions to all branches

Re: [Rd] core Matrix package segfaulted on R CMD check --use-gct

2011-04-08 Thread peter dalgaard
documentation-related. I could switch to track R 2.13.x branch if you insist. Please do. It's the branch that is supposed to stabilize during prerelease times. Also, please check the prerelease tarballs, errors in make dist are not caught when building from svn. -pd -- Peter Dalgaard Center

Re: [Rd] Wish there were a strict mode for R interpreter. What about You?

2011-04-10 Thread peter dalgaard
. There are a couple of cases in base R too: * checking R code for possible problems ... NOTE glm.fit: no visible binding for global variable ā€˜nā€™ quantile.ecdf: no visible binding for global variable ā€˜yā€™ I can't seem to spot the 'n' just now, though... -- Peter Dalgaard Center for Statistics, Copenhagen

Re: [Rd] Wish there were a strict mode for R interpreter. What about You?

2011-04-10 Thread peter dalgaard
in the context where you saw this nobs is defined in an enclosing environment. It came from make check-devel, so I suspect that it picks up stats:::nobs() (which would be horribly wrong, but, well...) luke Hadley -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3

Re: [Rd] open.exe Virus W32.ATRAPS

2011-04-11 Thread peter dalgaard
-devel -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [Rd] proposal for adapting code of function gl()

2011-04-12 Thread peter dalgaard
--- Disclaimer : http://helpdesk.ugent.be/e-maildisclaimer.php __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000

Re: [Rd] proposal for adapting code of function gl()

2011-04-12 Thread peter dalgaard
too, I'm learning every day. I have now committed a version of the below to r-devel. (A couple of demons turned out to be lurking in the details, so not exactly the same code.) -pd Cheers Joris On Tue, Apr 12, 2011 at 8:51 AM, peter dalgaard pda...@gmail.com wrote: On Apr 11, 2011

Re: [Rd] parse_Rd raises error when example section contains a quoted percent character

2011-04-12 Thread peter dalgaard
__ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [Rd] [R] predict()

2011-04-15 Thread peter dalgaard
list 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. -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000

Re: [Rd] help with eval()

2011-04-19 Thread peter dalgaard
), class = data.frame, reference = A1.4, p. 270), model = FALSE) Coefficients: (Intercept) Time 8.5211.721 -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd

Re: [Rd] possible minor bug in fisher.test

2011-04-20 Thread peter dalgaard
). OK. Of course, the test makes little sense statistically either way if one factor has only one level used, but I can imagine that a p value of 1 is preferable to an error, and the consistency is probably worth having too. Fixed in r-devel. -- Peter Dalgaard Center for Statistics, Copenhagen

Re: [Rd] Wish R Core had a standard format (or generic function) for newdata objects

2011-04-27 Thread peter dalgaard
mechanism, not policy. -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org mailing list https

Re: [Rd] median and data frames

2011-04-27 Thread peter dalgaard
: columns will be truncated or padded with NAs -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r-project.org

Re: [Rd] [R] Sweave stops when opening X11 device fails

2011-05-03 Thread peter dalgaard
. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda

Re: [Rd] tkrplot not working in R 2.13.0

2011-05-04 Thread peter dalgaard
: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UKFax: +44 1865 272595 __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard Center

Re: [Rd] anova.lm fails with test=Cp

2011-05-08 Thread peter dalgaard
+2P, so the above would actually be scale*Cp+N. -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-devel@r

[Rd] New code in R-devel: Rao score test for glm.

2011-05-11 Thread peter dalgaard
, but this sort of change just doesn't let itself be implemented with the usual deprecation sequence. The workaround should be straightforward (if you need something that works in multiple versions, then try both and choose the result that isn't NULL). -- Peter Dalgaard Center for Statistics

Re: [Rd] New code in R-devel: Rao score test for glm.

2011-05-11 Thread peter dalgaard
__ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [Rd] Possible bug in termplot function (stats package) ?

2011-06-06 Thread peter dalgaard
On Jun 6, 2011, at 20:38 , Joris Meys wrote: On Mon, Jun 6, 2011 at 6:29 PM, peter dalgaard pda...@gmail.com wrote: On Jun 6, 2011, at 17:15 , Joris Meys wrote: **snip** If nothing is found, an error is returned. If anything is found, data won't be NULL, so line 20, when reached

  1   2   3   4   5   6   7   8   9   10   >