read_csv - could not find function

I am trying to use the read_csv file to read an csv file but getting the error below:

could not find function "read_csv"

I've r studio version Version 1.1.463 installed and i am calling the library(readr)

I have used this function a few months without any issues.

Any ideas please? Thanks

Please show all the code you use (preferably with a reprex). Most often you will solve the problem while creating the reprex.

1 Like

read.csv is the base function.
read_csv is in readr package and so in tidyverse.
Do you load these libraries?

1 Like

School boy error. Thanks for pointing this out.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.