Forum Discussion
R script
- 3 years ago
Hi , Jeremy19
According to your error message, you seem to have encountered a problem with the data conversion format when using R script, I think you can first follow this official document to check whether your local computer is completely configured for the R script environment, and check whether you have encountered any restrictions:
Use R in Power Query Editor - Power BI | Microsoft Learn
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Thank you I have reproduced the example on my data with this code which works :
library(readxl)
dataset<- read_excel("D:/Event.xlsx")
output<-dataset
output$test<-1
I still have a problem, locally it works but my data source is an online Excel on Sharepoint. Do I have to do a read_excel() in the R script? How to do it with a web link. The error tells me that the path does not exist
Hi , Jeremy19
For your question, as searched , you can refer to this that hope to help you:
Accessing Excel file from Sharepoint with R - Stack Overflow
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly