Re: [Rd] bug (PR#13570)

2009-03-06 Thread Peter Dalgaard
t version (not necessarily in these changes) is incompatible with > the current R code and I need to dig further (not for a few days). What a nice "war story" this is! Good that it now seems fixable; even though degree=0 is not of much practical use, it is the sort of thing people li

Re: [Rd] patch for 'merge' docs

2009-03-09 Thread Peter Dalgaard
>>> >>> -roger >>> >>> -- >>> Roger D. Peng | http://www.biostat.jhsph.edu/~rpeng/ >>> __ >>> R-devel@r-project.org mailing list >>> https://stat.ethz.ch/mailman/listinfo/r-devel &g

Re: [Rd] bug of *switch* function

2009-03-09 Thread Peter Dalgaard
n <- "Hs", > + fly <- "Dm", > + mouse <- "Mm", > + rat <- "Rn", > + yeast <- "Sc" > + ) >> species > [1] "Hs" > > > when I change *organism* to "yeast", and call *switch*

Re: [Rd] E`<`

2009-03-09 Thread Peter Dalgaard
hanks for pointing it out. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~ - (p.dalga...@biostat.ku.dk)

Re: [Rd] r-devel tarball build failure on windows

2009-03-10 Thread Peter Dalgaard
he >> timestamp files .ts are generated(?) in that directory. If I manually >> create the empty timestamp files, build completes but -make check- >> failed. I suspect something with my build tools is not right but what >> could that be? >> >> h. > > __

Re: [Rd] surprising behaviour of names<-

2009-03-10 Thread Peter Dalgaard
o<-"(x, bar). HOWEVER, this has obvious performance repercussions (think x <- rnorm(1e7); x[1] <- 0), so we do allow destructive modification by replacement functions, PROVIDED that the x is not used by anything else. On the least suspicion that something else is using the object, a co

Re: [Rd] Why does the lexical analyzer drop comments ?

2009-03-20 Thread Peter Dalgaard
d to recognize.) The Rd parser is different, because in an Rd file, whitespace is significant, so it gets kept. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- O__ Peter Dalgaard

Re: [Rd] dput(as.list(function...)...) bug

2009-03-24 Thread Peter Dalgaard
efine a function mvi() which returns the missing value indicator and have things like > list(x= mvi(), b= quote(!x)) $x $b !x work. I'd hate writing its help page, though. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of

Re: [Rd] get_all_vars fails with matrices (PR#13624)

2009-03-25 Thread Peter Dalgaard
ta.frame(list(X=I(matrix(1:15,5,3)),z=26:30)) > get_all_vars(~z+X,dat) z X.1 X.2 X.3 1 26 1 6 11 2 27 2 7 12 3 28 3 8 13 4 29 4 9 14 5 30 5 10 15 > dat <- list(X=I(matrix(1:15,5,3)),z=26:30) > get_all_vars(~z+X,dat) [1] z X <0 rows> (or 0-length row.names) >

Re: [Rd] R-alpha/R-beta builds on Alpha platform failing with compiler error

2009-04-04 Thread Peter Dalgaard
definition a bug in gcc... It is usually rather hopeless to work around this sort of issue by source code changes. Have you tried reducing the optimization level? Dirk -- O__ ---- Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box

Re: [Rd] typo in R-ints.texi's description of P_ macro

2009-04-07 Thread Peter Dalgaard
approach has been to conditionalize (on @code{ENABLE_NLS}) code using @code{ngettext}. OK, committed. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark

Re: [Rd] 'R CMD build --binary BUNDLE' and Windows

2009-04-09 Thread Peter Dalgaard
r the bundle 'VR' by R version 2.9.0 beta.) The check of the CoCo bundle version 0.1.7.5 by R version 2.9.0 beta is OK (on my machine), see attached 00check.log. The zip-file is OK by versions 2.6.0, 2.6.2, 2.7.2, and 2.8.0 of R. Brian fixed this, please check the current v

Re: [Rd] type.convert (PR#13646)

2009-04-09 Thread Peter Dalgaard
it as one). Any help is much appreciated! Regards, Stefan __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph.

Re: [Rd] type.convert (PR#13646)

2009-04-10 Thread Peter Dalgaard
eciated! Regards, Stefan ______ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099,

Re: [Rd] type.convert (PR#13646)

2009-04-10 Thread Peter Dalgaard
48116). Bill Dunlap TIBCO Software Inc - Spotfire Division wdunlap tibco.com -Original Message- From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] On Behalf Of Peter Dalgaard Sent: Friday, April 10, 2009 2:03 AM To: Raberger, Stefan Cc: r-b...@r-project.org; r-de...@

Re: [Rd] data argument and environments

2009-04-12 Thread Peter Dalgaard
los=environment(formula). This is the point, the formula-with-environment construction allows both h <- function(x,y) mymodel(y~x) h(u,v) and h <- function(f) mymodel(f) h(u~v) to find their variables in the right place. -- O__ Peter Dalgaard Øster Farimags

Re: [Rd] dnbinom with a large size parameter (PR#13650)

2009-04-13 Thread Peter Dalgaard
ue") in 2.7.2/2.7.2patched. You might at least have checked the NEWS file for references to dnbinom() before submitting a bug report on an older version! -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 C

Re: [Rd] R (2.9.0 rc) CMD INSTALL will leave OOLOCK folder even if installation succeeded

2009-04-16 Thread Peter Dalgaard
; R version 2.9.0 RC (2009-04-10 r48321) > on Ubuntu hardy > Not (easily) reproducible for me on r48325 (which only differs from 48321 in the FAQ and package count in internet.Rout.save). So, cannot possibly fix for 2.9.0 tomorrow. Anything peculiar about your setup (e.g., networked driv

Re: [Rd] R build fails during make when configured with "--with-x=no" (PR#13665)

2009-04-20 Thread Peter Dalgaard
if R_MODULES is empty. Shell script and Make portability is a pain in the derriere, but offhand, those double quotes just look wrong: viggo:~/>for i in "" ; do echo $i; done viggo:~/>for i in ; do echo $i; done viggo:~/>for i in "foo bar" ; do echo $i; done foo bar v

Re: [Rd] Patch for tk/GUI

2009-04-21 Thread Peter Dalgaard
x27;s still in my r-devel folder labeled "important". It is just that important things get run over by important things with deadlines. I'll get around to it eventually. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatist

Re: [Rd] Installation fails (PR#13669)

2009-04-22 Thread Peter Dalgaard
ner. > > I tried the last R-patch, no difference. > > I don't whether this problem is specific to my system or a general problem. Probably mainly local to your system, but could be something fixable in R if we forgot to control the PATH settings or suchlike. -- O__ Pet

Re: [Rd] Problems building R 2.9.0... on SGI and Sun once again

2009-04-23 Thread Peter Dalgaard
r workaround could be to safeguard the for-loop with test "$FOO" != "" && for i in $FOO : do ; done in all of the Makefiles where this can be an issue. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatis

Re: [Rd] Closed-source non-free ParallelR ?

2009-04-24 Thread Peter Dalgaard
t it suffices in all cases. It is a legal grey zone, see the "plugin" sections in the GPL FAQ, for instance. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- Uni

Re: [Rd] suggestion for extending ?as.factor

2009-05-04 Thread Peter Dalgaard
12345678901234567 == as.numeric("0.12345678901234566") > [1] TRUE > > This algorithm is slower than a single call to sprintf("%.17g", x), but it > produces nicer numbers, if possible, and guarantees that the value is > always preserved. Yes, but > convert(

Re: [Rd] suggestion for extending ?as.factor

2009-05-04 Thread Peter Dalgaard
1 10 2 3 4 5 6 7 8 9 issue when designing R's version factor().) The current R-devel behaviour is silly and we should just get rid of it before a final release. It should be the other way around: If people rely on whether numerical factor levels differ with 17 digits precision, THEN they should use

Re: [Rd] suggestion for extending ?as.factor

2009-05-05 Thread Peter Dalgaard
ic(names(tt)),tt, type="h") and if you omit the signif() bit (not with R-devel): > table(table(names(table(d 1 2 3 137 161 17 i.e. 315 distinct values but over half occur in duplicate or triplicate versions. -- O__ Peter Dalgaard Øste

Re: [Rd] ?bquote

2006-02-10 Thread Peter Dalgaard
able for bquote to return an "expression" object. I realized recently that > boxplot(rnorm(99),ylab=quote(a[1])) Error in title(ylab = a[1]) : object "a" not found and that you need expression(a[1]) instead. I think this implies that you'd have to use as.expression(bquote(...

Re: [Rd] Accuracy of dnorm (PR#8586)

2006-02-10 Thread Peter Dalgaard
,mean=0.04,sd=0.3) > [1] 1.318039 > > this error is consistent in various version and os. What's wrong with it??? > (pnorm(0.01,mean=0.04,sd=0.3) - pnorm(0,mean=0.04,sd=0.3))/.000001 [1] 1.318040 -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B

Re: [Rd] Arguments of 'transform'

2006-02-11 Thread Peter Dalgaard
*** NOTE: The only tag name unavailable to be used is 'x'. *** Yes it has come up before (surprisingly rarely though), and you're probably right although changing argument names of functions should never be taken lightly as there could be people using the current ones. > &g

Re: [Rd] PR#6614

2006-02-22 Thread Peter Dalgaard
t; David > > > > __ > > R-devel@r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/r-devel > > > > ______ > R-devel@r-project.org mailing list >

Re: [Rd] PR#6614

2006-02-27 Thread Peter Dalgaard
Bill Dunlap <[EMAIL PROTECTED]> writes: > On Wed, 23 Feb 2006, Peter Dalgaard wrote: > > > "Gabor Grothendieck" <[EMAIL PROTECTED]> writes: > > > > > Try this: > > > > > > subset(iris, select = - Species) > >

Re: [Rd] problem with as.table (PR#8652)

2006-03-02 Thread Peter Dalgaard
t; "I" "J" "K" "L" "M" "N" "O" [16] "P" "Q" "R" "S" "T" "U" "V" "W" "X" "Y" "Z" "A1" "B

Re: [Rd] Wishlist: merge and subset to keep attributes (PR#8658)

2006-03-12 Thread Peter Dalgaard
tting. > (Here, spss.get from Hmisc works differently by assigning each variable a > class and a label attribute which are preserved. I have the suspicion that > this makes spss.get substantially slower than read.spss; on the other hand, > it makes it easier to use these l

Re: [Rd] sub returns garbage (PR#8687)

2006-03-16 Thread Peter Dalgaard
> status > major2 > minor2.1 > year 2005 > month12 > day 20 > svn rev 36812 > language R > >

Re: [Rd] sub returns garbage (PR#8687)

2006-03-16 Thread Peter Dalgaard
Peter Dalgaard <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] writes: > > > Full_Name: Todd Bailey > > Version: 2.1 > > Er, 2.2.1 > > > OS: Mac OS-X 10.4.3 > > Submission from: (NULL) (87.112.79.124) > > > > > > sub return

Re: [Rd] anova.mlm (single-model case) does not handle factors? (PR#8679)

2006-03-17 Thread Peter Dalgaard
ss is that split.data.frame actually does the right thing for matrices; possibly, an identically defined split.matrix() would be cleaner, although I'm never quite happy with matrix functions that aren't symmetric in rows/columns.) -- O__ Peter Dalgaard Øster Farim

Re: [Rd] collation order

2006-03-17 Thread Peter Dalgaard
t; > -thomas > > Thomas Lumley Assoc. Professor, Biostatistics > [EMAIL PROTECTED] University of Washington, Seattle > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/

Re: [Rd] collation order

2006-03-17 Thread Peter Dalgaard
Peter Dalgaard <[EMAIL PROTECTED]> writes: > > Sys.setlocale(locale="C") > [1] "C" > > "Thomas O'Malley" < "Thomas Lumley" > [1] TRUE > > Sys.setlocale(locale="en_US.UTF8") > [1] > "LC_CTYPE=en

Re: [Rd] pbinom( ) function (PR#8700)

2006-03-22 Thread Peter Dalgaard
integers.) > I suppose the reason for this behaviour is to protect against rounding > error giving nonsense results; I'm not sure that's a great idea, but if > we do it, should we really be handling 0 differently? Most of these round-near-integer issues were spurred by real prog

Re: [Rd] sub returns garbage (PR#8687)

2006-03-24 Thread Peter Dalgaard
Hin-Tak Leung <[EMAIL PROTECTED]> writes: > Peter Dalgaard wrote: > > > I claim XP braindamage -- I'm not Linuxifying my new ThinkPad until > > FC5 is out. > > > > Rather irrelevant, I have been running FC5 since Tuesday > afternoon. > >

Re: [Rd] How to capture t-score and p-values from t.test

2006-03-24 Thread Peter Dalgaard
], d[2], var.equal=TRUE) tt$statistic tt$p.value unclass(tt) names(tt) -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35

Re: [Rd] Undocumented features of 'browser' (and possible changes)

2006-03-24 Thread Peter Dalgaard
d repeatedly does require some attention; it might be convenient to be able to continue with a single keystroke in that case. > [ ] - A patch would be welcome > [ ] - Sounds great and I committed the changes already. :-) > > > Kevin Wright, Windows 2000, R 2.2.1 > >

[Rd] R 2.3.0 scheduled for April 24, Grand-Feature freeze is active

2006-03-27 Thread Peter Dalgaard
touched in emergencies. NEW: Start making R-2.3.0-rc.tar.gz packages automatically available. April 24: Release. -- O__ ---- Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- Universit

Re: [Rd] Safe to UNPROTECT() when object is assigned to a list?

2006-03-27 Thread Peter Dalgaard
ion of "ans" will carry over to its attributes. >PROTECT(dimnames = allocVector(VECSXP, 2)); >SET_VECTOR_ELT(dimnames, 0, getAttrib(x, R_NamesSymbol)); >SET_VECTOR_ELT(dimnames, 1, getAttrib(y, R_NamesSymbol)); >setAttrib(ans, R_DimNamesSymbol, d

Re: [Rd] R 2.3.0 scheduled for April 24, Grand-Feature freeze is active

2006-03-27 Thread Peter Dalgaard
Peter Dalgaard <[EMAIL PROTECTED]> writes: > The release of version 2.3.0 has been scheduled for April 24, 2006. > > The first alpha release should be available later today, once I have > reviewed the build scripts. Done. The first version is now sitting in http://biost

Re: [Rd] weights in glm (PR#8720)

2006-03-28 Thread Peter Dalgaard
tell me what's wrong? > > Kind regards, > > Robert > > > > __ > > R-devel@r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/r-devel > > > > > > -- > Brian D. Ripley, [E

Re: [Rd] Substitute() changed since R2.3.0 (2006-02-02 r37243)?

2006-03-29 Thread Peter Dalgaard
t;) > [1] 2 > list(foo(...)) > > But with B, I get > > > source("test.R") > [1] 2 > list(foo()) > > Note that '...' is missing in the latest version. I don't think this is > wanted. I suspect that you're right. Just for reproductio

Re: [Rd] function min does not return correct result if .Machine$integer.max is involved (PR#8731)

2006-03-30 Thread Peter Dalgaard
ve a vague recollection that we might have used .Machine$integer.max to represent "integer infinity" at some point. If so, then the results make some sense, but we don't seem to have similar conventions in any other places that I can think of (i.e. as.integer(Inf) is NA, etc.) -- O__

Re: [Rd] make check of R-alpha_2006-04-08_r37675 fails: qbeta

2006-04-09 Thread Peter Dalgaard
g message: > full precision was not achieved in 'qbeta' > > Please let me know if there is more I can provide to help trace this! I suspect that this is related to recent changes in the zero-finder, and that it is relatively benign. (If it is the effect that I'm thinking o

Re: [Rd] make check of R-alpha_2006-04-08_r37675 fails: qbeta

2006-04-09 Thread Peter Dalgaard
d Solaris, with various compilers) and > the zero-finder changes postdate r37675 (and qbeta does not use it). I > think several other people are testing i686 Debian, including the > daiuly CRAN package checks > > I suspect it is a real (and long-standing) problem of loss of ac

Re: [Rd] make check of R-alpha_2006-04-08_r37675 fails: qbeta

2006-04-14 Thread Peter Dalgaard
n D. Ripley, [EMAIL PROTECTED] > Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ > University of Oxford, Tel: +44 1865 272861 (self) > 1 South Parks Road, +44 1865 272866 (PA) > Oxford OX1 3TG, UK

Re: [Rd] Crash in de()

2006-04-16 Thread Peter Dalgaard
th a current source-compiled r-devel, nor with 2.3.0beta, so it seems like it might be a packaging error. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark

Re: [Rd] Crash in de()

2006-04-17 Thread Peter Dalgaard
Peter Dalgaard <[EMAIL PROTECTED]> writes: > Juan Santiago Ramseyer <[EMAIL PROTECTED]> writes: > > > SYSTEM: > > -- > > CPU: AMD64 > > MOTHERBOARD: ASUS > > OS: FEDORA CORE 5 i64_86 > > > > R SESSION: > > -

Re: [Rd] Crash in de()

2006-04-17 Thread Peter Dalgaard
Peter Dalgaard <[EMAIL PROTECTED]> writes: > Peter Dalgaard <[EMAIL PROTECTED]> writes: > > > Juan Santiago Ramseyer <[EMAIL PROTECTED]> writes: > > > > > SYSTEM: > > > -- > > > CPU: AMD64 > > > MO

Re: [Rd] xyplot (PR#8778)

2006-04-18 Thread Peter Dalgaard
gt; 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 > -- O

Re: [Rd] commercial software selling a R module - question about GPL license rights

2006-04-19 Thread Peter Dalgaard
quot;. However, it was never the intention that GPL code could not be _used_ by non-free software. That point might get clearer if you substitute mySql or a similar database instead of R. There are some limitations though. In particular if the connection is so tight that R has become an integra

Re: [Rd] bug: code not working as expected (PR#8783)

2006-04-20 Thread Peter Dalgaard
d[j+1]=(f[i+1,j]-a[j]*d[j-1]-b[j]*d[j])/c[j]; > e[j+1]=(-a[j]*e[j-1]-b[j]*e[j])/c[j]; > } > f[i,2]=(f[i,M+1]-d[M+1])/e[M+1]; > for (j in 2:M) > { > f[i,j]=d[j]+e[j]*f[i,2]; >

Re: [Rd] ? bug in 'sample' (PR#8813)

2006-04-27 Thread Peter Dalgaard
National Cancer Institute > > Biometric Research Branch > > 6130 Executive Blvd, MSC 7434 > > Rockville, MD 20892 > > (For overnight deliveries use 20852) > > > > Phone: 301-402-0383 > > FAX:301-402-0560 > > Email: [EMAIL PRO

Re: [Rd] Installation oddity on Fedora Core 5 (PR#8814)

2006-04-27 Thread Peter Dalgaard
install in my > original mail, but I did try with that. I am simply reinstalling FC5 > *disabling* the SElinux and see what happens. I will keep you posted. Of course, yum install R R-devel gets you to your target much faster... -- O__ Peter Dalgaard Øster Farimags

Re: [Rd] mean of complex vector (PR#8842)

2006-05-08 Thread Peter Dalgaard
,1i,1i)) > [1] 0+4i > > OK in R2.2.1 Yes. This comes from a blunder in summary.c, apparently attempting to copy the code from the REALSXP case, mutatis mutandis, but not quite so... -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostat

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

2006-05-09 Thread Peter Dalgaard
ly becomes a rather *long* list (e.g., a slightly larger case with choose(29, 14)==77558760 combinations kills R for me on a 2GB 64 bit machine), it might be desirable to have an option, "assume.scalar" or so, to specify that the function always returns a single scalar. --

Re: [Rd] 2.3.0 make install fails on solaris

2006-05-10 Thread Peter Dalgaard
r platforms. It only happens if your bash is old enough. I get the rubin:~/> for f in ; do echo $f ; done bash: syntax error near unexpected token `;' rubin:~/>help GNU bash, version 2.05.0(1)-release (sparc-sun-solaris2.9) for f in ; do echo $f ; done but not on Linux boxes with bas

Re: [Rd] wilcox.exact function (PR#8856)

2006-05-12 Thread Peter Dalgaard
1 > alternative hypothesis: true mu is not equal to 0 > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'

[Rd] R 2.3.1 scheduled for June 1

2006-05-17 Thread Peter Dalgaard
We plan to release R version 2.3.1 on June 1, in order to clean up a couple of embarrasments and platform-specific build issues 2.3.0. Beta releases will be available starting this Friday. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dep

Re: [Rd] helping out

2006-05-19 Thread Peter Dalgaard
uot; to save the relevant part. > I think if you want to offer a patch, the best way to do it is to put it > on a website and include a URL, or offer to email it to interested people. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biost

Re: [Rd] rerender tcltk toplevel

2006-05-22 Thread Peter Dalgaard
;- i*2 > } > > Is there a way to explicitly rerender a tcltk toplevel? There must be > one since the ProgressBar widget causes this to happen, or am I wrong? > Or is there another way I could make this work? > Hope someone can help me here, > > Florian tcl("update"

Re: [Rd] ssize_t not defined in sockconn.c (PR#8889)

2006-05-22 Thread Peter Dalgaard
19104 > [EMAIL PROTECTED] > 215.966.6131 (office) > 215.966.6001 (fax) > 610.368.5821 (mobile) > www.CiraDiscovery.com > [[alternative HTML version deleted]] > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > --

Re: [Rd] (PR#8877) predict.lm does not have a weights argument for

2006-05-24 Thread Peter Dalgaard
have anything to do with the purported bug.) -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918

Re: [Rd] (PR#8877) predict.lm does not have a weights argument for

2006-05-26 Thread Peter Dalgaard
that I know is undersampled by a factor of 3". Standard error of estimates will be considerably different. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen D

[Rd] R 2.3.1 release candidates starting tomorrow

2006-05-26 Thread Peter Dalgaard
se check the release candidates on your platform and report back if you find problems. The directory for prereleases is http://cran.r-project.org/src/base-prerelease/ -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics

Re: [Rd] misspelling of "Mauchly" (PR#8908)

2006-05-29 Thread Peter Dalgaard
[EMAIL PROTECTED] writes: > Hi there, > > The word "Mauchly" is still misspelled as *"Mauchley", at least in > some /output/ of mauchly.test() and in the SSD() help page. > > Sincerely, > Lukas Giesinger Fixed for 2.3.1 -- O__ Peter

Re: [Rd] Numerical error in R (win32) (PR#8909)

2006-05-29 Thread Peter Dalgaard
UE > abs(3.15 - 3.2)>.05 [1] TRUE See also FAQ 7.31. > Regards > Teckpor > -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark

Re: [Rd] Numerical error in R (win32) (PR#8909)

2006-05-30 Thread Peter Dalgaard
5 (dec) == 11.0010011001100110011... (bin) 3.75 (dec) == 11.11 (bin) > Thanks > Teckpor > > -Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter > Dalgaard > Sent: Monday, May 29, 2006 17:49 > To: [EMAIL PROTECTED] > Cc: r-devel@

Re: [Rd] more on bug 7924

2006-06-05 Thread Peter Dalgaard
but it comes from an object that is inside the environment and would be destroyed along with it. A strict refcounting system would leave such environments hanging around forever. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics

Re: [Rd] bug in prcomp (PR#8994)

2006-06-16 Thread Peter Dalgaard
We've been here before: The _formula_method_ for prcomp takes an na.action argument, the default method does not. If you read closely, you'll see that this is in accordance with documentation. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of

Re: [Rd] MacOS X - R crashes & import problem (PR#9005)

2006-06-19 Thread Peter Dalgaard
-- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~ - ([EMAIL PROTECTED]) FAX

Re: [Rd] weights in lm, glm (PR#9023)

2006-06-22 Thread Peter Dalgaard
data); > This is due to the concept of a model environment (which does not contain w). This is a deliberate design, not a bug. The rationale is a bit convoluted, but it ensures that w <- runif(nrow(A)) fn1(y ~ x + w, data=A) picks up w from the global environment, not the evaluation fram

Re: [Rd] weights in lm, glm (PR#9023)

2006-06-22 Thread Peter Dalgaard
directly into environment(model), but that might have side effects. Use a "strange" name so as not to clash with variables in "data", or in environment(model)) -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatisti

Re: [Rd] apparent problem in how PDF evaluates its arguments (PR#9035)

2006-06-26 Thread Peter Dalgaard
gt; } > > z=1 > makepdf2 = function() { > pdf("test.pdf", pointsize=z) > plot(1:7) > dev.off() > } > > makepdf2() > makepdf1() > > > sessionInfo() > > __ > R-devel@r-project.org mailing list

Re: [Rd] [R] assign / environment side effect on R 2.4.0

2006-06-26 Thread Peter Dalgaard
ipley, [EMAIL PROTECTED] > > Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ > > University of Oxford, Tel: +44 1865 272861 (self) > > 1 South Parks Road, +44 1865 272866 (PA) > > Oxford OX1 3TG

Re: [Rd] a new way to crash R? (PR#8981)

2006-06-26 Thread Peter Dalgaard
pointer which can be passed to free(). Then again, when was a Windows lib ever standards-conforming? BTW, malloc never returns zero, but possibly NULL. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph

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

2006-06-27 Thread Peter Dalgaard
ast two interpretations of "roer" where oe represents two distinct vowels... piotr -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark

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

2006-06-28 Thread Peter Dalgaard
Paul Gilbert <[EMAIL PROTECTED]> writes: > I've been following this thread hoping for the definitive answer... > > Peter Dalgaard wrote: > > > Well, I do tend to think that we should just use utf, assuming that > > people have the relevant glyphs.

Re: [Rd] Installation, permissions of /usr/local/lib/R (PR#9054)

2006-07-02 Thread Peter Dalgaard
able non-root users to run R. Some systems set it differently, and we're not overriding that since it could be a policy issue. It's not a bug. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (

Re: [Rd] read.table() errors with tab as separator (PR#9061)

2006-07-05 Thread Peter Dalgaard
eparated files from Excel & friends). > [1] "865\tlinear model (lm)! Cook's distance\t152" ^ (This reminds me that we probably should shift the default for comment.char too since it leads to similar issue

Re: [Rd] read.table() errors with tab as separator (PR#9061)

2006-07-05 Thread Peter Dalgaard
Prof Brian Ripley <[EMAIL PROTECTED]> writes: > On Wed, 5 Jul 2006, Peter Dalgaard wrote: > > > [EMAIL PROTECTED] writes: > > > >> (1) read.table(), with sep="\t", identifies 13 our of 1400 records, > >> in a file with 1400 records of 3 fie

Re: [Rd] read.table() errors with tab as separator (PR#9061)

2006-07-05 Thread Peter Dalgaard
parsing. > > Ah, that does seem a sensible defensive move. Committed for r-devel (only). Make check seems happy, but we may need to watch out for the package checking. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box

Re: [Rd] BUG in " == " ? (PR#9065)

2006-07-07 Thread Peter Dalgaard
> [1] TRUE > > x<-x*0.01 > > x > [1] 0.7 > > x == 0.7 > [1] FALSE > > It seems completely strange ... any help would be greatly appreciated :) FAQ 7.31 http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-doesn_0027t-R-think-these-numbers-are-equal_003f -- O

Re: [Rd] [R] Date Format

2006-07-11 Thread Peter Dalgaard
s.Date(datetest,"%d/%m/%Y") > > > datetest<-as.numeric(datetest) > > > > > > to get 11328. > > > > > > But I do not obtain the inverse tranformation : > > > > > > datetest<-as.Date(datetest,"%d/%m/%Y") > > > &g

Re: [Rd] Dropping unused levels of a factor that has "NA" as a level

2006-07-11 Thread Peter Dalgaard
at's for sure... The problem is also there with factor(f1). And the logic in as.character.factor seems to be at the root of it: > as.character.factor function (x, ...) { cx <- levels(x)[x] if ("NA" %in% levels(x)) cx[is.na(x)] <- "" cx } This looks lik

Re: [Rd] Linux/MacOSX and "X11 protocol error: BadWindow..." warnings

2006-07-11 Thread Peter Dalgaard
ler should have known about. I've meddled with both, but it was many moons ago... -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen De

Re: [Rd] Fwd: Generating valid R code using R

2006-07-16 Thread Peter Dalgaard
"foo.R") > > For instance, quotation marks has to be escaped in order for 'rCode' > to be valid, same with newlines etc. What's the best way to do this? > Currently I use an ad hoc sequence of gsub() substitutions to do this, > but is there a better way to

Re: [Rd] R | vnc | X11 fonts

2006-07-29 Thread Peter Dalgaard
deeper or tell us more details about what goes wrong, e.g. how exactly are you running your R scripts, will they work from the console, etc. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) --

Re: [Rd] Warning when indexing data.frame with FALSE

2006-07-31 Thread Peter Dalgaard
; > NULL data frame with 0 rows > > It's reasonable: > > > names(data.frame()) > NULL > > which is a problem as data frames are supposed to have names. > So the bug is in data.frame. To wit: > d <- data.frame() > names(d) <- character(0

Re: [Rd] uniroot arguments (PR#9140)

2006-08-11 Thread Peter Dalgaard
ction(x,a,u=.2) (x-a)^3 /u > ## Find the root: > > uniroot(test,c(0,1),a=.75,u=.2) > Error in uniroot(test, c(0, 1), a = 0.75, u = 0.2) : > f() values at end points not of opposite sign > > ## Oh, really? > > test(0,.75,.2) > [1] -2.109375 > > test(1,.7

Re: [Rd] Set Repositories problem in R2.4.0

2006-08-22 Thread Peter Dalgaard
e to fix the consquences: thank you > for altering us. "Altering"? (giggle) I can't find any other cases of read.delim/csv being used to read files with #-comments, so I'm just inserting the obvious modification in setRepositories(). -- O__ Peter Dalgaard

Re: [Rd] Date conversion with as.POSIXct and as.POSIXlt (PR#9196)

2006-09-01 Thread Peter Dalgaard
t dropping off the time when it is exactly 01:00 in CEST (i.e. would have been midnight, save for Daylight Savings Time) is a bit confusing too... I'm not sure any of this is actual bugs (Brian will tell us soon enough), but it does appear at least to be underdocumented. -- O__ Peter

Re: [Rd] Date conversion with as.POSIXct and as.POSIXlt (PR#9196)

2006-09-01 Thread Peter Dalgaard
Prof Brian Ripley <[EMAIL PROTECTED]> writes: > On Fri, 1 Sep 2006, Peter Dalgaard wrote: > > [...] > > > I'm not sure any of this is actual bugs (Brian will tell us soon > > enough), but it does appear at least to be underdocumented. > > (Your messag

Re: [Rd] lm, weights and ...

2006-09-03 Thread Peter Dalgaard
xtensive white-paper on the issues, written by Thomas Lumley, is at http://developer.r-project.org/nonstandard-eval.pdf -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- Un

Re: [Rd] Unexpected source() behavior in R-devel

2006-09-03 Thread Peter Dalgaard
ng = encoding) 2: source("http://bioconductor.org/getBioC.R";) 3: eval.with.vis(expr, envir, enclos) 4: eval.with.vis(ei, envir) 5: source(url("http://www.bioconductor.org/biocLite.R";)) Possible actions: 1: abort (with core dump) 2: normal R exit 3: exit R without saving worksp

<    7   8   9   10   11   12   13   14   >