activate.Rd
Activate daRkStudio
activate(path = NULL, backup = TRUE, type = NULL)
path | character:
Path to RStudio's |
---|---|
backup | logical:
TRUE or FALSE. Copies the default |
type | character:
Accepts 'user' or NULL. If 'user', daRkStudio modifies The only change to daRkStudio creates a directory, "darkstudio", inside the
On Windows, you will likely need Administrator Privileges if you've
installed RStudio to the default location, |
TRUE
Returns TRUE
if the operation is successful.
if (FALSE) { # Default: activate() # macOS: path_index <- "/Applications/RStudio.app/Contents/Resources/www/index.htm" activate(path = path_index, backup = TRUE) # Windows: path_index <- "C:/Program Files/RStudio/www/index.htm" activate(path = path_index, backup = TRUE) }