Rstudio does not work 'read_csv' order

vowels2 <- read_csv("../data/pb52.csv")
Warning in file(con, "rb") :
cannot open file 'C:/Users/lih94/OneDrive/¹ÙÅÁ È­¸é/Ling 160/data/pb52.csv': No such file or directory
Error in file(con, "rb") : cannot open the connection

I installed "tidyverse" packages and also, it works library order

Could you please provide a copy of the CSV you are trying to read?

Thank you

the csv file is this
Screenshot 2021-09-05 160204

Hi,

I am unable to download this file.

Perhaps you could copy and paste a small chunk of the contents?

cannot open file 'C:/Users/lih94/OneDrive/¹ÙÅÁ È­¸é/Ling 160/data/pb52.csv': No such file or directory
Error in file(con, "rb") : cannot open the connection

Is it the right file path?

If you are not using projects, you should as it would make it a bit easier to work with: 8 Workflow: projects | R for Data Science

Hi,
Do you know how could I attach this csv file?

Don't know.

Can you paste like the header columns and the first 10 rows in here?

Thanks, Kraggle

type,gender,speaker,vowel,repetition,F0,F1,F2,F3
m,m,1,FLEECE,1,160,240,2280,2850
m,m,1,FLEECE,2,186,280,2400,2790
m,m,1,KIT,1,203,390,2030,2640
m,m,1,KIT,2,192,310,1980,2550
m,m,1,DRESS,1,161,490,1870,2420
m,m,1,DRESS,2,155,570,1700,2600
m,m,1,TRAP,1,140,560,1820,2660
m,m,1,TRAP,2,180,630,1700,2550
m,m,1,STRUT,1,144,590,1250,2620
m,m,1,STRUT,2,148,620,1300,2530

Looks legit.

Maybe your filepath is wrong?

Have you tried

read_csv("data/pb52.csv")

leaving out the "../"?

This topic was automatically closed 21 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.