[R] Weird error: Error in xj[i] : invalid subscript type 'list'

Duncan Murdoch murdoch at stats.uwo.ca
Thu Oct 29 18:13:14 CET 2009


On 10/29/2009 12:28 PM, Peng Yu wrote:
> I got the error. I haven't been able to get a stand along case so that
> I can show it here. But could somebody give some clue on what could
> cause this error? Since I never defined xj[i], I don't understand
> where this error come from.
> 
> Error in xj[i] : invalid subscript type 'list'

Next time you see it, run traceback() afterwards to see which function 
triggered it.  That might help you to track it down and fix it.

Duncan Murdoch




More information about the R-help mailing list