Importing Data Into R.

3
Muhammad Saeed Aas Meo, Superior University Lahore Pakistan For working with R- software first of all users must save, excel file, as CSV. Means your excel file csv format, go to save as option and save as type CSV. 1. Step two open you R-Software and write following command. R<-read.csv(file.choose(),header=TRUE) In above commend R is my excel file name, you also can use this command by copy past in your software but for this you have to rewrite you excel file name as “R”, because my file name is R. and when you will enter the above commend in R software then a window will open and with the help of that window chose you Excel file name, in CSV format and ok Here I have save my excel file as CSV, plz zoom pic for clear

description

By saaeed aas khan meosuperior university Lahore Pakistan

Transcript of Importing Data Into R.

Page 1: Importing Data Into R.

Muhammad Saeed Aas Meo, Superior University Lahore

Pakistan

For working with R- software first of all users must save, excel file, as CSV. Means your excel file csv

format, go to save as option and save as type CSV.

1. Step two open you R-Software and write following command.

R<-read.csv(file.choose(),header=TRUE)

In above commend R is my excel file name, you also can use this command by copy past in your

software but for this you have to rewrite you excel file name as “R”, because my file name is R. and

when you will enter the above commend in R software then a window will open and with the help of

that window chose you Excel file name, in CSV format and ok

Here I have save my

excel file as CSV, plz

zoom pic for clear

SAEID AAS MEO
Approved
Page 2: Importing Data Into R.

Muhammad Saeed Aas Meo, Superior University Lahore

Pakistan

Step 3. At step 1 you enter commend, at step 2. You choose your data file and now at step 3.plz write

once again your file name and enter when you will enter your data will appear.

Page 3: Importing Data Into R.

Muhammad Saeed Aas Meo, Superior University Lahore

Pakistan

SAEID AAS MEO
Comment on Text
write