h<-read.csv("/home/peter/test/health2.csv") str(h) ## 'data.frame': 165 obs. of 8 variables: ## $ year : int 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 ... ## $ country : Factor w/ 11 levels "Angola","Botswana",..: 1 1 1 1 1 1 1 1 1 1 ... ## $ life.expec : num 46.6 47.4 48.1 48.8 49.4 ... ## $ gdp.cap : num 606 574 776 850 1136 ... ## $ code : Factor w/ 11 levels "AGO","BWA","CMR",. ...