Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have a dataset build from a CSV file and I add a R Script transformation step to perform some regex.
I get that error :
DataSource.Error : ADO.NET : Erreur du script R.
Error in type.convert(data[[i]], as.is = as.is[i], dec = dec, numerals = numerals, :
entrée incorrecte 'Vengeance ! 😛' dans 'utf8towcs'
Calls: read.csv -> read.table -> type.convert
Exécution arrêtée
Détails :
DataSourceKind=R
DataSourcePath=R
Message=Erreur du script R.
Error in type.convert(data[[i]], as.is = as.is[i], dec = dec, numerals = numerals, :
entrée incorrecte 'Vengeance ! 😛' dans 'utf8towcs'
Calls: read.csv -> read.table -> type.convert
Exécution arrêtée
ErrorCode=-2147467259
ExceptionType=Microsoft.PowerBI.Radio.RScriptRuntimeException
Text contains a special character (a smiley : ) that appears correctly in Power BI.
I tried different encoding with the same result.
R Code :
output <- str_match_all(dataset$body, "\\[Tag:(?<tagid>[0-9]+):(?<tagname>[a-zA-Z]+)\\]")
Is it a bug or may I missed something ?
JP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.