[R] Suddenly "Subscript out of bounds"

Duncan Murdoch murdoch at stats.uwo.ca
Tue Feb 13 15:57:18 CET 2007


On 2/13/2007 9:15 AM, roderick.castillo at metanomics.de wrote:
> Hello
> 
> Using R Version 2.3.1 I have setup a cronjob to update packages,
> which worked successfully almost a year (it was called daily).
> Basically, it runs like this:
> 
> Sys.getenv("http_proxy")
> update.packages(ask=F,repos="http://cran.r-project.org")
> 
> (the http_proxy environment variable is set prior to the call).
> 
> All of a sudden, I started to get this error:
> 
> Error in inherits(x,  "factor") :  subscript out of bounds
> 
> I have no clue about what this means. Is "factor" a buggy package?
> 
> Clearly, that kind of things can happen when you just update things
> automatically...

The error message says that there's an error in the call to inherits() 
with the given args, but it doesn't say why that was being called.
Use traceback() to see where this error happens.

And please update to R 2.4.1; R 2.3.1 is out of date.

Duncan Murdoch



More information about the R-help mailing list