From rkoenker at illinois.edu  Wed Jan 30 19:04:26 2013
From: rkoenker at illinois.edu (Roger Koenker)
Date: Wed, 30 Jan 2013 12:04:26 -0600
Subject: [Rd] Mac v Windows Mystery
In-Reply-To: <7ee277f1191b476fa6083ff8a53e1db3@CHIHT3.ad.uillinois.edu>
References: <2136E22D-2826-47FB-A919-A7DF7C5396FD@illinois.edu>
	<D7EAE440-0E8E-4B44-867A-59AA993915B8@illinois.edu>
	<7ee277f1191b476fa6083ff8a53e1db3@CHIHT3.ad.uillinois.edu>
Message-ID: <C7C15040-F4C5-4CE8-B652-3F76EFFAE8AA@illinois.edu>

Duncan,

Humm...  files must have been stripped from my original post....  I've put them in http://www.econ.uiuc.edu/~roger/test/
but rerunning the example on my mac a third time revealed that my original "bad seed" hypothesis was vindicated,
So I now have something to work from.  Sorry for adding to the noise.

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

On Jan 30, 2013, at 11:47 AM, Duncan Murdoch wrote:

> 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    rkoenker at uiuc.edu            Department of Economics
>> vox:     217-333-4558                University of Illinois
>> fax:       217-244-6678                Urbana, IL 61801
>> 
>> 
>>> 
>>> 
>>> 
>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> ______________________________________________
>>>> R-devel at r-project.org mailing list
>>>> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] Mac v Windows Mystery
Roger Koenker