Other packages > Find by keyword >

sentimentr  

Calculate Text Polarity Sentiment
View on CRAN: Click here


Download and install sentimentr package within the R console
Install from CRAN:
install.packages("sentimentr")

Install from Github:
library("remotes")
install_github("cran/sentimentr")

Install by package version:
library("remotes")
install_version("sentimentr", "2.9.0")



Attach the package and use:
library("sentimentr")
Maintained by
Tyler Rinker
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2016-08-19
Latest Update: 2021-10-12
Description:
Calculate text polarity sentiment at the sentence level and optionally aggregate by rows or grouping variable(s).
How to cite:
Tyler Rinker (2016). sentimentr: Calculate Text Polarity Sentiment. R package version 2.9.0, https://cran.r-project.org/web/packages/sentimentr. Accessed 06 Mar. 2026.
Previous versions and publish date:
0.2.3 (2016-08-19 14:02), 0.4.0 (2016-12-28 17:52), 1.0.0 (2017-03-11 00:45), 2.0.1 (2017-11-27 09:52), 2.2.3 (2018-01-16 19:30), 2.3.2 (2018-04-24 17:41), 2.4.2 (2018-09-25 07:00), 2.6.1 (2018-10-20 16:20), 2.7.1 (2019-03-22 06:40)
Other packages that cited sentimentr R package
View sentimentr citation profile
Other R packages that sentimentr depends, imports, suggests or enhances
Complete documentation for sentimentr
Functions, R codes and Examples using the sentimentr R package
Some associated functions: as_key . average_downweighted_zero . combine_data . course_evaluations . crowdflower_deflategate . crowdflower_products . crowdflower_self_driving_cars . crowdflower_weather . emotion . emotion_by . extract_emotion_terms . extract_profanity_terms . extract_sentiment_terms . general_rescale . get_sentences . get_sentences2 . highlight . hotel_reviews . hu_liu_apex_reviews . hu_liu_cannon_reviews . hu_liu_jukebox_reviews . hu_liu_nikon_reviews . hu_liu_nokia_reviews . kaggle_movie_reviews . kotzias_reviews_amazon_cells . kotzias_reviews_imdb . kotzias_reviews_yelp . nyt_articles . plot.emotion . plot.emotion_by . plot.profanity . plot.profanity_by . plot.sentiment . plot.sentiment_by . presidential_debates_2012 . print.extract_emotion_terms . print.extract_profanity_terms . print.extract_sentiment_terms . print.validate_sentiment . profanity . profanity_by . reexports . sam_i_am . sentiment . sentiment_attributes . sentiment_by . sentimentr . sentimentr_data . uncombine . validate_sentiment . 
Some associated R codes: as_key.R . average_downweighted_zero.R . combine_data.R . deprecated_functions.R . emotion.R . emotion_by.R . extract_emotion_terms.R . extract_profanity_terms.R . extract_sentiment_terms.R . general_rescale.R . get_sentences.R . highlight.R . profanity.R . profanity_by.R . sentiment.R . sentiment_attributes.R . sentiment_by.R . sentimentr-package.R . textclean_reexports.R . uncombine.R . utils.R . validate_sentiment.R .  Full sentimentr package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

DatabionicSwarm  
Swarm Intelligence for Self-Organized Clustering
Algorithms implementing populations of agents that interact with one another and sense their environ ...
Download / Learn more Package Citations See dependency  
solitude  
An Implementation of Isolation Forest
Isolation forest is anomaly detection method introduced by the paper Isolation based Anomaly Detecti ...
Download / Learn more Package Citations See dependency  
mlr3viz  
Visualizations for 'mlr3'
Visualization package of the 'mlr3' ecosystem. It features plots for mlr3 objects such as tasks, le ...
Download / Learn more Package Citations See dependency  
lbfgs  
Limited-memory BFGS Optimization
A wrapper built around the libLBFGS optimization library by Naoaki Okazaki. The lbfgs package implem ...
Download / Learn more Package Citations See dependency  
openxlsx  
Read, Write and Edit xlsx Files
Simplifies the creation of Excel .xlsx files by providing a high level interface to writing, stylin ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  

26,264

R Packages

223,360

Dependencies

70,244

Author Associations

26,265

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA