In a similar way to how file.edit('foo.R')
opens a file for editing in RStudio, is there a way to open an R project if you know the location of its .Rproj
file?
Have at look at function openProject()
in package rstudioapi
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With