File: datasets.R

package info (click to toggle)
r-base 4.2.2.20221110-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 96,820 kB
  • sloc: ansic: 286,632; fortran: 104,266; javascript: 14,786; yacc: 5,713; makefile: 5,197; sh: 5,093; tcl: 4,562; perl: 963; objc: 767; asm: 258; java: 31; sed: 11
file content (9 lines) | stat: -rw-r--r-- 271 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
#### Simple integrity tests of the system datasets

options(useFancyQuotes=FALSE)
env <- as.environment("package:datasets")
d <- ls(env) # don't want .names
for(f in d) {
    cat("\n** structure of dataset ", f, "\n", sep="")
    str(get(f, envir=env, inherits=FALSE))
}