Oscar Kjell
oscarkjell.bsky.social
Oscar Kjell
@oscarkjell.bsky.social
Assessing Psychological Constructs Using NLP and Machine Learning

Developer of R-packages: #r-text, #r-topics and #r-talk

Precision Mental health

Well-being and Harmony Research

Based at Lund University and Stony Brook University
hi again, please note that text 1.6 and topics 0.6 is now on CRAN.... and this version of text does not require the user to download JAVA. The installation is now made easier by explicitly checking and providing instructions regarding system dependencies. (again, thanks for the feedback)
July 23, 2025 at 5:41 AM
1. which text version are you using? have you installed the latest version from CRAN 1.5?
2. when you try this, can you please first always remove the embeddings that are automatically saved in your working directory (called something like textPredict_694....RDS).
May 12, 2025 at 6:48 AM
i'm not able to reproduce this (some colleagues have tried too). if you run it in a standard R script, do u get some more info? (every time you try, pls use different texts input so u make a new embeddings every time). im also happy to schedule an online meeting next week to try n sort this out :)
May 10, 2025 at 5:21 PM
if that does not work, can you please try running this:

res <- textAssess(
model_info = "valence_facebook_mxbai23_eijsbroek2024",
texts = "test one")
May 8, 2025 at 11:33 AM
in the console it says you are loading some embedings called textPredict_..... These are created automatically when running textPredict() with a new text. Now these embeddings are named differently; so try setting dim_name = FALSE within textPredict call.
May 8, 2025 at 11:33 AM
Thanks for your patience. Do u already have a word embeddings for this text in your working directory?
Can u pls 1) try with a different text, or 2) delete any word embeddings created from textPredict() in ur working directory.
(i should add improve the warning!).
May 8, 2025 at 10:29 AM
yes, thanks for letting me know. i've been thinking about this too. there are a few functions that i would prefer not having in both packaged to simplify maintenance. but, i will look into a solution so that the text-package installation does not require rJava. ill keep you posted.
May 8, 2025 at 7:35 AM
have you tried to first downloading java from www.java.com/en/download/.
www.java.com
May 8, 2025 at 6:37 AM
hmm what is the error? Have you tried installing rJava first?
here you can see more details about installing the text package (r-text.org/articles/hug...)
im happy to get feedback if it does not work.
Extended Installation Guide
r-text.org
May 6, 2025 at 4:27 PM
Thanks for tagging me 🙌 looks really interesting? Would you like to present this to our research lab in an online meeting?
February 20, 2025 at 8:25 AM
Thanks for the info! I will check it out!
December 30, 2024 at 4:35 PM
How come? Any advice on where to start learning more? 😁
December 30, 2024 at 12:38 PM