Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 202041

In R, can you write data from SentimentR to a csv file?

$
0
0

I'm currently using the following script

library(sentimentr)
decpir <- read.csv("decpir.csv", header = TRUE, stringsAsFactors = FALSE)
results <- sentiment(decpir$Text)

I'd like to write the results of the analysis to a csv or excel file AND include the text that it analyzed. is this possible?


Viewing all articles
Browse latest Browse all 202041

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>