could not find function "read_cvs"

I got error message : could not find function "read_cvs"
Below is my code:
Thanks

The downloaded source packages are in
‘C:\Users\thipp\AppData\Local\Temp\RtmpqcGOeh\downloaded_packages’

library('tidyverse')
-- Attaching packages --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- tidyverse 1.3.0 --
v ggplot2 3.3.3 v purrr 0.3.4
v tibble 3.0.6 v dplyr 1.0.4
v tidyr 1.1.2 v stringr 1.4.0
v readr 1.4.0 v forcats 0.5.1
-- Conflicts ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ tidyverse_conflicts() --
x dplyr::filter() masks stats::filter()
x dplyr::lag() masks stats::lag()
library(dslabs)
Error in library(dslabs) : there is no package called ‘dslabs’
library('dslabs')
Error in library("dslabs") : there is no package called ‘dslabs’
install.packages('dslabs')
Installing package into ‘C:/Users/thipp/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.0/dslabs_0.7.3.zip'
Content type 'application/zip' length 4696788 bytes (4.5 MB)
downloaded 4.5 MB

package ‘dslabs’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\thipp\AppData\Local\Temp\RtmpqcGOeh\downloaded_packages

library(dslabs)
filename<-"murders.cvs

  • "

dat<-read_cvs(filename)
Error in read_cvs(filename) : could not find function "read_cvs"
library(readxl)
dat<-read_cvs(filename)
Error in read_cvs(filename) : could not find function "read_cvs"
dat<-read_cvs(fullpath)
Error in read_cvs(fullpath) : could not find function "read_cvs"

Typo, its csv not cvs

1 Like

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.