-
Hi, How can use environment variables inside r code? For example database server below database serverDATABASE_SERVER=https://db.example.com BR, |
Beta Was this translation helpful? Give feedback.
Answered by
mcanouil
May 18, 2023
Replies: 1 comment 1 reply
-
What does this have to do with Quarto? This being said: |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Juuso1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What does this have to do with Quarto?
You'll have better chances to ask this on R dedicated platform.
This being said:
Sys.getenv()
(note that if you define the variable in R, you can only access it within the same session).