title: Imported a csv-dataset to R but the values becomes factors
body: <p>I am very new to R and I am having trouble accessing a dataset I've imported. I'm using RStudio and used the Import Dataset function when importing my csv-file and pasted the line from the console-window to the source-window. The code looks as follows:</p>
  
  <pre><code>setwd("c:/kalle/R")
  stuckey &lt;- read.csv("C:/kalle/R/stuckey.csv")
  point &lt;- stuckey$PTS
  time &lt;- stuckey$MP
  </code></pre>
  
  <p>However, the data isn't integer or numeric as I am used to but factors so when I try to plot the variables I only get histograms, not the usual plot. When checking the data it seems to be in order, just that I'm unable to use it since it's in factor form. </p>