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:

install.packages("tidyverse")
install.packages("readxl")
library(tidyverse)
library(readxl)
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