  Hi , dear R experts.

I met some strange things lately.
first , every time I start R from GUI , I get the following warnings

R(222,0xa0619fa0) malloc: *** error for object 0x86b870: double free
*** set a breakpoint in malloc_error_break to debug
R(222,0xa0619fa0) malloc: *** error for object 0x1564d3e0: double free
*** set a breakpoint in malloc_error_break to debug
R(222,0xa0619fa0) malloc: *** error for object 0x8c1010: double free
*** set a breakpoint in malloc_error_break to debug
R(222,0xa0619fa0) malloc: *** error for object 0x1564d610: double free
*** set a breakpoint in malloc_error_break to debug

I re-installed for many times , the problem still exists, however, the  
first time I use R there were no such problems.

second, I run the funciton nlminb(). I tried the example which the  
document provides ( as the following code ) and
R gives no response  but others who have the same sessionInfo as mine  
have no such problems.
x <- rnbinom(100, mu = 10, size = 10)
hdev <- function(par) {
     -sum(dnbinom(x, mu = par[1], size = par[2], log = TRUE))
}
nlminb(c(9, 12), hdev)
It is very strange and I don't know how to do. how to clean all R  
information in mac os x and start it all over again ? thanks in advance.
I really need your help, these problems are pretty annoy especially  
the first one.

My sessionInfo. ..
i386-apple-darwin8.10.1

locale:
zh_CN.UTF-8/zh_CN.UTF-8/C/C/zh_CN.UTF-8/zh_CN.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] mclust_3.1-5

-----------------------------------------------
Peng Jiang 江鹏 ,Ph.D. Candidate
Antai College of Economics & Management
安泰经济管理学院
Department of Mathematics
数学系
Shanghai Jiaotong University (Minhang Campus)
800 Dongchuan Road
200240 Shanghai
P. R. China


	[[alternative HTML version deleted]]

