Forum Discussion
R error
Any chance you can share some sample data and your R script so that we can try to replicate?
- Anonymous9 years agoNot applicableHi there
Yep the data was a tweet dataset.
And yep I have the packages installed and loaded in r script
I copied and pasted the script in rstudio and it worked fine.
I got a feeling like it's tidytext package clashes with split. I'm no expert in R.
Thank you so much- Anonymous9 years agoNot applicable
I think the problem is this bit below Im not sure why tho.
Error in check_input(x) :
Input must be a character vector of any length or a list of character
vectors, each of which has a length of 1.
Calls: %>% ... unnest_tokens -> unnest_tokens_ -> tokenfunc -> tf -> check_inputADDITIONAL INFO
Tried the same script as data source and it works perfectly! Just not as a Transform step within the query :(
- v-micsh-msft9 years agoMicrosoft Employee
Hi Pedzila,
What is your current situation?
Could you please share about the R scripts that you used here?
We will try to reproduce the error and see if we could find any helpful information with the scripts.
I suspect it would work as the data source and not a transform step, should be caused by some functions used in the R scripts.
Regards