find wd in R studio when using a Mac desktop

Hi!

To help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one:


For example, I see what you tried, but what happened when you tried this? Any error message?

Also, you mention you "uploaded" into RStudio. Are you using the RStudio IDE on your desktop (no upload needed), or RStudio Server or RStudio.cloud (where upload is needed)?

A few tips here: