Please help me, I can not install "MASS" package.Errore nell'installazione di un pacchetto R
> library(MASS)
Error in library(MASS) : there is no package called ‘MASS’
Ho provato ad installare il pacchetto di massa dalla locale:
> utils:::menuInstallLocal()
package ‘MASS’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘MASS’
Anche non posso rimuovere "di massa":
> remove.packages("MASS")
Removing package from ‘C:/Program Files/R/R-3.0.1/library’
(as ‘lib’ is unspecified)
Error in find.package(pkgs, lib) : there is no package called ‘MASS’
Anche con questa opzione non ho potuto installare il pacchetto:
> options(install.lock=T)
> utils:::menuInstallLocal()
package ‘MASS’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘MASS’
Warning: restored ‘MASS’
Warning message:
In file.copy(savedcopy, lib, recursive = TRUE) :
problem copying C:\Program Files\R\R-3.0.1\library\00LOCK\MASS\libs\x64\MASS.dll to C:\Program Files\R\R-3.0.1\library\MASS\libs\x64\MASS.dll: Permission
E con i nstall.packages:
> install.packages("C:\\MASS_7.3-35.zip",repos=NULL)
package ‘MASS’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘MASS’
Warning: restored ‘MASS’
Warning message:
In file.copy(savedcopy, lib, recursive = TRUE) :
problem copying C:\Program Files\R\R-3.0.1\library\00LOCK\MASS\libs\x64\MASS.dll to C:\Program Files\R\R-3.0.1\library\MASS\libs\x64\MASS.dll: Permission
Devo dire che uso R con ORE (Oracle Enterprise R).
Perché non usi il solito modo, ad esempio 'install.packages (" MASS ", dipendencies = TRUE)'? –
Non ho accesso a Internet, il nostro server è separato dalla rete Internet. – parvij
Dovresti preferire 'install.packages (" dir/nome_pacchetto ", repos = NULL)' dove 'dir /' è la directory che hai scaricato il file zip 'nome_pacchetto'. –