Please know I do not know much about R. But I was in R Studio yesterday and was trying to set a new working directory for a class assignment. I had previously had a working directory trying to learn R in Swirl.
I looked up many different ways to reset the set(wd) and tried a bunch of them. None of them worked (i.e. I probably did it wrong) and when I clicked out of RStudio, all of my desktop folders and files were completely gone. And they weren't in the trash either!
Does anyone know what happened or how I could get my files back? I don't have a backup and nothing is in icloud. But I don't understand how I could delete my entire desktop through RStudio.