Import DataSet


Import Dataset

  1. Set up the Current working directory

  • Create a new File (R Script).
  • Select the Files Menu 
  • By clicking on to the folder reach up to our dataset folder.
  •  As the above image, we have reached up to our dataset folder.
  • Click on more
  • Click on set as the working directory.

2. Import Dataset

  • Just write the following line to import data into our R Script
dataset=read.csv('Data.csv')
  • After writing it just press alt+enter
  • then it generates database Global Environment Data as shown in the image.
  • Just click on dataset data to check your CSV file.
  • Data.csv is the file name.

Comments

Popular posts from this blog

Download DataSet

Categorical Data