cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
vivekrs Regular Visitor
Regular Visitor

API Call from R Visual

We have a requirement to detokenize input values by calling API from R Script. When executed R Script in R Studio it works fine when input is passed as English and Thai language Characters.
While calling from Power BI R Visual this R Script works fine when English Characters is passed as input but when Special or Thai language Characters is passed R Script throws error.

we encounter following R script error when special characters or Thai language characters are passed :

Error: Unexpected symbol in
Execution halted.

Please provide suggestions to resolve this issue when thai characters is passed as parameter to API from power bi r visual.

Thanks
Vivek

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: API Call from R Visual

Hi @vivekrs ,

 

You could check if encoding in the Power BI is the same as R studio( like "UTF-8" ) or you could try set encoding to be "TIS-620".

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: API Call from R Visual

Hi @vivekrs ,

 

You could check if encoding in the Power BI is the same as R studio( like "UTF-8" ) or you could try set encoding to be "TIS-620".

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Users Online
Currently online: 365 members 3,472 guests
Please welcome our newest community members: