I have these lines of code in one program:
source("R:/ML NC8 MENSAL.R") source("R:/ ML NPC NC8 MENSAL.R")
The mentioned programs both have these lines of code:
# Defining Variable MONTH <- "01_2021"
I want to make this definition in the first program for the two programs.
The idea is when I run the "super program" with the source is to define the month in the "sourced" programs. This means instead of changing the month in 23 programs (or 23 times) change it only in one (or once).
Which code should I write?
Thank you for your help.