Re: [Rd] Problem with order() and I()

2014-09-09 Thread peter dalgaard
any recent change. > > >> -- >> Don MacQueen > >> Lawrence Livermore National Laboratory >> 7000 East Ave., L-627 >> Livermore, CA 94550 >> 925-423-1062 > >> __ >> R-devel@r-project.org mailing li

Re: [Rd] Problem with order() and I()

2014-09-09 Thread peter dalgaard
sing it. And if I remember correctly, 2001 > is prior to the current R support for locales and extended character sets. > Using \265 is what I could find at that time to get a mu into my output. > > I came across this while checking some things; it¹s not actually breaking > my scripts, so I doubt

Re: [Rd] issue with compiling r6

2014-09-17 Thread peter dalgaard
WwQd > /2Qji9HBLkD6ODa29JYvn1DTXZzigF/gnG7ZBx8xN8d7rQ8v/cKY2ZNk8fg+4II= > =m0Kr > -END PGP SIGNATURE- > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor

Re: [Rd] How I() works in a formula

2014-10-03 Thread peter dalgaard
e Engineering > Department of Mathematical Modelling, Statistics and Bio-Informatics > > tel : +32 9 264 59 87 > joris.m...@ugent.be > --- > Disclaimer : http://helpdesk.ugent.be/e-maildisclaimer.php > > [[alternative HTML version deleted]] > > __

[Rd] R 3.1.2 planned for Oct 31

2014-10-06 Thread peter dalgaard
Core Team - Peter D. -- Peter Dalgaard, Professor, 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

Re: [Rd] R 3.1.1 and 3.1.2 both fail their test suites

2014-11-05 Thread peter dalgaard
unate. I wouldn't object to special variations like "make check-without-recommended" or "make check-core". Except, of course, if the dontrun/dontcheck logic gets even more convoluted than it already is... -- Peter Dalgaard, Professor, Center for Statistics,

Re: [Rd] r-release, r-oldrel

2014-11-07 Thread peter dalgaard
els=unique(maj.min)) unsplit(lapply(split(versions, maj.min),tail,1),unique(maj.min)) -pd > >> >>>> and r-oldrel >>> >>> >>> If R-x.y.z is recent, then r-oldrel corresponds to the latest "y-1" version, >>> i.e. currently R

Re: [Rd] ambiguity in the documented return value of Null() from package MASS

2014-11-10 Thread peter dalgaard
quare and of maximal rank. > > --- > > (R version 3.1.1 Patched (2014-09-21 r66653) -- "Sock it to Me") > > Georgi > > __ > R-devel@r-project.org mailing list

Re: [Rd] Correction in help(factanal)

2014-11-14 Thread peter dalgaard
hematics & Its Applications, Room 1194, > John Dedman Mathematical Sciences Building (Building 27) > Australian National University, Canberra ACT 0200. > > > ______ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman

Re: [Rd] Correction in help(factanal)

2014-11-14 Thread peter dalgaard
Done. Actually, I just dropped the row-vector bit. Doesn't seem necessary and the "column vectors stored as matrix rows" issue is (a) well-known and (b) generic to multivariate methods. > On 14 Nov 2014, at 10:09 , peter dalgaard wrote: > > Right. (Well, I suppose th

Re: [Rd] R string comparisons may vary with platform (plain text)

2014-11-23 Thread peter dalgaard
ed counterpart in some languages but as separate characters in others; some locales sort ABab, others AaBb, yet others aAbB; sometimes punctuation is ignored, sometimes not; sometimes multiple characters count as one, etc. -- Peter Dalgaard, Professor, Center for Statistics, Co

Re: [Rd] Unexplained difference between results of dppsv and dpotri LAPACK routines

2014-12-20 Thread peter dalgaard
t; > I expected both printed values to be identical, or almost so. But > issuing .Call("test") prints: > 0.426571 > 0.415648 > > Difference is thus many degrees of magnitude above numerical > precision. What am I missing that explains it? > > Thanks by adv

Re: [Rd] setequal: better readability, reduced memory footprint, and minor speedup

2015-01-08 Thread peter dalgaard
Division of Public Health Sciences > Fred Hutchinson Cancer Research Center > 1100 Fairview Ave. N, M1-B514 > P.O. Box 19024 > Seattle, WA 98109-1024 > > E-mail: hpa...@fredhutch.org > Phone: (206) 667-5791 > Fax:(206) 667-1319 > >

Re: [Rd] Is the tcltk failure in affylmGUI related to R bug 15957

2015-01-14 Thread peter dalgaard
Seems unlikely that that particular bug is involved. I seem to recall some change related to inadvertent variable capture in .TkRoot$env (?). At any rate, we currently have > parent.env(.TkRoot$env) which used to be > parent.env(.TkRoot$env) as a result, this won't work any more because R_E

Re: [Rd] Link to NEWS.2 in NEWS is broken

2015-01-20 Thread peter dalgaard
> Using relative links is a very good idea here, as all that > should work completely offline. > > The task here is to adapt all the other "published" versions of the > generated NEWS.html files to point to a web (as opposed to > local/relative) URL. > > Yes ``just another'' tweak f

Re: [Rd] error code 1 from Lapack routine 'dsyevr'

2015-02-02 Thread peter dalgaard
ist > https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com _

[Rd] Release plans for R versions 3.1.3 and 3.2.0

2015-02-12 Thread Peter Dalgaard
to avoid collisions with the release process. For the Core Team Peter D. -- Peter Dalgaard, Professor 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] alternatives to do.call() when namespace is attached but not loaded?

2015-02-24 Thread peter dalgaard
that the Suggested package is loaded and attached? Can I ignore the >> check warning? >> >> best, >> -skye >> >> ______ >> R-devel@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-devel > >

Re: [Rd] The Environment variables settings in bin/R, why do they ignore environment variables of the same name?

2015-02-27 Thread peter dalgaard
that it wouldn't run, the reason being that it was looking for system files in the wrong place (and as the relevant contents of the $R_HOME subdirectories only changed rarely, people had been getting away with it for a long time until we "suddenly broke r-devel"). -- Peter D

Re: [Rd] CRAN binary, but no source

2015-03-19 Thread peter dalgaard
versions from there, too? :) On CRAN not just the files are > missing, but these versions are also missing from the RDS database. So they > won't be coming back I assume? > Perhaps you should stop guessing and start asking the CRAN maintainers? Hint: c...@r-project.org -pd -- Peter

Re: [Rd] Possible values for R version status

2015-03-23 Thread peter dalgaard
"Under development (unstable)" Notice that the empty string is used for _official releases_. I wouldn't know in what sense "Stable" would apply to those, but they are typically the ones that 3rd party developers like Linux distributions would pick up and ship. --

Re: [Rd] typo in R-exts.html section 6.9

2015-04-11 Thread peter dalgaard
omitted? >> >> Bill Dunlap >> TIBCO Software >> wdunlap tibco.com >> >> [[alternative HTML version deleted]] >> >> ______ >> R-devel@r-project.org mailing list >> https://stat.ethz.ch/mai

Re: [Rd] Redefining {

2015-04-17 Thread peter dalgaard
it was at some point the intention to specify vectors as (7, 9, 13) or [7, 9, 13] but the resulting semantic issues led the developers to choose the pure functional form c(7, 9, 13). -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederik

Re: [Rd] R-3.2.0 Fedora 21 heads up

2015-04-17 Thread peter dalgaard
> On 17 Apr 2015, at 21:09 , Dominick Samperi wrote: > > FYI, with R-3.2.0 the configure options --with-system-zib=yes > --with-system-bzlib=yes --with-system-pcre=yes become the default > (according to Peter Dalgaard), so the devel versions of these > libraries must be inst

Re: [Rd] Fix for bug in arima function

2015-04-21 Thread peter dalgaard
; incorporated. > > > -- > Patrick Perry > Assistant Professor > Stern School of Business > New York University > > ______ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalg

Re: [Rd] Typo in src/scripts/config

2015-04-21 Thread peter dalgaard
> http://www.keittlab.org/ > > [[alternative HTML version deleted]] > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbj

Re: [Rd] Title case in DESCRIPTION for package where a word is a function namei

2015-04-25 Thread peter dalgaard
packages and external software in single quotes, and to >> book titles (and similar) in double quotes." >> >> Other non-English usage (as documented for the Description field; this >> inlcudes function names) can also be used in single quotes. >> >> Best, >>

Re: [Rd] Inconsistency when naming a vector

2015-04-27 Thread peter dalgaard
eral rules like names(l)[[2]] <- "a" being (nearly) equivalent to `*tmp*`<- names(l) `*tmp*`[[2]] <- "a" names(l) <- `*tmp*` - pd > > Hadley > > -- > http://had.co.nz/ > > __ > R-devel@r-projec

Re: [Rd] Print output during long tests?

2015-05-04 Thread peter dalgaard
ome environment variable, so that some more > verbose test output could be shown on R CMD check? > > [[alternative HTML version deleted]] > > ______ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaa

Re: [Rd] Why is the diag function so slow (for extraction)?

2015-05-04 Thread peter dalgaard
out in a context involving matrix multiplication and/or inversion, both of which are O(n^3). If it is deliberate, the question is why. There could be devils in the details; notice in particular that c() strips off non-name attributes. However, I'm not aware of a situation where such attributes could

Re: [Rd] R Language Definition: Subsetting matrices with negative indices is *not* an error

2015-05-09 Thread peter dalgaard
7 11 > [4,]48 12 > >> x[c(-2,-4),] > [,1] [,2] [,3] > [1,]159 > [2,]37 11 > > /Henrik > > (*) https://stat.ethz.ch/pipermail/r-devel/2015-May/071091.html [docs > have been fixed] > > __

Re: [Rd] R Language Definition: Subsetting matrices with negative indices is *not* an error

2015-05-09 Thread peter dalgaard
> On 09 May 2015, at 22:33 , Henrik Bengtsson wrote: > > On Sat, May 9, 2015 at 12:55 AM, peter dalgaard wrote: >> >> >> Rephrasing would seem to be in order > > Ah... definitely a "parse error" (I read it as a new paragraph). I > second

Re: [Rd] Wrongly checked MD5 checksums in R 3.2.0's windows binary

2015-05-11 Thread peter dalgaard
. > >> I intend to remove the test for these files in the next >> version of installr, but I thought this might interest >> people to know. > > Well, one could argue that this is a bug in your package. > ...especially since this seems to be about executable file

Re: [Rd] Wrongly checked MD5 checksums in R 3.2.0's windows binary

2015-05-11 Thread peter dalgaard
nse as safeguards against technical errors (such as the infamous CR/CRLF conversions). I still don't get why Tal refuses to work out the apparently quite simple logic that decides which checksums should be used to check the installed R.exe and Rscript.exe. -- Peter Dalgaard, Professor,

Re: [Rd] Why is the diag function so slow (for extraction)?

2015-05-14 Thread peter dalgaard
ect is where M[i,j] != M[(i-1)*m+j] AND c(M) will stringize M in column-major order, so that M[i,j] == c(M)[(i-1)*m+j]. The former is not true for ordinary matrices (i.e., single-index extraction just works), and the latter does not hold for data frames. The 1$ question is whether there act

Re: [Rd] Fix for bug in arima function

2015-05-21 Thread peter dalgaard
rong!! AFAICT, the issue is that n.used got changed from being based on lm(x~...) to lm(dx~...) where dx is the differenced series. Now that surely loses one observation in arima(.,1,.), most likely unintentionally, but it is not at all clear that the fix is not to subtract length(Delta) -- that

Re: [Rd] Fix for bug in arima function

2015-05-21 Thread peter dalgaard
On 21 May 2015, at 12:49 , Martin Maechler wrote: >>>>>> peter dalgaard >>>>>>on Thu, 21 May 2015 11:03:05 +0200 writes: > >> On 21 May 2015, at 10:35 , Martin Maechler >> wrote: > >>>> >>>> I noticed that

Re: [Rd] No R-2.14 beta executable for windows?

2011-10-18 Thread peter dalgaard
tting cutting-edge test releases from a mirror is a bit of a contradiction in terms anyways, because of the mirroring delays. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv

Re: [Rd] minor typos

2011-10-29 Thread peter dalgaard
x/ > > contains (second paragraph): "Altough we take precautions when > assembling binaries, please use the normal precautions with downloaded > executables. " -- should be "Although" ... > I'll leave that one for the CRAN masters -- Peter Dalgaard, Professo

Re: [Rd] R CMD check and error in an \Sexpr in an Rd file

2011-10-31 Thread peter dalgaard
stop("sexpr error")} >>>>> > >>>>> > The strange thing is that it occurs at the example checking step. >>>>> > Not sure why it does not break before. >>>>> > >>>>> > Thank you. >>>>> &g

Re: [Rd] Error in documentation of "merge"

2011-11-04 Thread peter dalgaard
columns. See ŒDetails‚. > > all: logical; Œall = L‚ is shorthand for Œall.x = L‚ and Œall.y = > L‚. > > > The "L" should be a T or a TRUE. I think it's on purpose: L indicates a logical value, TRUE _or_ FALSE. -pd -- Peter Dalgaard, Professor Ce

Re: [Rd] cygwin R-2.14.0 build fail

2011-11-12 Thread peter dalgaard
2.14.0), but I think you're altogether better off over on https://lists.sourceforge.net/lists/listinfo/cygwin-ports-general > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Profe

Re: [Rd] cygwin R-2.14.0 build fail

2011-11-16 Thread peter dalgaard
0 > [2,]210 > > stopifnot(identical(z, x %*% t(y))) > Error: identical(z, x %*% t(y)) is not TRUE > Execution halted > tests/reg-BLAS.Rout.fail (END) > -- > > Regards > Marco > > ___

Re: [Rd] strange behavior from cex="*"

2011-11-16 Thread peter dalgaard
> attached base packages: > [1] stats graphics grDevices utils datasets methods base > > other attached packages: > [1] glmmADMB_0.6.5 MASS_7.3-14png_0.1-3 > > loaded via a namespace (and not attached): > [1] grid_2.15.0 lattice_0.19-33 nlme_3.1-102tools_2.15.0 > >

Re: [Rd] round() ignores missing arguments if it is used inside another function where some arguments are missing.

2011-11-19 Thread peter dalgaard
ight, the y argument is not evaluated in the >>> fun2 function but deeper in the C code. that explains the lack of the >>> error message, thanks! I keep on learning every day. >>> Cheers >>> >>> Joris >>> >> >> ___

Re: [Rd] Confused about NAMED

2011-11-24 Thread peter dalgaard
() then z[1] <- 5 would change e$v too. As it happens, there aren't any side effects in the forme case, but R loses track and assumes the worst. > > Thanks! > Matthew > > __ > R-devel@r-project.org mailing list > https://s

Re: [Rd] Confused about NAMED

2011-11-24 Thread peter dalgaard
1+0; v} >> z <- f() >> >> then z[1] <- 5 would change e$v too. As it happens, there aren't any side >> effects in the forme case, but R loses track and assumes the worst. >> > > Thanks a lot, think I follow. That explain

Re: [Rd] Confused about NAMED

2011-11-24 Thread peter dalgaard
call is being evaluated, so bugs can bite in both places -- z or x.) There are many of these cases where you might pragmatically want to override the default NAMED logic, but you'd be stepping into treacherous waters. Luke has probably been giving these matters quite some thought in connect

Re: [Rd] 32 vs 64 bit difference?

2011-11-26 Thread peter dalgaard
tics from 32 bit code (since you shift more data around for pointers), the FPU instructions may be differently optimized too. > > Terry Therneau > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo

Re: [Rd] Standardizing included packages

2011-11-30 Thread peter dalgaard
sociates Inc. > tel: 1-877-GKX-GROUP > email: ggrothendieck at gmail.com > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business

Re: [Rd] bug in rank(), order(), is.unsorted() on character vector

2011-12-07 Thread peter dalgaard
.0 >> >> >> -- >> Hervé Pagès >> >> Program in Computational Biology >> Division of Public Health Sciences >> Fred Hutchinson Cancer Research Center >> 1100 Fairview Ave. N, M1-B514 >> P.O. Box 19024 >> Seattle, WA 98109-1024 >

Re: [Rd] bug in sum() on integer vector

2011-12-14 Thread peter dalgaard
ic(.))")); *value = NA_INTEGER; } inside the summation loop. Obviously, there's a speed penalty from two FP comparisons per element, but I wouldn't know whether it matters in practice for anyone. -- Peter Dalgaard, Professor Center for Statistics, Cop

Re: [Rd] problems with iconv

2011-12-14 Thread peter dalgaard
Probably not. I would expect something like /usr/local/include, and maybe a -I option to make sure it was found before the Solaris-supplied one. Does make install (for iconv) not do that for you? You may need to look into config.log and see exactly what is going wrong when configure fails the test abou

Re: [Rd] bug in sum() on integer vector

2011-12-15 Thread peter dalgaard
On Dec 15, 2011, at 02:51 , Hervé Pagès wrote: > Hi Peter, > > On 11-12-14 08:19 AM, peter dalgaard wrote: >> >> On Dec 14, 2011, at 16:19 , John C Nash wrote: >> >>> >>> Following this thread, I wondered why nobody tried cumsum to see where

Re: [Rd] Speed issue when writing to RGui console from tcl/tk GUI

2011-12-20 Thread peter dalgaard
or fixes, I'd be > interested to know. > > Regards, > Richie. > > [[alternative HTML version deleted]] > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalg

Re: [Rd] lubridate does not install on FreeBSD any more

2012-01-11 Thread peter dalgaard
r: locked binding of '+.Date' cannot be changed > Error: loading failed > Execution halted > ERROR: loading failed > * removing '/usr/local/lib/R/library/lubridate' > * restoring previous '/usr/local/lib/R/library/lubridate' > > > Do you have

Re: [Rd] use of UTF-8 \uxxxx escape sequences in function arguments

2012-01-18 Thread peter dalgaard
c2 bc VULGAR FRACTION ONE QUARTER U+00FC ü c3 bc LATIN SMALL LETTER U WITH DIAERESIS -- Peter Dalgaard, Professor, 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] factor S4 class is NA when as.character method exists

2012-01-23 Thread peter dalgaard
numeric vector, so the levels become as.character(unique(bar)) which is c("12") and doesn't match any of the values of as.character(bar). So, either provide a unique() method, or use factor(as.character(bar)). > > Thank you. > > Dan Murphy > > [[alternative

Re: [Rd] Numerical instability in new R Windows development version

2012-01-27 Thread peter dalgaard
- (x^2 + y^2))" is not. However, "pmax(0, 1 - (x^2 + y^2))" is (unless 0-length x,y is an issue). But of course, Duncan is right: It is a bug if you can't take the square root of negative zero. -- Peter Dalgaard, Professor Center for Statistics, Copenhagen Business

Re: [Rd] Typo in NEWS: -as-cran should be --as-cran

2012-02-29 Thread peter dalgaard
--" to en-dash. (We saw it with the style files used for The R Journal, but that is hardly the case this time.) > > /Henrik > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter

Re: [Rd] Substitute adds id attribute?

2012-03-20 Thread peter dalgaard
do for environments and NULL) but I bet that breaks something... > Thanks, > > Hadley > > -- > Assistant Professor / Dobelman Family Junior Chair > Department of Statistics / Rice University > http://had.co.nz/ > > __ > R-devel@r-project.org m

Re: [Rd] Why is there no within.environment function?

2012-03-21 Thread peter dalgaard
y <- runif(5) >>} >> )) >> >> Just wondering why I can't use within directly with environments. >> >> -- >> 4dpiecharts.com >> >> __ >> R-devel@r-project.org mailing list >> https://stat.ethz.ch/mailm

Re: [Rd] .Call ref card [was Re: R-devel Digest, Vol 109, Issue 22]

2012-03-22 Thread peter dalgaard
ot;. (Mostly because the things I needed to know are >>> scattered about in multiple places.) >>> >>> I might have to ask for an exemption on that timestamp -- the first bits of >>> the survival package only reach back to 1986. And I've had to change &g

Re: [Rd] CRAN policies

2012-03-29 Thread peter dalgaard
examples, but > this one was easy to demonstrate. > > Regards, > > - Brian > > -- > Brian G. Peterson > http://braverock.com/brian/ > Ph: 773-459-4973 > IM: bgpbraverock > > __ > R-devel@r-project.org mailing list > https://stat.ethz.

Re: [Rd] R CMD check returns NOTE about package data set as global variable

2012-04-06 Thread peter dalgaard
niversity >>> >>> __ >>> R-devel@r-project.org mailing list >>> https://stat.ethz.ch/mailman/listinfo/r-devel >> >> >> -- >> Brian D. Ripley, rip...@stats.ox.ac.uk >> Professor of Applied

Re: [Rd] R CMD check returns NOTE about package data set as global variable

2012-04-06 Thread peter dalgaard
code checker has no > way to know that the RutgersMapB36 variable is actually defined. > > Try this: > > test<-function() { > RutgersMapB36 <- NULL > data(RutgersMapB36) > return(RutgersMapB36[,1]) > } > That might remove the NOTE, but as far as I can s

Re: [Rd] R CMD check returns NOTE about package data set as global variable

2012-04-06 Thread peter dalgaard
the user has a variable called "RutgersMapB36" lying around for you to clobber, but suppose that it was "x" or "mydata"... -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone

Re: [Rd] unexpectedly high memory use in R 2.14.0

2012-04-11 Thread peter dalgaard
oo_1.9.3 > R.methodsS3_1.2.2 > > loaded via a namespace (and not attached): > [1] codetools_0.2-8 tcltk_2.14.0tools_2.14.0 > > > > I compiled R configure as follows > /configure --prefix=/usr/local/R --enable-byte-compiled-packages=no > --with-tcltk --enable-R-

Re: [Rd] delayedAssign changing values

2012-04-26 Thread peter dalgaard
se, namely binding actual arguments to formal arguments. It is just that some trickery is used in order to make the situation visible. I agree that the example looks a bit out of place, though. Perhaps there ought to be a help page on lazy evaluation and a reference to it? (Any volunteers?)

Re: [Rd] 7 arguments passed to .Internal(identical) which requires 6

2012-06-06 Thread peter dalgaard
>> > > -- > Luke Tierney > Chair, Statistics and Actuarial Science > Ralph E. Wareham Professor of Mathematical Sciences > University of Iowa Phone: 319-335-3386 > Department of Statistics andFax: 319-335-3017 > Actuarial Science

Re: [Rd] An extreme quantile of the geometric distribution

2012-06-29 Thread peter dalgaard
there's no check that the result is positive. qnbinom(, size=1) is equivalent and does get right, by the way. -pd > > Best regards, > > Michaël > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mail

Re: [Rd] An extreme quantile of the geometric distribution

2012-06-30 Thread peter dalgaard
ve i+1: > qgeom(pgeom(1,.1),.1) [1] 1 > qgeom(pgeom(1,.1)-.01,.1) [1] 1 > qgeom(pgeom(1,.1)+.01,.1) [1] 2 However, floating point calculations being what they are, we don't trust equality, so we move the cutpoint a little -- apparently a little too much. > Best regards, >

Re: [Rd] installing spam package is failing (spam_0.29-1)

2012-07-18 Thread peter dalgaard
essage in context: > http://r.789695.n4.nabble.com/installing-spam-package-is-failing-spam-0-29-1-tp4636628p4636918.html > Sent from the R devel mailing list archive at Nabble.com. > > __ > R-devel@r-project.org mailing list > https://

Re: [Rd] installing spam package is failing (spam_0.29-1)

2012-07-18 Thread peter dalgaard
the last line and retry. -- Peter Dalgaard, Professor, 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 l

Re: [Rd] Rconfig.h & unsupported architectures

2012-07-29 Thread peter dalgaard
ned __ppc64__ #include "ppc64/Rconfig.h" #elif defined __x86_64__ #include "x86_64/Rconfig.h" #elif defined __arm__ #include "arm/Rconfig.h" #else #error "Unsupported architecture." #endif > Cheers, > Simon > > __

Re: [Rd] Numerics behind splineDesign

2012-08-01 Thread peter dalgaard
7-7374 > Website: > http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Profes

Re: [Rd] Numerics behind splineDesign

2012-08-01 Thread peter dalgaard
On Aug 1, 2012, at 18:03 , Bert Gunter wrote: > Inline... > > On Wed, Aug 1, 2012 at 8:36 AM, Nathaniel Smith wrote: >> Thanks everyone for the suggestions. >> >> On Wed, Aug 1, 2012 at 2:39 PM, peter dalgaard wrote: >>> >>> On Jul 31, 2012, at

Re: [Rd] INDEX rdb and rdx files

2012-08-02 Thread peter dalgaard
EX file > b) 'R' files such as MASS.rdb and MASS.rdx > > advice would be appreciated I think you need to read the Installation and Administration manual: http://cran.r-project.org/manuals.html -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School

Re: [Rd] INDEX rdb and rdx files

2012-08-02 Thread peter dalgaard
On Aug 2, 2012, at 11:22 , luxInteg wrote: > On Thursday 02 August 2012 09:39:18 peter dalgaard wrote: > >> I think you need to read the Installation and Administration manual: >> >> http://cran.r-project.org/manuals.html > > thanks > but if you mean thi

Re: [Rd] Interaction between callNextMethod() and selectMethod()

2012-08-03 Thread peter dalgaard
number on startup and at some point we may not even use it for an actual release, but there needs to be a number to test "R >= 2.14.0"-style dependencies and such. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg,

Re: [Rd] Interaction between callNextMethod() and selectMethod()

2012-08-05 Thread peter dalgaard
On Aug 5, 2012, at 04:16 , Simon Urbanek wrote: > > On Aug 4, 2012, at 9:49 PM, Hervé Pagès wrote: > >> On 08/03/2012 11:44 PM, peter dalgaard wrote: >>> >>> On Aug 4, 2012, at 01:24 , Hervé Pagès wrote: >>> >>>> BTW, it&#

Re: [Rd] compile fails with x86_64-alpine-linux-uclibc-gcc

2012-08-14 Thread peter dalgaard
> and here is how it's declared in stdio.h on my system: > > /* Get a newline-terminated string of finite length from STREAM. > > This function is a possible cancellation point and therefore not > marked with __THROW. */ > extern char *fgets (char *__restrict __s, int __n

Re: [Rd] chown, chgrp?

2012-08-15 Thread peter dalgaard
t;> don't think it makes sense to add it at this point. >> > > It does however raise the question, "What is Hadley up to now?" :) Aiming for the fortune file again, Barry? Anyways, since it is not portable anyway, what was ever wrong with system(sprintf("chow

Re: [Rd] CRAN check error with no example?

2012-08-25 Thread peter dalgaard
d to ask about this >>> first. >>> >>> >>>Thanks, >>>Spencer >>> >>> >>> [[alternative HTML version deleted]] >>> >>> __ >>> R-d

Re: [Rd] Typo (?) in 'aggregate.formula'

2012-09-03 Thread peter dalgaard
LC_TIME=English_United States.1252 > > attached base packages: > [1] stats graphics grDevices utils datasets methods base > > > I see that, in R 2.15.1, the code for 'aggregate.formula' is still the same. > > __ > R-devel@r-

Re: [Rd] Suggest adding a 'pivot' argument to qr.R

2012-09-07 Thread peter dalgaard
first time someone tried to use backsolve on it, wouldn't it? I mean, a major point of QR is that R is triangular; doesn't make much sense to permute the columns without retaining the pivoting permutation. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen

Re: [Rd] Suggest adding a 'pivot' argument to qr.R

2012-09-11 Thread peter dalgaard
On Sep 11, 2012, at 16:02 , Warnes, Gregory wrote: > > On 9/7/12 2:42 PM, "peter dalgaard" wrote: > >> >> On Sep 7, 2012, at 17:16 , Tim Hesterberg wrote: >> >>> I suggest adding a 'pivot' argument to qr.R, to obtain columns in the

Re: [Rd] as.data.frame.character lacks nm= argument

2012-09-14 Thread peter dalgaard
gt;> >>> __ >>> R-devel@r-project.org mailing list >>> https://stat.ethz.ch/mailman/listinfo/r-devel >> >> >> > > > -- > Brian D. Ripley, rip...@stats.ox.ac.uk > Professor of Appli

Re: [Rd] R Segfault reported in Fedora 17

2012-09-17 Thread peter dalgaard
__ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone

Re: [Rd] error on uneven recycling?

2012-09-25 Thread peter dalgaard
thing with cyclic behavior to a time series not necessarily containing an even number of cycles. If it has been outlawed in S-PLUS for a decade, that's probably not a big need... -p -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frede

Re: [Rd] Creating functions programmatically

2012-10-03 Thread peter dalgaard
although its semantics are a bit arcane. It and the converse as.list.function() have their origin in S-PLUS, where it was commonplace (or relatively so) to treat a function as a list, like in ls[[2]]. > > -- > RStudio / Rice University > http://had.co.nz/ > > __

Re: [Rd] How to build a list with missing values? What is missing, anyway?

2012-10-04 Thread peter dalgaard
;> >>> Does the same sort of thing explain the behavior of `...`? When the >>> interpreter comes across `...` in the arguments during evaluation of a >>> call, it trips a special argument-interpolating behavior? >>> -- Peter Dalgaard, Professor, Center fo

Re: [Rd] malloc error in tab-completion: OS X

2012-10-07 Thread peter dalgaard
but I easily could have overlooked it. >> >> Thanks, >> Michael >> >> __ >> R-devel@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-devel >> > > > -- > Brian D. Ripley,

Re: [Rd] as.data.frame.matrix() returns an invalid object

2012-10-13 Thread peter dalgaard
devel. >> >> Cheers, >> H. >> >> -- >> Hervé Pagès >> >> Program in Computational Biology >> Division of Public Health Sciences >> Fred Hutchinson Cancer Research Center >> 1100 Fairview Ave. N, M1-B514 >> P.O. Box 19024 >> Seattle, W

Re: [Rd] suppress *specific* warnings?

2012-10-26 Thread peter dalgaard
ss of >>>>>> warnings that can be handled differently >>>>>> >>>>>> mywarn <- >>>>>> function(..., call.=TRUE, immediate.=FALSE, domain=NULL) >>>>>> { >>>>>> msg <- .makeMessage(..

Re: [Rd] Retrieving data from aspx pages

2012-10-30 Thread peter dalgaard
r each of the bonds issued by AT&T (for example: >> >> http://cxa.gtm.idmanagedsolutions.com/finra/BondCenter/BondDetail.aspx?ID=MDAxOTU3Qko3) >> >> and parsing the data from the web page. >> >> Thanks in advance. >> >> ______ >> R-devel@r-pr

Re: [Rd] Typo in documentation for reshape?

2012-11-14 Thread peter dalgaard
be reported by two different people within a week. Or is there perhaps a more direct reason that the two of you should happen to be on the same page? -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Fr

Re: [Rd] library(tcltk) v. SIGPIPE BUG (?!?)

2012-12-11 Thread peter dalgaard
ess trying to serve two masters. It is not fixable overnight, but some of us (me, at least) try to find time to get a handle on it. My take is that it is necessary to set things up as separate threads or processes and define the interface via some sort of message-passing protocol. -- Peter Dalga

Re: [Rd] formal vs. passed args: parent.frame() behavior.

2013-01-02 Thread peter dalgaard
# NOT in .GlobalEnv, correct! > [1] "tmp" >> args(load) ## env=parent.frame() by default, but is it??? > function (file, envir = parent.frame()) > NULL >> > > -- > Jeffrey Ryan > jeffrey.r...@lemnica.com > > www.lemnica.c

Re: [Rd] weird bug with parallel, RSQlite and tcltk

2013-01-03 Thread peter dalgaard
("tcltk"), and it works fine again. >>> >>> I guess there's a bug somewhere, but where exactly ? >>> >>> Best, >>> >>> Karl Forner >>> >>> Further info: >>> >>> >>> R version 2.15

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