Camilo Bernardo Garcia Ramirez
2019-Aug-19 12:11 UTC
[R] Cannot load vegan and vcd, "object vI not found"
Hi: Could you help me with the following issue?: I downloaded the packages vegan and vcd with R3.6.1. When I try to load them I got this error messages: > library(vegan) Loading required package: permute Loading required package: lattice Error: package or namespace load failed for ?vegan? in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): objeto 'vI' no encontrado (translation: object vI not found - my R is in Spanish)> library(vcd)Loading required package: grid Error: package or namespace load failed for ?vcd? in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): objeto 'vI' no encontrado (translation: object vI not found - my R is in Spanish) Sofar no one knows what that means. I am not an R expert! Could you help me?. Regards, Camilo B. Garcia -- Camilo B. Garc?a, Dr. rer. nat Profesor Asociado, Departamento de Biolog?a Universidad Nacional de Colombia - Sede Bogot? [[alternative HTML version deleted]]
Try closing all instances of R except for one and then run the update.packages() function. If that doesn't work then post the output of sessionInfo(). On August 19, 2019 5:11:11 AM PDT, Camilo Bernardo Garcia Ramirez <cbgarciar at unal.edu.co> wrote:>Hi: Could you help me with the following issue?: > >I downloaded the packages vegan and vcd with R3.6.1. When I try to load >them I got this error messages: > > > library(vegan) >Loading required package: permute >Loading required package: lattice >Error: package or namespace load failed for ?vegan? in loadNamespace(j ><- >i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): >objeto 'vI' no encontrado (translation: object vI not found - my R is >in >Spanish) > >> library(vcd) >Loading required package: grid >Error: package or namespace load failed for ?vcd? in loadNamespace(j <- >i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): >objeto 'vI' no encontrado (translation: object vI not found - my R is >in >Spanish) > >Sofar no one knows what that means. I am not an R expert! Could you >help >me?. >Regards, >Camilo B. Garcia-- Sent from my phone. Please excuse my brevity.
Martin Maechler
2019-Aug-20 10:31 UTC
[R] Cannot load vegan and vcd, "object vI not found"
>>>>> Jeff Newmiller >>>>> on Mon, 19 Aug 2019 17:38:19 -0700 writes:> Try closing all instances of R except for one and then run the update.packages() function. If that doesn't work then post the output of sessionInfo(). I also strongly suspect that some of the packages concerned were not correctly installed. > On August 19, 2019 5:11:11 AM PDT, Camilo Bernardo Garcia Ramirez <cbgarciar at unal.edu.co> wrote: >> Hi: Could you help me with the following issue?: >> >> I downloaded the packages vegan and vcd with R3.6.1. When I try to load >> them I got this error messages: >> >> > library(vegan) >> Loading required package: permute >> Loading required package: lattice >> Error: package or namespace load failed for ?vegan? in loadNamespace(j >> <- >> i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): >> objeto 'vI' no encontrado (translation: object vI not found - my R is >> in >> Spanish) The error message above comes from base R's function loadNamespace() [which calls itself recursively, when importing from other packages]. I think the error message is not really useful, and indeed I think should *not* happen at this time: 'vI' is not defined here, because earlier the 'pkgInfo' result was not really valid. So I think you may have touched on a "buglet" in R in the sense that for such semi-validly / invalidly installed packages, you should get a better error message. Martin Maechler ETH Zurich and R Core team. >>> library(vcd) >> Loading required package: grid >> Error: package or namespace load failed for ?vcd? in loadNamespace(j <- >> i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): >> objeto 'vI' no encontrado (translation: object vI not found - my R is >> in >> Spanish) >> >> Sofar no one knows what that means. I am not an R expert! Could you >> help >> me?. >> Regards, >> Camilo B. Garcia > -- > Sent from my phone. Please excuse my brevity. > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.