Hi there! Please sign in
help
tags
users
badges
ALL
UNANSWERED
Ask Your Question
Revision history [
back
]
1
initial version
answered
2022-05-07 16:00:00 +0000
pufferfish
41
●
3
●
2
Open RStudio and click on the File menu.
Click on New Project.
Select "Existing Directory" and choose the directory that contains the files for your project.
Click on the "Create Project" button.
In the Console window of RStudio, enter the command Sys.setenv(VARIABLE_NAME="VALUE") to set the value of the environment variable.
Replace VARIABLE_NAME with the name of your environment variable and VALUE with the value you want to assign to it.
To check if the environment variable has been set, enter the command Sys.getenv("VARIABLE_NAME") in the Console window.
If the value of the environment variable is returned, it has been successfully configured in RStudio.
Copyright QStack.ai, 2010-2023. Content on this site is licensed under the Creative Commons Attribution Share Alike 3.0 license.
Please note: QStack requires javascript to work properly, please enable javascript in your browser,
here is how