Dear All, 
 
I am having a very basic error, but somehow do not know how to resolve it.  I've read a dataset in .csv into R with two columns - sector, export.  When trying to plot the data it says "sector not found"  This is the formula.
 
 SouthAfrica<-read.csv(c,header=T)
> hist(sector$exports,xlab="exports (MtCO2)",main="CO2 Exports")

Error in hist(sector$exports, xlab = "exports (MtCO2)", main = "CO2 Exports") : 
  object 'sector' not found

Could somebody please assist?
 
Kind regards, 
 
John

	[[alternative HTML version deleted]]

