Rstudio Server not following my .Renviron

I have this in my .Renviron:

(base) balter@exahead1:~$ cat .Renviron
CONDA_PREFIX="/home/users/balter/conda"
R_LIBS_USER=/home/users/balter/conda/lib/R/libraries
RSTUDIO_WHICH_R=/home/users/balter/conda/bin/R
RSESSION_WHICH_R=/home/users/balter/conda/bin/R
R_USER=/home/users/balter/conda/bin/R
R_LIBS_SITE=/home/users/balter/conda/bin/R
R_INCLUDE_DIR=/home/users/balter/conda/lib/R/include
#R_HOME=/home/user/balter/conda/bin/R

However, when RSS starts, I have:

> .libPaths()
[1] "/home/users/balter/conda/lib/R/libraries"            
[2] "/home/groups/chse/WorkingData/z-chse_admin/chse4/4.1"
[3] "/usr/local/R/4.1.2/lib64/R/library"                  
> R.version
               _                           
platform       x86_64-pc-linux-gnu         
arch           x86_64                      
os             linux-gnu                   
system         x86_64, linux-gnu           
status                                     
major          4                           
minor          1.2                         
year           2021                        
month          11                          
day            01                          
svn rev        81115                       
language       R                           
version.string R version 4.1.2 (2021-11-01)
nickname       Bird Hippie                 
> packageVersion('base')
[1] ‘4.1.2’
> .libPaths()
[1] "/home/users/balter/conda/lib/R/libraries"            
[2] "/home/groups/chse/WorkingData/z-chse_admin/chse4/4.1"
[3] "/usr/local/R/4.1.2/lib64/R/library"                  
> R.version
               _                           
platform       x86_64-pc-linux-gnu         
arch           x86_64                      
os             linux-gnu                   
system         x86_64, linux-gnu           
status                                     
major          4                           
minor          1.2                         
year           2021                        
month          11                          
day            01                          
svn rev        81115                       
language       R                           
version.string R version 4.1.2 (2021-11-01)
nickname       Bird Hippie                 
> packageVersion('base')
[1] ‘4.1.2’
> .libPaths()
[1] "/home/users/balter/conda/lib/R/libraries"            
[2] "/home/groups/chse/WorkingData/z-chse_admin/chse4/4.1"
[3] "/usr/local/R/4.1.2/lib64/R/library"                  
> R.version
               _                           
platform       x86_64-pc-linux-gnu         
arch           x86_64                      
os             linux-gnu                   
system         x86_64, linux-gnu           
status                                     
major          4                           
minor          1.2                         
year           2021                        
month          11                          
day            01                          
svn rev        81115                       
language       R                           
version.string R version 4.1.2 (2021-11-01)
nickname       Bird Hippie                 
> packageVersion('base')
[1] ‘4.1.2’
> .libPaths()
[1] "/home/users/balter/conda/lib/R/libraries"            
[2] "/home/groups/chse/WorkingData/z-chse_admin/chse4/4.1"
[3] "/usr/local/R/4.1.2/lib64/R/library"                  
> R.version
               _                           
platform       x86_64-pc-linux-gnu         
arch           x86_64                      
os             linux-gnu                   
system         x86_64, linux-gnu           
status                                     
major          4                           
minor          1.2                         
year           2021                        
month          11                          
day            01                          
svn rev        81115                       
language       R                           
version.string R version 4.1.2 (2021-11-01)
nickname       Bird Hippie                 
> packageVersion('base')
[1] ‘4.1.2’

Why do I have these inconsistent versions of R? Why isn't my R version following what is in .libPaths()?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.