I am Mac User. Whenever I want to access Mail folder located in the /Users/user_name/Library/Mail folder; RStudio just ignores it and doesn't show any files.
setwd("/Users/user_name/Library/Mail")`
list.dirs("/Users/user_name/Library/Mail")
> character(0)
list.files("/Users/user_name/Library/Mail")
> character(0)
I understand that because of access to these files requires admin authorization, the R cannot access them. Is there a way to grant admin access to R to access hidden system files?
This question is cross-posted on RStudio Community forum two days ago. Unfortunately, I couldn't get a reply. That's why I asked here again.
Edit: Both of list.files() and list.dirs() return nothing.
