[R] Mac crash- Probably memory problem

2008-10-07 Thread dimitris kapetanakis

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.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Mac crash- Probably memory problem

2008-10-07 Thread stephen sefick
not reproducible.

On Tue, Oct 7, 2008 at 11:35 AM, dimitris kapetanakis [EMAIL PROTECTED] wrote:

 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.

 __
 R-help@r-project.org mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.




-- 
Stephen Sefick
Research Scientist
Southeastern Natural Sciences Academy

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods.  We are mammals, and have not exhausted the
annoying little problems of being mammals.

-K. Mullis

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.