[Rd] data(): Error in FUN(X[[2]], ...) : subscript out of bounds (PR#1274)

kleiweg@let.rug.nl kleiweg@let.rug.nl
Tue, 22 Jan 2002 10:25:13 +0100 (MET)


When I do:

    > data()

... I get:

    Data sets in package `base':

    Formaldehyde            Determination of Formaldehyde concentration

[cut]

    women                   Heights and Weights of Women


    Use `data(package = .packages(all.available = TRUE))'
    to list the data sets in all *available* packages.



When I do as suggested:

    > data(package = .packages(all.available = TRUE))

... I get:

    Error in FUN(X[[2]], ...) : subscript out of bounds
    In addition: Warning message:
    packages `class', `ctest', `eda', `foreign', `lqs',
    	`methods', `mgcv', `nnet', `splines', `stepfun', `tcltk',
    	`tools' contain no datasets in: data(package =
    	.packages(all.available = TRUE))


Packages that cause trouble:

    > data(package = "boot")
    Error in FUN(X[[2]], ...) : subscript out of bounds

    > data(package = "rpart")
    Error in FUN(X[[2]], ...) : subscript out of bounds

    > data(package = "spatial")
    Error in FUN(X[[2]], ...) : subscript out of bounds


Version:
 platform = i586-pc-linux-gnu
 arch = i586
 os = linux-gnu
 system = i586, linux-gnu
 status =
 major = 1
 minor = 4.0
 year = 2001
 month = 12
 day = 19
 language = R

Search Path:
 .GlobalEnv, package:ctest, Autoloads, package:base


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._