Tfidfvectorizer in R for character n-grams Is there a similar tool as the tfidf vectorizer which converts a collection of raw documents to a matrix of TF-IDF features in a R package?

See this for reference.
You should check out the text2vec R package. It has TF-IDF capabilities. 

Here's the link to the package info: 
text2vec