How do I get csv file from excel into R environment with the file.choose function?

170 Views Asked by At

I am new to the progamming world so I am following a Udemy course on R and I am to enter a command like this: mydata <- read.csv(file.choose())

which is meant to make the csv file that I've saved on excel to pop up then I just select to bring it into the R environment. But when I type in the code and hit enter nothing happens. nothing pops up for me to choose anything.

I initially thought it was because I was using the unpaid version of excel so I got the Paid version, saved the csv file in there yet I cant see the file when I call the above function. Please what am I doing wrong?

Thanks in advance.

0

There are 0 best solutions below