From murdoch.duncan at gmail.com  Wed Jan 30 18:47:39 2013
From: murdoch.duncan at gmail.com (Duncan Murdoch)
Date: Wed, 30 Jan 2013 12:47:39 -0500
Subject: [Rd] Mac v Windows Mystery
In-Reply-To: <D7EAE440-0E8E-4B44-867A-59AA993915B8@illinois.edu>
References: <2136E22D-2826-47FB-A919-A7DF7C5396FD@illinois.edu>
	<D7EAE440-0E8E-4B44-867A-59AA993915B8@illinois.edu>
Message-ID: <51095CBB.60107@gmail.com>

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
Duncan Murdoch