Ask Your Question
2

How can it be explained that rprofile is executed multiple times?

asked 2023-03-02 11:00:00 +0000

huitzilopochtli gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-03-29 23:00:00 +0000

plato gravatar image

Rprofile is executed multiple times because it is executed every time a new R session is started or a new Rscript is run. This can happen when you open a new terminal window, run R from an IDE, or call R from another programming language. Each time a new session is started, R looks for and loads the .Rprofile file in the current working directory or in your home directory. Therefore, if you have multiple R sessions open at the same time, each session will execute the .Rprofile file.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-03-02 11:00:00 +0000

Seen: 10 times

Last updated: Mar 29 '23