> install.packages("tidyverse") Installing package into ‘/home/edoardo/R/x86_64-pc-linux-gnu-library/3.6’ (as ‘lib’ is unspecified) also installing the dependency ‘dbplyr’ provo con l'URL 'https://cloud.r-project.org/src/contrib/dbplyr_1.4.3.tar.gz' Content type 'application/x-gzip' length 422549 bytes (412 KB) ================================================== downloaded 412 KB provo con l'URL 'https://cloud.r-project.org/src/contrib/tidyverse_1.3.0.tar.gz' Content type 'application/x-gzip' length 712837 bytes (696 KB) ================================================== downloaded 696 KB * installing *source* package ‘dbplyr’ ... ** package ‘dbplyr’ successfully unpacked and MD5 sums checked ** using staged installation ** R ** inst ** byte-compile and prepare package for lazy loading Error in list2(...) : oggetto "%>%" non trovato Errore: unable to load R code in package ‘dbplyr’ Esecuzione interrotta ERROR: lazy loading failed for package ‘dbplyr’ * removing ‘/home/edoardo/R/x86_64-pc-linux-gnu-library/3.6/dbplyr’ Warning in install.packages : installation of package ‘dbplyr’ had non-zero exit status ERROR: dependency ‘dbplyr’ is not available for package ‘tidyverse’ * removing ‘/home/edoardo/R/x86_64-pc-linux-gnu-library/3.6/tidyverse’ Warning in install.packages : installation of package ‘tidyverse’ had non-zero exit status The downloaded source packages are in ‘/tmp/Rtmprn7Ydu/downloaded_packages’
Welcome to the RStudio Community Forum.
Looks like your set-up cannot find the
%>% operator which originates from the
magrittr package but is included in the
Try installing some of the
tidyverse components individually to see if that fixes the problem:
Hi @DavoWW, thank you for your adivce. I've download
dplyr packages but I still have problems with the installation of
tidyverse. Seems that I receved the same error from the R console. here I post it:
library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, setequal, union library(magrittr) install.packages("tidyverse") ## Installing package into '/home/edoardo/R/x86_64-pc-linux-gnu-library/3.6' ## (as 'lib' is unspecified) ## also installing the dependency 'dbplyr' ## Warning in install.packages("tidyverse"): installation of package 'dbplyr' had ## non-zero exit status ## Warning in install.packages("tidyverse"): installation of package 'tidyverse' ## had non-zero exit status
I have encounter the same problem, here my tips you can fix the problem;
go to your r library for example➤ documents ➤ R ➤verstidyverse
➤delete the previous stored file
after deleting the previous installed file
you can try installing the package
Thank you so much @z.ageru, I solve the problem!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.