[R] How to import an excel data file

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Sat Sep 23 21:35:30 CEST 2023


В Fri, 22 Sep 2023 23:10:58 +0000
"Parkhurst, David" <parkhurs using indiana.edu> пишет:

> Its location in my Mac files is
> DFPfiles/ae/FriendsMonroe/KurtzData.csv How exactly---What _,
> etc.---do I type with its name in the read_excel() function?

In RGui on Windows, file.choose() opens a dialog window letting the
user choose a file interactively. Do you get a similar prompt if you run
file.choose() in R.app? Choose the file, and it will return a string
that would be most certainly suitable for read.csv(), read_excel(), and
other functions that accept file paths.

-- 
Best regards,
Ivan



More information about the R-help mailing list