RCmdr-Project / rcmdr

0 stars 0 forks source link

Rcmdr not working #1

Open babelmansour2 opened 1 month ago

babelmansour2 commented 1 month ago

Hello,

I often use RCommander but I now have issue getting the following error after the file DLL minqa has been blocked by my antivirus: Error: le chargement du package ou de l'espace de noms a échoué pour ‘effects’ in library.dynam(lib, package, package.lib) : La DLL ‘minqa’ est introuvable : elle n'est peut-être pas installée pour cette architecture ? Could you help? Thanks much;

john-d-fox commented 1 month ago

This is a consequence of how R package dependencies work. Short of creating a customized version of the Rcmdr package that doesn't depend on the effects package, I don't see what I (or you) could do about it, unless you can tell your anti-virus software not to object to minqa, which is an indirect dependency of the effects package:

> library(pkgdepends)
> pd <- new_pkg_deps("effects")
> pd$solve()
✔ Updated metadata database: 5.60 MB in 15 files.                   
✔ Updating metadata database ... done                               

> pd$draw()
effects 4.2-2 ✨ ⬇ (2.40 MB)
├─carData 3.0-5 ✨ ⬇ (1.83 MB)
├─lme4 1.1-35.5 ✨ ⬇ (7.08 MB)
│ ├─Matrix 1.7-0 
│ │ └─lattice 0.22-6 
│ ├─MASS 7.3-61 
│ ├─lattice
│ ├─boot 1.3-31 
│ ├─nlme 3.1-166 
│ │ └─lattice
│ ├─minqa 1.2.8 ✨ ⬇ (340.28 kB)
│ │ └─Rcpp 1.0.13 ✨ ⬇ (3.35 MB)
│ ├─nloptr 2.1.1 ✨ ⬇ (538.07 kB)
│ └─Rcpp
├─nnet 7.3-19 
├─lattice
├─colorspace 2.1-1 ✨ ⬇ (2.67 MB)
├─survey 4.4-2 ✨ ⬇ (3.93 MB)
│ ├─Matrix
│ ├─survival 3.7-0 
│ │ └─Matrix
│ ├─lattice
│ ├─minqa
│ ├─numDeriv 2016.8-1.1 ✨ ⬇ (114.03 kB)
│ ├─mitools 2.4 ✨ ⬇ (270.87 kB)
│ │ └─DBI 1.2.3 ✨ ⬇ (909.80 kB)
│ └─Rcpp
├─estimability 1.5.1 ✨ ⬇ (49.22 kB)
└─insight 0.20.5 ✨ ⬇ (2.19 MB)
druedin commented 1 month ago

I recently had a student with this error, and it turned out that not all dependencies were installed. In particular, there's a minqa package you can try to install.