[R-es] R en Jupyter Lab, error al cargar dplyr: "namespace 'rlang' 0.3.4 is being loaded, but >= 0.4.0 is required"

Carlos Ortega co| @end|ng |rom qu@||tyexce||ence@e@
Lun Nov 11 14:52:08 CET 2019


Hola,

El mensaje de error dice esto:

*namespace 'rlang' 0.3.4 is being loaded, but >= 0.4.0 is required*

"dplyr" usa "rlang" como una dependencia y necesita la versión superior a
la 0.4.0.
Si actualizas "rlang" te debiera de funcionar.

Gracias,
Carlos Ortega
www.qualityexcellence.es

El lun., 11 nov. 2019 a las 14:38, Oscar Benitez (<
oscar.benitez1962 using gmail.com>) escribió:

> Hola
>
> Quiero ejecutar R desde Jupyter Lab y me encuentro con un error al invocar
> la librería dplyr. Este error no aparece cuando ejecuto RStudio.
>
> La sesión de R en jupyter lab:
>
> sessionInfo()
>
>
> R version 3.6.1 (2019-07-05)
> Platform: x86_64-w64-mingw32/x64 (64-bit)
> Running under: Windows 10 x64 (build 14393)
>
> Matrix products: default
>
> locale:
> [1] LC_COLLATE=Spanish_Chile.1252  LC_CTYPE=Spanish_Chile.1252
> [3] LC_MONETARY=Spanish_Chile.1252 LC_NUMERIC=C
> [5] LC_TIME=Spanish_Chile.1252
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
> loaded via a namespace (and not attached):
>  [1] compiler_3.6.1  IRdisplay_0.7.0 pbdZMQ_0.3-3    tools_3.6.1
>  [5] htmltools_0.3.6 base64enc_0.1-3 crayon_1.3.4    Rcpp_1.0.1
>  [9] uuid_0.1-2      IRkernel_0.8.15 jsonlite_1.6    digest_0.6.18
> [13] repr_0.19.2     evaluate_0.13
>
>
> Cuando solicito la librería dplyr:
>
> library(dplyr)
>
> Error: package or namespace load failed for 'dplyr' in loadNamespace(i,
> c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
>  namespace 'rlang' 0.3.4 is being loaded, but >= 0.4.0 is required
> Traceback:
>
> 1. library(dplyr)
> 2. tryCatch({
>  .     attr(package, "LibPath") <- which.lib.loc
>  .     ns <- loadNamespace(package, lib.loc)
>  .     env <- attachNamespace(ns, pos = pos, deps, exclude, include.only)
>  . }, error = function(e) {
>  .     P <- if (!is.null(cc <- conditionCall(e)))
>  .         paste(" in", deparse(cc)[1L])
>  .     else ""
>  .     msg <- gettextf("package or namespace load failed for %s%s:\n %s",
>  .         sQuote(package), P, conditionMessage(e))
>  .     if (logical.return)
>  .         message(paste("Error:", msg), domain = NA)
>  .     else stop(msg, call. = FALSE, domain = NA)
>  . })
> 3. tryCatchList(expr, classes, parentenv, handlers)
> 4. tryCatchOne(expr, names, parentenv, handlers[[1L]])
> 5. value[[3L]](cond)
> 6. stop(msg, call. = FALSE, domain = NA)
>
> Estoy utilizando Miniconda, con Jupyter Lab 1.14 y solamente tengo
> instalados dos kernels:
>
> (base) C:\Users\OB186007>jupyter kernelspec list
> Available kernels:
>   ir         C:\ProgramData\Miniconda3\share\jupyter\kernels\ir
>   python3    C:\ProgramData\Miniconda3\share\jupyter\kernels\python3
>
>
> La versión de la librería dplyr que tengo es 0.8.3
>
> Alguien sabe cómo hacer para que funcione?
>
> Desde ya muchas gracias
>
> --
> Oscar Benitez
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> R-help-es mailing list
> R-help-es using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-help-es
>


-- 
Saludos,
Carlos Ortega
www.qualityexcellence.es

	[[alternative HTML version deleted]]



Más información sobre la lista de distribución R-help-es