title: Object not found and RStudio
body: <p>So I know this is common problem but nothing I found seems to have worked. The problem that I am having is that R keeps stating that the object isn't found even though I know it's there because it listed in the names of the df. </p>
  
  <p>The code I have run so far is: </p>
  
  <pre><code>setwd("C:\\Users\\fredd\\Dropbox\\Grad_Life\\Spring_2017\\AFM\\Final_Paper\\")
  KWTProd.df = read.csv("Merge1//Kwht_Production_07-15.csv", header=T)
  names(KWTProd.df)
  plot(Period_kWh_Production$Production.Period.End.Date)
  </code></pre>
  
  <p>and the console displays this: </p>
  
  <pre><code>&gt; setwd("C:\\Users\\fredd\\Dropbox\\Grad_Life\\Spring_2017\\AFM\\Final_Paper\\")
  &gt; 
  &gt; KWTProd.df = read.csv("Merge1//Kwht_Production_07-15.csv", header=T)
  &gt; 
  &gt; names(KWTProd.df)
   [1] "Application.Number"                      "Program.Administrator"                   "Program"                                
   [4] "Total.Cost"                              "System.Owner.Sector"                     "Host.Customer.Sector"                   
   [7] "Host.Customer.Physical.Address.City"     "Host.Customer.Physical.Address.County"   "Host.Customer.Physical.Address.Zip.Code"
  [10] "PBI.Payment.."                           "Production.Period.End.Date"              "Period_kWh_Production"                  
  &gt; 
  &gt; plot(Period_kWh_Production$Production.Period.End.Date)
  Error in plot(Period_kWh_Production$Production.Period.End.Date) : 
    object 'Period_kWh_Production' not found
  </code></pre>