No specific experience of the package you are using, but you have
> as.character(nwCorp1)
This does nothing to nwCorp1; it just returns a character version of it to the
console. If it was not the right kind of object you can expect later commands
to throw errors.
Perhaps you meant
nwCorp1 <- a
That looks to me like a rather basic misunderstanding of how R syntax works.
You might want to have a look at the documentation of as.character(), and read
about its return value. Then note that you are not assigning the return value
to anything.
To wit:
a <- 5
mode(a)
as.character(a)
mode(a
Dear Team,
Please suggest on the below error while I am building a WordCloud on R for
one of user twitter account:
Error in UseMethod("TermDocumentMatrix", x) :
no applicable method for 'TermDocumentMatrix' applied to an object of
class "c('double', 'numeric')"
I have tried sear
3 matches
Mail list logo