Ask coding questions

← Back to all posts
How do I install R packages?
OwenKnowles1407

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.

Voters
craigbeisel
AestraDev
OwenKnowles1407
Comments
hotnewtop
InvisibleOne

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.

AestraDev

hello 👋 i want to suggest you to check some tutorials first here is the link i found on web I thought it will help click here!! thank-you hope it helps