Using the .Rprofile file in RStudio is a great way to automatically load packages and functions upon startup. If you know of additional ways to use this file, let me know. For now, here are easy ways to edit these files at each level.

Very simply, use the usethis::edit_r_profile() command to edit your .RProfile file. It defaults to edit the user level file but you can add scope = c("user", "project") to the argument of the function. For example, if you wanted to edit the project level .RProfile file, use this command: usethis::edit_r_profile(scope = c("project")).

These resources were very helpful in figuring this out: