Ask coding questions

← Back to all posts
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.

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.

AestraDev (0)

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