[R] Quantreg-rq crashing trouble

Steven R Corsi srcorsi at usgs.gov
Fri Jul 22 00:02:07 CEST 2011


I am using the quantreg package for median regression for a large series 
of subsets of data. It works fabulously for all but one subset. When it 
reaches this subset, R takes the command and never responds. I end up 
having to kill R and restart it.

It appears to be something with the particular data subset, but I can't 
pinpoint the problem.

Here are some details
Operating system: Windows 7
R version: 2.12.1

Here is the data and the rq command that gives me trouble:


x <- 



fit1 <- rq(y ~ x, tau = .5)

Any feedback would be greatly appreciated.

Steven R. Corsi        Phone: (608) 821-3835
Research Hydrologist   email: srcorsi at usgs.gov
U.S. Geological Survey
Wisconsin Water Science Center
8505 Research Way
Middleton, WI 53562

More information about the R-help mailing list