Re: [R] density function cannot work well on UNIX R version 2.13.

2011-08-31 Thread David Winsemius
On Aug 31, 2011, at 1:04 PM, alex46...@yahoo.com wrote: Hi, there, I found density function cannot work well on UNIX.R version 2.13.1 (2011-07-08), Platform: i386-pc-solaris2.10 (32-bit) Here is an example from R doucments which can work well on other version. plot(density(c(-20,rep(0,98

[R] density function cannot work well on UNIX R version 2.13.

2011-08-31 Thread alex46015
Hi, there, I found density function cannot work well on UNIX.R version 2.13.1 (2011-07-08), Platform: i386-pc-solaris2.10 (32-bit) Here is an example from R doucments which can work well on other version. plot(density(c(-20,rep(0,98),20)), xlim = c(-4,4))# But right now the estimated probab