Read Data
Format Type
CSV Format
Code : read.table("c:/mydata.csv", header=TRUE, sep=",")
read.csv(file = file.chose())
After Setting Working Directory
read.table("file name")
Other Formats
SPSS, SAS, Stata & more
use "readxl" package
CSV Format
Code : read.table("c:/mydata.csv", header=TRUE, sep=",")
read.csv(file = file.chose())
After Setting Working Directory
read.table("file name")
Other Formats
SPSS, SAS, Stata & more
use "readxl" package
Comments
Post a Comment