Get Started →
Package Errors

Package not installed

Matches: there is no package called '([^']+)'

WHAT THIS ERROR MEANS

The package you're trying to load hasn't been installed on your system yet.

HOW TO FIX IT

1. Install the package first with install.packages('package_name').

2. Then load it with library(package_name).

3. Check for typos in the package name.

CODE EXAMPLES

BAD — THIS CAUSES THE ERROR
library(tidyvers)  # typo!
GOOD — CORRECT APPROACH
install.packages("tidyverse")
library(tidyverse)

Still stuck?

Paste your code in RChat and the AI will fix this error in context.

Try RChat Free →

RELATED PACKAGE ERRORS