Sample Header Ad - 728x90

How change $PATH for RStudio

1 vote
1 answer
687 views
I am trying to set my $PATH variable for RStudio. Somehow it just ignores the entry in my ~/.Renviron. I added this lines:
PATH=$PATH:/opt/R/arm64/gfortran/bin
R_MAX_VSIZE=100Gb
if I run Sys.getenv("PATH") it just shows my PATH without the addition I made. If I run Sys.getenv("R_MAX_VSIZE") it shows 100Gb, so the .Renviron file is recognized. What am I doing wrong here?
Asked by gernophil (349 rep)
Nov 23, 2022, 03:38 PM
Last activity: Jan 18, 2024, 05:06 AM