roderick.castillo at metanomics.de
2007-Feb-13 14:15 UTC
[R] Suddenly "Subscript out of bounds"
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... Any help with be appreciated! Bye Rick
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