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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

R script visual : error when reading text with newline character

Hi,

I have been trying to use R script visual to read customer survey data and do some analysis. 

However, I noticed the format of the data after reading (using RStudio) is a bit messed up where there is a newline character (or enter in the comments).

Here is the example of data. The 2nd line, I hit 'enter' before "This is the 2nd line".

image.png

 

Here is what it passes to R (using RStudio). I would expect the same table results as above source.

 image.png

image.png

I believe this is related to Unexpected behavior of R Script Visual caused by misused 'read.csv' parameter . Is there any way to change the parameter?

 

Note: I'm using the latest version (April 2019)

 

Cheers,

Wanthana

Status: New
Comments
v-qiuyu-msft
Community Support

Hi @Anonymous, 

 

This is the same issue as https://community.powerbi.com/t5/Issues/Fix-bug-which-makes-quot-empty-quot-R-script-rearrange-entire/idc-p/616696#M38422, please see my last post there.  

 

Best Regards,
Qiuyun Yu 

Anonymous
Not applicable

Hi @v-qiuyu-msft ,

 

Thank you for the update. How will I get notified when it's got fixed?

 

Cheers,

W.

v-qiuyu-msft
Community Support

Hi @Anonymous, 

 

Once the fix is available, I will update here and in the thread: https://community.powerbi.com/t5/Issues/Fix-bug-which-makes-quot-empty-quot-R-script-rearrange-entire/idc-p/616696#M38422

 

Best Regards,
Qiuyun Yu