library(rio)
here::set_here()
## File .here already exists in /cloud/project/Machine Learning A-Z (Codes and Datasets)/packages
ds<-import("Salary_Data.csv")
export(ds, "excel.xlsx")
ds<-import("excel.xlsx")

class(ds)
## [1] "data.frame"
lapply(ds, class)
## $YearsExperience
## [1] "numeric"
## 
## $Salary
## [1] "numeric"