it_is_a_literature it_is_a_literature - 3 months ago 19
R Question

What is the difference betwwen `Rprofile`,`Renviron` and `Rprofile.site`,`Renviron.site`?

In my computer:


  1. There are three files in /etc/R
    Renviron
    and
    Rprofile.site
    ,
    Renviron.site
    ,
    I can not find
    Rprofile
    anywhere. Is that a proper status?

  2. What is the difference beetwen
    Rprofile
    ,
    Renviron
    and
    Rprofile.site
    ,
    Renviron.site
    ?


42- 42-
Answer

I got this code after doing a search in SO for '[r] .rprofile' and finding this answer:locate the ".Rprofile" file generating default options

file.path(getwd(), ".Rprofile") 
[1] "/Users/davidwinsemius/.Rprofile"

Most OSes will hide "dot-files"/"system files" unless you force them to become visible.