Re: [Rd] sort yields different results on OS X (PR#14163)

2009-12-22 Thread Peter Dalgaard
/iso14651_t1_common on Fedora; I wouldn't know how faithful to the ISO standard that is. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45

Re: [Rd] a little bug for the function 'sprintf' (PR#14161)

2009-12-21 Thread Peter Dalgaard
]] __ 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. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918

Re: [Rd] R CMD check may not detect a code/documentation mismatch

2009-12-16 Thread Peter Dalgaard
work, and revealed a handful of undetected issues in CRAN packages. So this has now been committed to r-devel. Thanks for chasing this up. -pd Petr Savicky wrote: On Mon, Dec 14, 2009 at 09:24:12AM +0100, Kurt Hornik wrote: Peter Dalgaard writes: [...] Hmm, looks more like a thinko

Re: [Rd] split.data.frame

2009-12-15 Thread Peter Dalgaard
) - if you need a computed splitting factor, there's a risk of inadvertent variable capture. I.e., if you inside a function do grp - ...whatever... spl - split(x, grp) and x has a variable called grp, what do you get? -- O__ Peter Dalgaard Øster

Re: [Rd] R CMD check may not detect a code/documentation mismatch

2009-12-14 Thread Peter Dalgaard
Kurt Hornik wrote: Peter Dalgaard writes: Petr Savicky wrote: For the package at http://www.cs.cas.cz/~savicky/R-devel/something_0.0.0.tar.gz which is a minor part of some other package only to demonstrate the problem, i get (under R version 2.11.0 Under development 2009-12-12 r50714

Re: [Rd] R CMD check may not detect a code/documentation mismatch

2009-12-13 Thread Peter Dalgaard
tested by check_codoc. There may of course be a rationale for this, but it escapes me... -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45

Re: [Rd] `mgp[1:3]' are of differing sign (PR#14130)

2009-12-12 Thread Peter Dalgaard
it is a mistake. In addition to internal tick marks and labels, there are also cases where the whole axis is shifted into the plot area. I'd more likely use axis(pos=...) for that, but still. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO

Re: [Rd] Antwort: Re: Crash with Unicode and sub (PR#14114)

2009-12-10 Thread Peter Dalgaard
] For those who cannot read base64 coded mails by eye, these are the contents (an unmangled version reached r-devel, but probably not r-bugs): I don't know about the technicalities, but Peter Dalgaard said the offending code also causes R to come to a stop using SUSE + WINE. Is it possible

Re: [Rd] reshape() makes R run out of memory (PR#14121)

2009-12-09 Thread Peter Dalgaard
], i.e. it first creates a factor with 999^3 levels, and removes the empty levels afterward. In the absense of a better interaction(), you might try making your own single idvar as do.call(paste,tbl[,c(ID, DATE1, DATE2)]) or so. -- O__ Peter Dalgaard Øster Farimagsgade 5

Re: [Rd] Crash with Unicode and sub (PR#14114)

2009-12-08 Thread Peter Dalgaard
. 2.10.1 RC is available now. Please check. It does seem to be reproducible in the Windows version, or at least it takes a very long time, but that means running under Wine on SUSE for me. I don't see the effect with the Linux build. -- O__ Peter Dalgaard Øster Farimagsgade 5

Re: [Rd] PR#14099

2009-12-06 Thread Peter Dalgaard
system. However, R is an application that has worked across multiple X11 based platforms for many years. If R doesn't work on a new platform, I think it is fair to ask what is being done different on that platform, by filing a bug report for the system, if necessary. -- O__ Peter

Re: [Rd] read.csv confused by newline characters in header (PR#14103)

2009-12-02 Thread Peter Dalgaard
connected to the pushBack(c(lines, lines), file) bits in readtable.R, but I don't quite get it. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45

Re: [Rd] Surprising length() of POSIXlt vector (PR#14073)

2009-11-20 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 ~~ - (p.dalga...@biostat.ku.dk) FAX: (+45) 35327907

Re: [Rd] Issue when calling deparse(substitute(x)) from C with anonymous R vectors ?

2009-11-19 Thread Peter Dalgaard
nlines=1 is needed in the deparse(). -- 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] The default behaviour of a missing entry in an environment

2009-11-16 Thread Peter Dalgaard
, envir, enclos) : could not find function list -- 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] error checks

2009-11-13 Thread Peter Dalgaard
-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. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918

Re: [Rd] Bug in R (PR#14064)

2009-11-13 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 ~~ - (p.dalga...@biostat.ku.dk) FAX: (+45) 35327907

Re: [Rd] Typo in 2.10.0 NEWS file (PR#14054)

2009-11-10 Thread Peter Dalgaard
another NEWS entry for #14054 though... -- 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] Binning of integers with hist() function odd results (PR#14046)

2009-11-07 Thread Peter Dalgaard
advanced to handle cases where the data are effectively tied to a lattice. It's been around forever, though.) -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark

Re: [Rd] sapply improvements

2009-11-04 Thread Peter Dalgaard
://stat.ethz.ch/mailman/listinfo/r-devel -- 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) FAX

Re: [Rd] sapply improvements

2009-11-04 Thread Peter Dalgaard
-11-05 2009-11-05 2009-11-05 2009-11-05 -- 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] Internal error in 'ls' for pathological environments (PR#14035)

2009-11-01 Thread Peter Dalgaard
that if there are coder who actually rely on the length of an invalid environment, then they'd deserve what they'd get... -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph

Re: [Rd] weighted.mean uses zero when na.rm=TRUE (PR#14032)

2009-10-30 Thread Peter Dalgaard
, specifically. -- 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) FAX: (+45) 35327907

Re: [Rd] reg-tests-1.R failure with unstable

2009-10-25 Thread Peter Dalgaard
handles spaces. The current SVN does run reg-tests-1.R for me. (It breaks on reg-tests-3.R, but that's a different issue.) -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University

Re: [Rd] (PR#14012)

2009-10-17 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 ~~ - (p.dalga...@biostat.ku.dk) FAX: (+45) 35327907

Re: [Rd] MASS (and class, nnet, spatial) for R 2.10.0 ?

2009-10-15 Thread Peter Dalgaard
-project.org/blosxom.cgi/R-devel [2] http://dirk.eddelbuettel.com/cranberries/ -- 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] MASS (and class, nnet, spatial) for R 2.10.0 ?

2009-10-15 Thread Peter Dalgaard
to the packages in src/contrib/2.10.0. It is up to Dirk to use the information in PACKAGES correctly as it is done for the Windows and Mac binaries on CRAN. OK, thanks for clearing that up, Uwe. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics

Re: [Rd] buglet in is.na?

2009-09-30 Thread Peter Dalgaard
it, but where's the need? -- 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) FAX: (+45

Re: [Rd] Problem with dgamma function.

2009-09-25 Thread Peter Dalgaard
,, 0.106516604930466,FALSE) [1] 1.491480e-18 log(dgamma(4.775972,1.37697964405418,, 0.106516604930466,FALSE)) [1] -41.04676 dgamma(4.775972,1.37697964405418,0.106516604930466,log=TRUE) [1] -2.885033 Thanks, Charles -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c

Re: [Rd] cannot build R-devel (= r49747)

2009-09-22 Thread Peter Dalgaard
64bit this time). -- 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) FAX: (+45) 35327907

Re: [Rd] basename returns . not in filename (PR#13958)

2009-09-18 Thread Peter Dalgaard
utility does likewise: viggo:~/basename ./ . Point is, I gather, that trailing slashes are removed, e.g., viggo:~/basename foo/ foo So, not a bug. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K

Re: [Rd] 2.10.0 Under development (unstable) (2009-09-15 r49711) just built segfaults on Debian Squeeze

2009-09-16 Thread Peter Dalgaard
deleted]] __ 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. K

Re: [Rd] Non-GPL packages for R

2009-09-11 Thread Peter Dalgaard
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) FAX: (+45) 35327907

Re: [Rd] 'make install' fails on Solaris (PR#13946)

2009-09-10 Thread Peter Dalgaard
,$(rincludedir), \ -e 's,@libsprivate,$(STATIC_LIBR_PC),' \ -- 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

Re: [Rd] nchar on factors

2009-08-24 Thread Peter Dalgaard
) as.character(unclass(factor(LETTERS))) [1] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 [16] 16 17 18 19 20 21 22 23 24 25 26 So, the documentation does appear to be in sync with the code (useful or not). -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c

Re: [Rd] sessionInfo() fails to correctly detect locale settings

2009-08-21 Thread Peter Dalgaard
LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8 LC_PAPER=en_GB.UTF-8 LC_NAME=en_GB.UTF-8 LC_ADDRESS=en_GB.UTF-8 LC_TELEPHONE=en_GB.UTF-8 LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=en_GB.UTF-8 LC_ALL= -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c

Re: [Rd] R compilation problem on 64 bit SunOS (PR#13898)

2009-08-21 Thread Peter Dalgaard
/local/opt/x86_64-pc-solaris2.10/lib F77=gfortran -m64 CXX=g++ -m64 FC=gfortran -m64 LIBnn=lib64 LD=/usr/local/opt/x86_64-pc-solaris2.10/bin/ld [snip] -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K

Re: [Rd] power.t.test (PR#13891)

2009-08-15 Thread Peter Dalgaard
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) FAX: (+45) 35327907

Re: [Rd] Bug in nlm, found using sem; failure in several flavors (PR#13883)

2009-08-12 Thread Peter Dalgaard
, g, h, state); -return; +UNPROTECT(1 + state-have_gradient + state-have_hessian); +return; badvalue: error(_(invalid function value in 'nlm' optimizer)); -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099

Re: [Rd] Appendix A problem (PR#13885)

2009-08-11 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 ~~ - (p.dalga...@biostat.ku.dk) FAX: (+45) 35327907

Re: [Rd] Bug in nlm, found using sem; failure in several flavors (PR#13883)

2009-08-10 Thread Peter Dalgaard
, then that is being used. It is coerced to double; but otherwise, no questions asked. I wonder if it would not be a good idea to at least check that getAttrib() returns something of the right length. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept

Re: [Rd] incorrect result (41/10-1/10)%%1 (PR#13863)

2009-08-03 Thread Peter Dalgaard
in 1:1000){ test[i] - i/10-1/10 } test[test%%1==0] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel FAQ 7.31 -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept

Re: [Rd] Strange Interaction Between Promises and Closures (PR#13861)

2009-07-30 Thread Peter Dalgaard
is an interesting problem... Probably, Section 4.3.3 in the R-lang manual is the only viable option. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45

Re: [Rd] Sys.setlocale

2009-07-28 Thread Peter Dalgaard
be that you have Encoding: latin1 in DESCRIPTION. For a workaround, you could play with the R_ENCODING_LOCALES environment variable (documented in R-exts), but I suspect it is easier just to install en_US. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept

Re: [Rd] rcmdr gui not running (PR#13831)

2009-07-15 Thread Peter Dalgaard
namespaces would take care of that?) Have you tried starting R with a clean workspace before loading Rcmdr? -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph

Re: [Rd] box and whisker (PR#13821)

2009-07-12 Thread Peter Dalgaard
,] 1.4625057 -- 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) FAX: (+45) 35327907

Re: [Rd] compile and install R @ one user defined directory? (PR#13779)

2009-06-25 Thread Peter Dalgaard
-2.9.0 install This is not a bug. Please do not abuse the bug repository. The error is what it says it is: You don't have readline headers and libraries, or not where configure can find them. Install them or use configure --without-readline --prefix= -- O__ Peter Dalgaard

Re: [Rd] V2.9.0 changes [Sec=Unclassified]

2009-06-24 Thread Peter Dalgaard
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) FAX: (+45) 35327907

Re: [Rd] Inverting a square matrix using solve() with LAPACK=TRUE (PR#13762)

2009-06-18 Thread Peter Dalgaard
, hinv3) # Now, they are equal __ 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. K

Re: [Rd] Vectorize fails for function with ... arglist

2009-06-03 Thread Peter Dalgaard
. [[alternative HTML version deleted]] __ 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] 'mean' is not reverted in median() as NEWS says (PR#13731)

2009-05-29 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 ~~ - (p.dalga...@biostat.ku.dk) FAX: (+45) 35327907

Re: [Rd] qbinom (PR#13711)

2009-05-21 Thread Peter Dalgaard
(0.01, 5016279, 4e-07) [1] 16 qbinom(0.01, 5016279, 5e-07) [1] 0 Confirmed with 2.9.0 patched (r48590) on Fedora 32bit. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen

Re: [Rd] diag() has a bug (PR#13702)

2009-05-14 Thread Peter Dalgaard
__ 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. K

Re: [Rd] Predict function npindex and npindexbw (PR#13695)

2009-05-12 Thread Peter Dalgaard
) summary(bw) predict(bw) You will see that the results of the summary and the predict function are the same. You need to take this up with the package maintainer. This is not a bug in R itself and cannot be handled via the bug report system. -- O__ Peter Dalgaard Øster

Re: [Rd] unsplit list of data.frames with one column

2009-05-09 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 ~~ - (p.dalga...@biostat.ku.dk) FAX: (+45) 35327907

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

2009-05-05 Thread Peter Dalgaard
or triplicate versions. -- 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) FAX: (+45

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

2009-05-04 Thread Peter Dalgaard
the example with tt - table(signif(zz,7)) plot(as.numeric(names(tt)),tt, type=h) ] -- 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] suggestion for extending ?as.factor

2009-05-04 Thread Peter Dalgaard
that are very slightly different but round to get the same level name, how about putting something like if (is.numeric(x)) x - zapsmall(x) somewhere at the start of the factor() function? -p -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept

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

2009-04-24 Thread Peter Dalgaard
, 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 (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~ - (p.dalga

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

2009-04-23 Thread Peter Dalgaard
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 Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University

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

2009-04-22 Thread Peter Dalgaard
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__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014

Re: [Rd] Patch for tk/GUI

2009-04-21 Thread Peter Dalgaard
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 Biostatistics PO Box 2099, 1014 Cph

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

2009-04-20 Thread Peter Dalgaard
$i; done viggo:~/for i in ; do echo $i; done viggo:~/for i in foo bar ; do echo $i; done foo bar viggo:~/for i in foo bar ; do echo $i; done foo bar Notice that the versions with quotes invariably do the Wrong Thing -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B

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

2009-04-16 Thread Peter Dalgaard
count in internet.Rout.save). So, cannot possibly fix for 2.9.0 tomorrow. Anything peculiar about your setup (e.g., networked drive) that might keep the unlink from happening? -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099

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

2009-04-13 Thread Peter Dalgaard
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 Cph. K (*) \(*) -- University of Copenhagen

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

2009-04-10 Thread Peter Dalgaard
to trigger the NA behaviour. I'm at a loss here, but some ideas: In the cases where it returns NA, what type is it? (I.e. storage.mode(type.convert())) What do you get from charToRaw(§) [1] c2 a7 (a7, presumably, but better check). -p -Ursprüngliche Nachricht- Von: Peter Dalgaard

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

2009-04-10 Thread Peter Dalgaard
-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...@stat.math.ethz.ch Subject: Re: [Rd] type.convert (PR#13646) Raberger, Stefan

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

2009-04-09 Thread Peter Dalgaard
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 version (r48312). -- O__ Peter

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

2009-04-07 Thread Peter Dalgaard
{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 Ph: (+45) 35327918 ~~ - (p.dalga

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

2009-04-04 Thread Peter Dalgaard
changed here? I think it is by 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

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

2009-03-24 Thread Peter Dalgaard
work. I'd hate writing its help page, though. -- 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] Why does the lexical analyzer drop comments ?

2009-03-20 Thread Peter Dalgaard
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 Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept

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

2009-03-10 Thread Peter Dalgaard
but what could that be? h. __ 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. K

Re: [Rd] surprising behaviour of names-

2009-03-10 Thread Peter Dalgaard
a different story. -- 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) FAX: (+45

Re: [Rd] patch for 'merge' docs

2009-03-09 Thread Peter Dalgaard
-devel __ 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. K

Re: [Rd] bug of *switch* function

2009-03-09 Thread Peter Dalgaard
named argument (of which you have none), then the result is the first unnamed argument (i.e. Hs). -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45

Re: [Rd] E``rrors in recursive default argument references

2009-03-09 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 ~~ - (p.dalga...@biostat.ku.dk) FAX: (+45) 35327907

Re: [Rd] bug (PR#13570)

2009-03-06 Thread Peter Dalgaard
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 like to have available when explaining how the method works. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c

Re: [Rd] bug (PR#13570)

2009-03-05 Thread Peter Dalgaard
, package:grDevices, package:utils, package:datasets, package:Rutils, package:methods, Autoloads, package:base __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- O__ Peter Dalgaard Øster Farimagsgade 5

Re: [Rd] bug (PR#13570)

2009-03-05 Thread Peter Dalgaard
? On Thu, 5 Mar 2009, Uwe Ligges wrote: Berwin A Turlach wrote: G'day Peter, On Thu, 05 Mar 2009 09:09:27 +0100 Peter Dalgaard p.dalga...@biostat.ku.dk wrote: rha...@stat.purdue.edu wrote: insert bug report here This is a CRITICAL bug!!! I have verified it in R 2.8.1 for mac

Re: [Rd] invalid comparison in numeric sequence (PR#13551)

2009-02-25 Thread Peter Dalgaard
FALSE FALSE FALSE TRUE FALSE FALSE What is wrong with 0.6 ??? (TRUE is missing) I tried 3 differents computers (2 Ubuntu with R 2.8.1, and one Mac with R 2.8). FAQ 7.31, not a bug. Expect about 10 people to tell you so. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B

Re: [Rd] [R] length 1 offset in glm ( lm)

2009-02-25 Thread Peter Dalgaard
message: In format.data.frame(x, digits = digits, na.encode = FALSE) : corrupt data frame: columns will be truncated or padded with NAs foo - 2 model.frame(~foo-1,data=aq) foo 1 2 -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics

Re: [Rd] 'unique' error message is printed despite silent=TRUE (PR#13547)

2009-02-22 Thread Peter Dalgaard
on NULL, despite their help! ...which makes little sense to explain the PrintValue(x). I suspect this is a debugging printout that was inadvertently left in. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K

Re: [Rd] Update today broke foreign package (PR#13533)

2009-02-17 Thread Peter Dalgaard
/listinfo/r-devel -- 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) FAX: (+45

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

2009-02-13 Thread Peter Dalgaard
crashes? Is it possible to put the file on a webpage (or maybe a subset showing the same syptoms)? Without it, the problem is not really reproducible by anyone but you. -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099

Re: [Rd] One more note

2009-02-09 Thread Peter Dalgaard
is not available on your system (a) Which system? (b) Do you have capabilities(tcltk) tcltk TRUE -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph

Re: [Rd] Bug in the parser (?) (PR#13504)

2009-02-05 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 ~~ - (p.dalga...@biostat.ku.dk) FAX: (+45) 35327907

Re: [Rd] (PR#8192) [ subscripting sometimes loses names

2009-01-31 Thread Peter Dalgaard
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) FAX: (+45) 35327907

Re: [Rd] Side-effects of require() vs library() on x86_64 aka amd64

2009-01-31 Thread Peter Dalgaard
bug to a completely different point in space an time. -- 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

Re: [Rd] FW: [R] The Quality Accuracy of R

2009-01-25 Thread Peter Dalgaard
document itself needs a verification process to ensure that it is correct. Best, -pd Best regards, Bob -Original Message- From: Peter Dalgaard [mailto:p.dalga...@biostat.ku.dk] Sent: Saturday, January 24, 2009 4:53 AM To: Muenchen, Robert A (Bob) Cc: r-h...@r-project.org Subject

Re: [Rd] [Q] R CMD check signals error on code that works from UI

2009-01-15 Thread Peter Dalgaard
on console. foos - c(aaa, bbb, ccc) cat(sapply(foos, function(foo) { sprintf(name: %-18s upper: %s\n, foo, toupper(foo)) }), sep=) -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c

Re: [Rd] Apparant bug in binomial model in GLM (PR#13434)

2009-01-07 Thread Peter Dalgaard
all outcomes are equally likely under the corresponding y~1 model. -p -- 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] Bug report in foreign library (PR#13425)

2009-01-03 Thread Peter Dalgaard
, Northampton, MA 01063-0001 http://www.math.smith.edu/~nhorton __ 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

Re: [Rd] Misuse of $matn expressions$ in Rd files

2008-12-19 Thread Peter Dalgaard
{\mu}g/l in other places, but that comes out as mug/l which looks like an inverted measure for coffee cups. I probably gave up deciding a good incantation for microgram per liter in text mode. Possibly \eqn{\mu}{u} is the best on can do. -- O__ Peter Dalgaard Øster

Re: [Rd] [R] Error: bad value problem

2008-12-18 Thread Peter Dalgaard
activity, and did trip up my Fedora laptop slightly. H -p Martyn On Wed, 2008-12-17 at 22:07 -0500, Duncan Murdoch wrote: On 17/12/2008 9:47 PM, Duncan Murdoch wrote: On 17/12/2008 8:56 PM, Peter Dalgaard wrote: Ben Bolker wrote: I can get the errors to happen on Ubuntu 8.10

Re: [Rd] [R] Error: bad value problem

2008-12-18 Thread Peter Dalgaard
Martyn Plummer wrote: On Thu, 2008-12-18 at 10:57 +0100, Peter Dalgaard wrote: Martyn Plummer wrote: This has all the hallmarks of a bug I found and fixed in R-devel (r46998). I did not port the patch over to the R release branch because I could not reproduce the bug. [] Yes, this does

Re: [Rd] [R] Error: bad value problem

2008-12-17 Thread Peter Dalgaard
;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014

Re: [Rd] re ad.spss (foreign) conflict with SPSS 17 files.

2008-12-14 Thread Peter Dalgaard
. However as far as I can google, Code Page 65001 _is_ UTF-8... -- 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

Re: [Rd] repeat bug report: as.factor argument to row / col fails if NULL dimnames

2008-12-12 Thread Peter Dalgaard
it in the bug tracker could be my failing. D -- 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] Checking your package's help files

2008-12-07 Thread Peter Dalgaard
Prof Brian Ripley wrote: 3) Grep the installed help for internal constructs, e.g. grep nornal-bracket installed-package/help/* I see that you're following the time-honored empirical law, that every spelling flame contains at least one misteak itself... -- O__ Peter Dalgaard

<    3   4   5   6   7   8   9   10   11   12   >