From rkoenker at illinois.edu  Wed Jan 30 17:37:49 2013
From: rkoenker at illinois.edu (Roger Koenker)
Date: Wed, 30 Jan 2013 10:37:49 -0600
Subject: [Rd] Mac v Windows Mystery
References: <2136E22D-2826-47FB-A919-A7DF7C5396FD@illinois.edu>
Message-ID: <D7EAE440-0E8E-4B44-867A-59AA993915B8@illinois.edu>

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.

Thanks,
Roger


url:    www.econ.uiuc.edu/~roger            Roger Koenker
email    rkoenker at uiuc.edu            Department of Economics
vox:     217-333-4558                University of Illinois
fax:       217-244-6678                Urbana, IL 61801


> 
> 
-------------- next part --------------
> 
-------------- next part --------------



[Rd] Mac v Windows Mystery
Roger Koenker