Reading the Excel File

Hi all, I'm new to R & I'm trying to import my excel file in the RStudio. I already have imported it from the Environment pane. And now I want to import with the following codes:

read_excel("C:\Users\Redwanul Islam\Documents\R\Demo_Report.xlsx", sheet = "Sheet1")

but every time its showing:
Error: '\U' used without hex digits in character string starting ""C:\U"

I can't find the solution. Can anyone please help?

Thanks in advance for your cooperaion.

Try using / instead of \.

Better yet, use projects.

Thanks a lot williaml. My problem is solved.

1 Like

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.