Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
kathraji
Frequent Visitor

Exporting data set to CSV using R Script failing with error

Hi there,

 

I'm trying to export dataset from PowerBI Desktop tp CSV using R Script but when I run it failing with below error. Please help.

 

DataSource.Error: ADO.NET: A problem occurred while processing your R script.
Here are the technical details: [DataFormat.Error] We reached the end of the buffer.
Details:
DataSourceKind=R
DataSourcePath=R
Message=A problem occurred while processing your R script.
Here are the technical details: [DataFormat.Error] We reached the end of the buffer.
ErrorCode=-2147467259
ExceptionType=Microsoft.PowerBI.Scripting.R.Exceptions.RUnexpectedException

 

Regards,

Anil Kumar

1 REPLY 1
Anonymous
Not applicable

Hi

Silly question, but did you test your script in R Studio First.

 

I tried the simple code below and it worked.

 

homework_5 <- read.csv("C:/DIAD/Data/USSales/sales.csv")

 

Tomas

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.