[R] Mac crash- Probably memory problem

dimitris kapetanakis gamitor at gmail.com
Tue Oct 7 17:35:53 CEST 2008


Dear all,

I am running a code using bootstraps for estimating standard errors but the
mac crashes. When I use small number of bootstraps (100) it works fine but
if I increase that number it crashes. 

Thanks in advance 

dimitris

The code, the error and my mac characteristics are the following:

##############code#####################
qr.1<- rq(y~factor(year)+factor(state)+x1+I(x^2)+I(x^3), tau=0.05,
data=data1)

s.qr1.05 <- summary(qr.1, se="boot", R=1000)$coefficient

##############error#####################

 *** caught segfault ***
address 0x1de9e000, cause 'memory not mapped'

Traceback:
 1: .Fortran("xys", as.integer(m), as.integer(n), as.integer(p),    
as.integer(R), as.integer(m + 5), as.integer(p + 2), as.double(x),    
as.double(y), as.double(tau), as.double(tol), flag = integer(R),     coef =
double(p * R), resid = double(m), integer(m), double((m +         5) * (p +
2)), double(m), xx = double(m * p), yy = double(m),     as.integer(s),
PACKAGE = "quantreg")
 2: boot.rq.xy(x, y, s, tau)
 3: boot.rq(x, y, tau, ...)
 4: summary.rq(qr.05.nox, se = "boot", R = 1000)
 5: summary(qr.05.nox, se = "boot", R = 1000)

Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
Selection: 

###############characteristics#####################
Mac OS X

version 10.5.4

Model Name:	MacBook
  Model Identifier:	MacBook4,1
  Processor Name:	Intel Core 2 Duo
  Processor Speed:	2.4 GHz
  Number Of Processors:	1
  Total Number Of Cores:	2
  L2 Cache:	3 MB
  Memory:	4 GB
  Bus Speed:	800 MHz
  Boot ROM Version:	MB41.00C1.B00





-- 
View this message in context: http://www.nabble.com/Mac-crash--Probably-memory-problem-tp19860892p19860892.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list