I'm getting the following error when I'm trying to load the rio package in an R Markdown file in a code chunk.
Below is the code:
install.packages("rio")
library(rio)
This is the output:
'rio' is not recognized as an internal or external command,
operable program or batch file.
If I run the code in the console it runs correctly.
Does anyone have an idea as to why this would happen?