[R-SIG-Mac] curve does not work well??
Ken Beath
kjbeath at kagi.com
Mon Jun 16 13:41:36 CEST 2008
On 16/06/2008, at 8:07 PM, Peng Jiang wrote:
> hi,
>
> I use the example code from a R book ,
>
> > x = rnorm( 100 )
> > hist( x, probability = TRUE, col = gray(.9), main="normal mu = 0 ,
> sigma = 1") #this works well
>
>
> > curve( dnorm(x),add =T) # but this does not work and it gives a
> warning .
>
>
> I am using Leopard and does anybody has ever met the problem?
>
This works fine for me using R 2.7.0 under 10.5.3.
It may be that something previous in your R session has caused the
problem, so try restarting R.
Ken
More information about the R-SIG-Mac
mailing list