Displaying 1 result from an estimated 1 matches for "casesin".
Did you mean:
cases
2010 May 04
0
automatically loading packages
If I start an R session with a previously saved .RData that has S4
objects in it, there are times when the associated package loads when
I use (or mention) the object, and times when it doesn't. For example:
> dim(casesIn)
NULL
> library(sp)
> dim(casesIn)
[1] 726 22
- because casesIn is a SpatialPointsDataFrame. But if I try and plot
it (starting from scratch again), it loads the sp package:
> plot(casesIn)
Loading required package: sp
- and then falls over:
Error in as.double(y) :
cannot...