When renaming a .Rmd file I was careless and forgot to include a “/” when defining the path of the “to” argument. The code executed successfully, and now the file is missing from my working directory.
paste0(getwd(), “/augustTrends_2.Rmd”) -> mypath
file.rename(mypath, paste0(getwd(), “augustTrends.Rmd”))
TRUE
Is there any means by which I can recover the file?