title: Select Function Returns Object Not found
body: <p>This code was working the other day, now it spits out these object not found errors for the names of the columns I'm trying to pull. All of the columns exist in the CSV I'm importing. Any suggestions?</p>
  
  <pre><code>DF &lt;- read.csv2("FILE PATHWAY", header=TRUE, sep = ",", stringsAsFactors = 
  F, skip=1 )
  DF &lt;- DF[DF$Type=="AHREF",]
  DF &lt;- select(Type,Source,Destination)
  # Error occurs here with this: Error in select(Type, Source, Destination) : object 'Type' not found
  DF &lt;- as.data.frame(sapply(DF,gsub,pattern="#URL DELETED",replacement=""))
  DF &lt;- as.data.frame(sapply(DF,gsub,pattern="#URL DELETED",replacement=""))
  DF &lt;- as.data.frame(sapply(DF,gsub,pattern="\"",replacement=""))
  DF &lt;- subset(DF, !grepl("^https", DF$Source))
  DF &lt;- subset(DF, !grepl("^https", DF$Destination))
  colnames(DF) &lt;- c("From","To")
  rownames(DF) &lt;- NULL
  graphObject = graph.data.frame(DF, directed = TRUE)
  graphObject = simplify(as.undirected(graphObject))
  </code></pre>