title: Making .RData file from Excel sheet
body: <p>How can I save data from an Excel sheet to .RData file in R? I want to use one of the packages in R and to load my dataset as data(dataset) i think i have to save the data as .RData file and then load that into the package. My data currently is in an Excel spreadsheet.</p>
  
  <p>my excel sheets has column names like x, y , time.lag.
  I have saved it as .csv
  then i use:
      x=read.csv('filepath', header=T,)
  then i say 
      data(x)
  and it shows dataset 'x' not found</p>