90983/how-to-read-an-excel-file-in-r
Hi Guys,
I have an excel file in the local system. I want to load the file in RStudio. How can I do that?
Hi@akhtar,
You can read your excel file by using the read.xlsx() function as shown below. The result is stored as a data frame in the R environment.
data <- read.xlsx("input.xlsx", sheetIndex = 1) print(data)
By assuming that all the values are ...READ MORE
sink("outfile.txt") cat("hello") cat("\n" ...READ MORE
Hi, I'm not sure about the command but you ...READ MORE
read.csv () function is used to read ...READ MORE
Well it truly depends on your requirement, If ...READ MORE
You can use the removesparseterm function. Removes sparse ...READ MORE
You can do this in R using ...READ MORE
Try replacing ID <- c("A123","A123","A123","A123","B456","B456","B456") item <- c("bread", "butter", "milk", ...READ MORE
Hi@akhtar, You can read your CSV file in ...READ MORE
Replace all \ with \\. Its trying ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.