I'm ramping up on R, and reading http://stuff.mit.edu/afs/sipb/project/r- project/lib/R/library/base/html/Startup.html. I'm probably wrong about this, but ~/.Rprofile seems to serve the same purpose as a .First() function. Why do both exist, and what considerations go into a decision to choose one over the other for startup code?