since I am new to this community I wanted to say thank you in advance. Unfortunately I have a problem regarding the installation of the bibliometrix package. It should be super easy but obviously not for me.
First of all some sessionInfo()
R version 4.1.0 (2021-05-18)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Big Sur 11.2.3
Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRlapack.dylib
locale:
[1] de_DE.UTF-8/de_DE.UTF-8/de_DE.UTF-8/C/de_DE.UTF-8/de_DE.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_4.1.0 tools_4.1.0
So I tried using "install.packages('bibliometrix', dependencies = TRUE)" to install al the necessary stuff. Unfortunately when trying to use it with "library(bibliometrix)" it says:
Error: Loading package or namespace for 'bibliometrix' in readRDS(mapfile): failed.
unknown input format
What did I already do:
Uninstall R
Uninstall R Studio
Reinstall both
Remove pkgs manually
Removed 'bibliometrix'
Reinstalled 'bibliometrix'
But, as you might guess, without success. I really hope one of you has a good idea about this and the provided information is enough.
I guess the best thing would to try a re-install and paste the output here. The most likely thing is probably a dependency that did not install. You may need to carefully check all the output looking for error messages saying, roughly *package XXX" did not install.
Ah that should be ERROR: configuration failed for package ‘sf’* etc.
Install the first "uninstalled" package, try a re-install of 'bibliometrix'. Repeat if needed. I have see cases where 3 or 4 dependenries do not automatically install.
Thanks for the quick reply. I removed the bibliometrix package and got the following output. For me this feels like there seems to be a library problem that I can't fix.
> detach("package:bibliometrix", unload = TRUE)
error in detach("package:bibliometrix", unload = TRUE) :
invalid 'name' argument
> remove.packages("bibliometrix")
Remove package from '/Library/Frameworks/R.framework/Versions/4.1/Resources/library'
(since 'lib' is not specified)
This might not be directly connected to bibliometrix but seems to be a R library problem.
I think it is because you do not have bibliometrix installed. You cannot attach, detach or remove a package that is not installed. I still think it is likely to be a dependent package that is not installing but we need the complete installation log to check and IIRC it will be huge.
Tbh I dont know how do uninstall something if R Studio says that it is technically not there. Maybe you can give me the command to type in? That would be great since I am a pretty new to all of this. Thanks in advance.