Hi i cannot do: library(bibliometrix)

first i do: install.packages("bibliometrix")
then after downloaded
i do: > library(bibliometrix)
Error: package or namespace load failed for ‘bibliometrix’ in namespaceExport(ns, exports):
undefined exports: Module, Rcpp.package.skeleton, populate, loadRcppModules, setRcppClass, loadRcppClass, loadModule, cppFunction, exposeClass, evalCpp, sourceCpp, compileAttributes, registerPlugin, RcppLdFlags, LdFlags, demangle, sizeof, cpp_object_initializer, cpp_object_dummy, Rcpp.plugin.maker, getRcppVersion
In addition: Warning message:
S3 methods ‘.DollarNames.C++Object’, ‘.DollarNames.Module’, ‘print.bytes’, ‘format.Rcpp_stack_trace’, ‘str.Rcpp_stack_trace’, ‘print.Rcpp_stack_trace’ were declared in NAMESPACE but not found

please i need your help

Does RStudio list bibliometrix among the installed packages in the Packages tab? If not, the install failed. You can try it again (it will presumably fail again) but watch the output from the installation process and look for indications of missing packages or system libraries.

yes, as screen shot:

Do you also have the Rcpp package installed (and does it load using library(Rcpp))?

yes, as attached.

currently i am using macbook M1, using [R-4.5.1-arm64.pkg]

and macOS 13+[RStudio-2025.09.2-418.dmg]

Is this happening in a clean R session, meaning no library packages are loaded (other than a few base packages that are required) when you try to load bibliometrix? You can tell what's already loaded by running sessionInfo().

If it fails in a clean session, all I can think of is to reinstall bibliometrix and its dependencies, which you can get by running tools::package_dependencies("bibliometrix", recursive = TRUE). I would reinstall the dependencies first, bibliometrix last.

After i do: > sessionInfo()
appears:

so, to solve this by reinstall bibliometrix and its dependencies?

You have quite a few packages loaded. Are you trying to load bibliometrix immediately after starting RStudio, or are you doing other work in RStudio (or loading a saved session) first?

If you start a fresh R session in a terminal (without using RStudio), can you load bibliometrix in that session?

As a follow-up, I checked my installation (Linux Mint) and found the same seven attached base packages (which I'm pretty sure will always be attached) plus 15 packages loaded by namespace (compared to your 28). As a test, I followed the instructions for resetting RStudio's state, after which my 15 namespace packages went down to one. So you might try resetting RStudio's state and see if that removes a possible conflict with bibliometrix. The instructions involve renaming rather than deleting directories, so if it doesn't help, you can undo the change. If it does help, you can delete the renamed directories.

Are you trying to load bibliometrix immediately after starting RStudio ==> yes

If you start a fresh R session in a terminal (without using RStudio), can you load bibliometrix in that session?==> i dont know how to do it in R session

It's the same way. You open a terminal, run R (I'm not a Mac user, so I can't give you the specific command), and when you get the R prompt type library(bibliometrix).

still the same error message:
Error: package or namespace load failed for ‘bibliometrix’ in namespaceExport(ns, exports):
undefined exports: Module, Rcpp.package.skeleton, populate, loadRcppModules, setRcppClass, loadRcppClass, loadModule, cppFunction, exposeClass, evalCpp, sourceCpp, compileAttributes, registerPlugin, RcppLdFlags, LdFlags, demangle, sizeof, cpp_object_initializer, cpp_object_dummy, Rcpp.plugin.maker, getRcppVersion
In addition: Warning message:
S3 methods ‘.DollarNames.C++Object’, ‘.DollarNames.Module’, ‘print.bytes’, ‘format.Rcpp_stack_trace’, ‘str.Rcpp_stack_trace’, ‘print.Rcpp_stack_trace’ were declared in NAMESPACE but not found

Well, if it won't load in an R window then the problem is not with RStudio. I'm running out of ideas. Apparently the prerequisites are as follows.

Imports: stats, grDevices, bibliometrixData, dimensionsR, dplyr, DT,
ca, forcats, ggplot2, ggrepel, igraph, Matrix, plotly,
openalexR, openxlsx, pubmedR, purrr, readr, readxl, rscopus,
shiny, shinycssloaders (>= 1.1.0), SnowballC, stringdist,
stringi, stringr, tibble, tidyr, tidytext, visNetwork

You might check to make sure that all those libraries are installed. If so, all I can think of is to uninstall and reinstall bibliometrix and hope it helps.