On Mon, Jun 16, 2008 at 6:07 AM, Peng Jiang <[EMAIL PROTECTED]> 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?
Hi, Peng. Generally, you will want to write to R-help for questions. Only if there is evidence that the problem is Mac-specific should you use the R-SIG-Mac list. Also, if you are reporting a problem, you will want to include the code that you use, any error messages or output, and also include the output of sessionInfo(). In particular, it isn't possible to know what you mean by "this does not work" and you did not include the warning message in the output. The example seems to work for me, though. Sean _______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
