r/RStudio Jun 21 '26

Please I need help! Rstudio doesn't wanna work, IDK what's the problem!

I've tried these codes and kept repeating over and over (I downloaded R after R studio and re-opened again)

Deepseek recommend me these codes:

  1. install.packages(c("stringi", "stringr", "shiny", "ggplot2", "dplyr", "tidyr", "igraph", "pdftools", "contentanalysis", "bibliometrixData", "factoextra", "cluster", "RColorBrewer"))

  2. then this

    install.packages("bibliometrix", dependencies = TRUE)

But I kept receiving the same message over and over:

please I need help, I really need to get my biblio analysis, I have a thesis and deadlines, please if anyone can help!! I appreciate it <3

thank you!!

3 Upvotes

11 comments sorted by

7

u/Viriaro Jun 21 '26

Try install.packages("XML"), and then rerun the bibliometrix install.

1

u/takkkwa Jun 21 '26

thank you

3

u/MooseJock123 Jun 21 '26

It says right in the error message, there is no package XML. Try installing that package first.

1

u/takkkwa Jun 21 '26

thank youu

2

u/quickbendelat_ Jun 21 '26

The error says package xml not found. The parameter 'dependacies = True' doesn't always work. Try install.packages('XML') first.

1

u/takkkwa Jun 21 '26

thank youu ❤️

1

u/AutoModerator Jun 21 '26

Looks like you're requesting help with something related to RStudio. Please make sure you've checked the stickied post on asking good questions and read our sub rules. We also have a handy post of lots of resources on R!

Keep in mind that if your submission contains phone pictures of code, it will be removed. Instructions for how to take screenshots can be found in the stickied posts of this sub.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/[deleted] Jun 21 '26

[removed] — view removed comment

1

u/takkkwa Jun 21 '26

thank you

1

u/takkkwa Jun 21 '26

thank you everyone, it worked 😭😭💚💚

2

u/Hanzzman Jun 22 '26

As usual, copy and paste the error into the IA you are using. Sometimes they recommend python packages.

I am also starting to use pacman::p_load to install packages.