To find the name of a csv file in R, you can use the basename()
function in conjunction with the read.csv()
function.
Here's an example code:
main.r192 chars12 lines
This will print the file name of your csv file to the console.
gistlibby LogSnag