Re: [Rd] ?bquote

2006-02-10 Thread Gabor Grothendieck
On 10 Feb 2006 12:15:10 +0100, Peter Dalgaard <[EMAIL PROTECTED]> wrote: > Gabor Grothendieck <[EMAIL PROTECTED]> writes: > > > ?bquote says it returns an expression but, in fact, it typically > > (though not always) returns a call object: > > > > > class(bquote(a+b)) > > [1] "call" > > > > > class

[Rd] Arguments of 'transform'

2006-02-10 Thread Bill.Venables
If you would like a 10 second R puzzle, you might like to think about this one: > g <- expand.grid(long = 130:140, lat = -(10:25)) > gp <- transform(g, x = long, y = lat) Error in transform(g, x = long, y = lat) : object "long" not found I don't expect this hasn't come up before, but I

Re: [Rd] Citation of R packages

2006-02-10 Thread John Maindonald
Even if a CITATION file is included, there is an issue of what to put in it. Authorship of a book or paper is not always the simple matter that might appear. With an R package, it can be a far from simple matter. We are trying to adapt a tool, surely, that was designed for different purposes.

Re: [Rd] Citation of R packages

2006-02-10 Thread Friedrich . Leisch
> On Fri, 10 Feb 2006 21:01:44 +1100, > John Maindonald (JM) wrote: [...] > Where there is a published paper or a book (such as MASS), or a > manual for which a url can be given, my decision was to include > that in the main list of references, but not to include references > ther

Re: [Rd] invalid graphics state using dev.print (fwd)

2006-02-10 Thread Martin Maechler
> "Paul" == Paul Roebuck <[EMAIL PROTECTED]> > on Wed, 8 Feb 2006 15:33:11 -0600 (CST) writes: Paul> On Mon, 6 Feb 2006 18:12, Simon Urbanek wrote: >> On Feb 6, 2006, at 5:24 PM, Paul Roebuck wrote: >> >>> Tried on R-Sig-Mac with no responses, but I need some kind

Re: [Rd] ATLAS threaded 64 bit Opteron build for R: need -fPIC

2006-02-10 Thread Amit Aronovitch
Prof Brian Ripley wrote: > On Fri, 10 Feb 2006, Amit Aronovitch wrote: > > You set the reply address to Martin Maechler! That's antisocial. > Sincere apologies. I certainly didn't intend to! (I probably misclicked while trying to put him on Cc: ) Please ignore that header. >> Hi, >> >> Sorry

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

2006-02-10 Thread Marco VEZZOLI
I'm very sorry for the error. I confused probability density with the distribution. Thank you for your answer. Marco __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

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

2006-02-10 Thread Peter Dalgaard
[EMAIL PROTECTED] writes: > Full_Name: Marco Vezzoli > Version: 2.2.0 2.1.0 2.0.0 > OS: Solaris, Windows, Linux > Submission from: (NULL) (57.78.11.38) > > > The dnorm functions yield a wrong value when the standard deviation is near to > 1e-1 > e.g. > > dnorm(0,mean=0.04,sd=0.3) > [1] 1.318039

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

2006-02-10 Thread Barry Rowlingson
Prof Brian Ripley wrote: >>The dnorm functions yield a wrong value when the standard deviation is near to >>1e-1 > What is wrong here? Try the textbook formula > > >>x <- 0 >>m <- 0.04 >>sd <- 0.3 >>1/(sqrt(2*pi)*sd) * exp(-0.5*(x-m)^2/sd^2) > > [1] 1.318039 > Even MS Excel gets this one ri

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

2006-02-10 Thread Prof Brian Ripley
On Fri, 10 Feb 2006, [EMAIL PROTECTED] wrote: > Full_Name: Marco Vezzoli > Version: 2.2.0 2.1.0 2.0.0 > OS: Solaris, Windows, Linux > Submission from: (NULL) (57.78.11.38) > > > The dnorm functions yield a wrong value when the standard deviation is near to > 1e-1 > e.g. >> dnorm(0,mean=0.04,sd=0.3

[Rd] Accuracy of dnorm (PR#8586)

2006-02-10 Thread marco . vezzoli
Full_Name: Marco Vezzoli Version: 2.2.0 2.1.0 2.0.0 OS: Solaris, Windows, Linux Submission from: (NULL) (57.78.11.38) The dnorm functions yield a wrong value when the standard deviation is near to 1e-1 e.g. > dnorm(0,mean=0.04,sd=0.3) [1] 1.318039 this error is consistent in various version and

Re: [Rd] R CMD build: "Subdirectory 'R' contains invalid file names"

2006-02-10 Thread Prof Brian Ripley
On Fri, 10 Feb 2006, Henrik Bengtsson wrote: > Hi, > > On 2/10/06, Kurt Hornik <[EMAIL PROTECTED]> wrote: >>> Henrik Bengtsson writes: >> >>> Hi, I get >>> * excluding invalid files from 'R.oo' >>> Subdirectory 'R' contains invalid file names: >>> attachLocally.Object.Rex Exception.Rex exten

Re: [Rd] ?bquote

2006-02-10 Thread Peter Dalgaard
Gabor Grothendieck <[EMAIL PROTECTED]> writes: > ?bquote says it returns an expression but, in fact, it typically > (though not always) returns a call object: > > > class(bquote(a+b)) > [1] "call" > > > class(bquote(1)) > [1] "numeric" Unevaluated expressions and objects of mode "expression" ar

Re: [Rd] ATLAS threaded 64 bit Opteron build for R: need -fPIC

2006-02-10 Thread Prof Brian Ripley
On Fri, 10 Feb 2006, Amit Aronovitch wrote: You set the reply address to Martin Maechler! That's antisocial. > Hi, > > Sorry for sending such a late reply, and for being abit OT. > > I've been trying to compile 64 bit ATLAS for numpy > (http://numeric.scipy.org/ ), and so far this thread is th

Re: [Rd] R CMD build: "Subdirectory 'R' contains invalid file names"

2006-02-10 Thread Henrik Bengtsson
Hi, On 2/10/06, Kurt Hornik <[EMAIL PROTECTED]> wrote: > > Henrik Bengtsson writes: > > > Hi, I get > > * excluding invalid files from 'R.oo' > > Subdirectory 'R' contains invalid file names: > > attachLocally.Object.Rex Exception.Rex extend.default.Rex > > InternalErrorException.reportBug

Re: [Rd] R CMD build: "Subdirectory 'R' contains invalid file names"

2006-02-10 Thread Kurt Hornik
> Henrik Bengtsson writes: > Hi, I get > * excluding invalid files from 'R.oo' > Subdirectory 'R' contains invalid file names: > attachLocally.Object.Rex Exception.Rex extend.default.Rex > InternalErrorException.reportBug.Rex Package.Rex Person.Rex Rdoc.Rex > setMethodS3.Rex StaticFields

[Rd] ATLAS threaded 64 bit Opteron build for R: need -fPIC

2006-02-10 Thread Amit Aronovitch
Hi, Sorry for sending such a late reply, and for being abit OT. I've been trying to compile 64 bit ATLAS for numpy (http://numeric.scipy.org/ ), and so far this thread is the most useful one I could google up - thanks!. I encountered similiar problems, and so far could not get a .a linkable

[Rd] R CMD build: "Subdirectory 'R' contains invalid file names"

2006-02-10 Thread Henrik Bengtsson
Hi, I get * excluding invalid files from 'R.oo' Subdirectory 'R' contains invalid file names: attachLocally.Object.Rex Exception.Rex extend.default.Rex InternalErrorException.reportBug.Rex Package.Rex Person.Rex Rdoc.Rex setMethodS3.Rex StaticFields.Rex when running R CMD build in R v2.3.0

Re: [Rd] Citation of R packages

2006-02-10 Thread John Maindonald
On 5 Feb 2006, at 2:27 AM, [EMAIL PROTECTED] wrote: >> On Mon, 30 Jan 2006 10:06:52 +1100 (EST), >> John Maindonald (JM) wrote: > >> The bibtex citations provided by citation() do not >> work all that well in cases where there is no printed >> document to reference: > > That's why there is

[Rd] ?bquote

2006-02-10 Thread Gabor Grothendieck
?bquote says it returns an expression but, in fact, it typically (though not always) returns a call object: > class(bquote(a+b)) [1] "call" > class(bquote(1)) [1] "numeric" __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-d