# How to read the data veteran from package survival in r?

#### Jesmin

##### New Member
state.x77 is a R built-in data set.To read the data state.x77 , i only write state.x77 in the R console and the data set comes immediately.

Now i have to read the data veteran from package survival. But if i write

Code:
 veteran
Error:object veteran not found.
How can i read the data veteran from package survival?

#### trinker

##### ggplot2orBust
Some packages have lazy loading of data automatically when the package is called and the data sets for that package are already loaded and ready. For others you have to explicitly call the data set using data as seen here:

Code:
data(veteran, package = "survival")
veteran