On 13-01-30 11:37 AM, Roger Koenker wrote:
Dear All,
I'm trying to track down a problem with my quantreg package reported by a user
doing censored quantile regression.
When he runs the test4.R file attached below (which reads the csv file also
attached) on his windows machine he gets
an error like this:
Error in dimnames(B) <- list(c("tau", dimnames(x)[[2]], "Qhat"), NULL) :
length of 'dimnames' [1] not equal to array extent
In addition: Warning message:
In rbind(grid[1:J], B, qhat) :
number of columns of result is not a multiple of vector length (arg 2)
However, when I run the same thing on my mac there is no error, no warning.
And --
more strangely-- running this on another windows laptop here in Urbana also
encounters
no problems. I thought that this might just be a seed problem since there is a
bootstrapping
step at the end, but the original user has tried several seeds and always gets
this error.
We are all running 2.15.1 and V4.94 of quantreg. I understand that YMMV,
especially on
windows, but it is difficult to debug this sort of thing when I can't
reproduce it. Any suggestions
or other experience would be welcome. The test problem takes a minute or so to
run on my
mac.
There was no attachment. It might also be important to give more
detailed info, e.g. what sessionInfo() prints on the bad system, and
whether this is from Rgui or Rterm, and what ls() shows (in case some
function is being masked).
Duncan Murdoch
Thanks,
Roger
url: www.econ.uiuc.edu/~roger Roger Koenker
email rkoen...@uiuc.edu Department of Economics
vox: 217-333-4558 University of Illinois
fax: 217-244-6678 Urbana, IL 61801
______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel