Re: [Rd] model.matrix evaluation challenges

2009-08-11 Thread Felix Andrews
Hi, OK, yes, it does require some explanation... What is the difference between your examples 2 and 3, where the first has the formula given explicitly, and the second has the formula assigned to the object? As you said, case 2 works while case 3 fails. 2. with(c(newdata,obj...@data),model.matri

Re: [Rd] Awkward escaping with five backslashes within \code{ } in new parse_Rd

2009-08-11 Thread Duncan Murdoch
Peter Ruckdeschel wrote: Hi R-devels, I noticed that you are working quite actively on the new Rd-parser and have made it the default renderer in R-2.10.0dev. So I would like to come back on an issue I have already raised on this list last November ("Two minor escaping issues using \preformatte

[Rd] Awkward escaping with five backslashes within \code{ } in new parse_Rd

2009-08-11 Thread Peter Ruckdeschel
Hi R-devels, I noticed that you are working quite actively on the new Rd-parser and have made it the default renderer in R-2.10.0dev. So I would like to come back on an issue I have already raised on this list last November ("Two minor escaping issues using \preformatted{} in Rd format") My

Re: [Rd] loadings function (PR#13886)

2009-08-11 Thread Paul Gilbert
In 2.9.1 the documentation says Usage: loadings(x) ## S3 method for class 'loadings': print(x, digits = 3, cutoff = 0.1, sort = FALSE, ...) ## S3 method for class 'factanal': print(x, digits = 3, ...) which indicates one argument as in the function call. The digits,

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

2009-08-11 Thread Peter Dalgaard
hsta...@aol.com wrote: One of the values assigned to w is zero. In a later function w^2 is used in a denominator. WHAT on earth are you on about? If you are talking about Appendix A of "An Introduction to R", then I'd like to know which element of w <- 1 + sqrt(x)/2 is zero --

Re: [Rd] loadings function (PR#13886)

2009-08-11 Thread smckinney
Hi Mike, Please don't file bug reports without first posing such questions on R-help or R-devel first, asking if such behaviour really is a bug. (This generates extra work for the volunteers who maintain R). In this case, it's your misunderstanding of the information about three different functi

Re: [Rd] loadings function (PR#13886)

2009-08-11 Thread Steven McKinney
Hi Mike, Please don't file bug reports without first posing such questions on R-help or R-devel first, asking if such behaviour really is a bug. (This generates extra work for the volunteers who maintain R). In this case, it's your misunderstanding of the information about three different functi

[Rd] Appendix A problem (PR#13885)

2009-08-11 Thread HStaley
One of the values assigned to w is zero. In a later function w^2 is used in a denominator. [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] loadings function (PR#13886)

2009-08-11 Thread mikedulrich
Full_Name: Mike Ulrich Version: 2.9 OS: Mac OSX Submission from: (NULL) (69.169.178.34) The help documentation for loadings() lists more then one parameter. The function call only expects one parameter. The digits, cutoff, and sort parameters are not used in the function. ## S3 method for class

Re: [Rd] Changing the compiler gfortran to ifort

2009-08-11 Thread Sklyar, Oleg (London)
on Unix alikes possibly: env F77=/path/to/ifort ./configure --prefix=/where/to/install Dr Oleg Sklyar Research Technologist AHL / Man Investments Ltd +44 (0)20 7144 3107 oskl...@maninvestments.com > -Original Message- > From: r-devel-boun...@r-project.org > [mailto:r-devel-boun...@r-pr

[Rd] readBin() arg check has unnecessary overhead (patch included)

2009-08-11 Thread Jon Clayden
Dear all, The version of readBin() in R-devel includes a use of match(), through `%in%`, which can affect its performance significantly. By using primitives instead of the rather expensive call to match(), I reduce the time spent inside readBin() by more than 30% in some of my code (part of the tr

[Rd] FIFO on windows, redux

2009-08-11 Thread Allen S. Rout
Are FIFOs supported in modern windowsen? The help() for connections that discusses fifos suggests that they are not > (They do work on most Unix platforms, and all but 'fifo' on > Windows.) and that they are > On platforms where 'vsnprintf' does not return the needed length of > output (e.g

Re: [Rd] model.matrix evaluation challenges

2009-08-11 Thread Ben Bolker
that seems to work, thank you. would anyone care to explain *why* it works ... ? or where I could go to read more about why it works ... ? cheers Ben Bolker Felix Andrews wrote: > how about... > > nrow(with(cc, model.matrix(params, data=environment( > > cheers > -Felix > > 2009/

Re: [Rd] identical(0, -0)

2009-08-11 Thread Petr Savicky
On Tue, Aug 11, 2009 at 10:04:20AM +0200, Martin Maechler wrote: > > "DM" == Duncan Murdoch > > on Mon, 10 Aug 2009 11:51:53 -0400 writes: > > DM> For people who want to play with these, here are some functions that > let > DM> you get or set the "payload" value in a NaN. N

Re: [Rd] identical(0, -0)

2009-08-11 Thread Martin Maechler
> "DM" == Duncan Murdoch > on Mon, 10 Aug 2009 11:51:53 -0400 writes: DM> For people who want to play with these, here are some functions that let DM> you get or set the "payload" value in a NaN. NaN and NA, Inf and -Inf DM> are stored quite similarly; these functions