Hi, I'm working with several projects and I need to open each project and load a number of predefined packages, but I don't know how to do it.
Thank you very much for your help.
Hi, I'm working with several projects and I need to open each project and load a number of predefined packages, but I don't know how to do it.
Thank you very much for your help.
suppressPackageStartupMessages({
library(dplyr)
library(ggplot2)
library(purrr)
library(readr)
library(sf)
library(stringr)
library(tidycensus)
})
Created on 2020-09-22 by the reprex package (v0.3.0.9001)
If you mean how to automate the package loading on a per project basis, you can include the loading commands on a .Rprofile file at the project root folder.
Thank you very much, it is useful to me. But I was wrong to ask the question. What I need is that when I load a project, certain packages are automatically loaded.
Best regards!
Thank you very much, that's what I was looking for. I'll check the information you sent me.
Best regards,
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.