How do I install R packages?
OwenKnowles1407 (2)

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.

You are viewing a single comment. View All
InvisibleOne (3263)

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.