You can find the last modified date of a csv file in R using the file.info()
function. Here's an example:
main.r293 chars15 lines
This code gets the file info using file.info()
and then extracts the modification time using $mod
. It then converts the modification time to a readable date format using as.Date()
and prints the result. You can use this method to check the modification date of any file in R.
gistlibby LogSnag