How do I install R packages?
I need to install a few packages like tmap to my R replit project. How would I do this? library() returns an error.
I am very new to R.
There should be a little box on the right side of your repl next to the files, secrets, database and other buttons called packages. You can open that and look for packages, then click on them and press the plus to add them to your project.