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

1 Like

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?

To install this package onto your machine,


And then to load in into your current R session,


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.