[R] Solution: Re: Can't install R6 in new installation of R 3.5.2

Barnet Wagman bdwgen @end|ng |rom gm@||@com
Sun Aug 4 03:11:15 CEST 2019


The problem was not specific to R6 (and probably not to R 3.5.2).

In my .RProfile,  I invoke source() on several of my *.R files that load 
R6.  Apparently the failed attempt to load a package prevents it from 
being installed. Commenting out the offending lines in .RProfile solved 
the problem.

FYI is this true attempting to do an install both from within an R 
session and at the command line with 'R CMD INSTALL ...'

Regards

On 8/3/19 5:21 PM, Barnet Wagman wrote:
> I've just installed R 3.5.2 (on Debian 10, Buster) and am unable to 
> install R6.
>
> install.packages("R6");
>
> yields
>
> Installing package into ‘/home/xxx/R/x86_64-pc-linux-gnu-library/3.5’
> (as ‘lib’ is unspecified)
> trying URL 'https://cloud.r-project.org/src/contrib/R6_2.4.0.tar.gz'
> Content type 'application/x-gzip' length 31545 bytes (30 KB)
> ==================================================
> downloaded 30 KB
>
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
>
> The downloaded source packages are in
>     ‘/tmp/RtmpMQfLun/downloaded_packages’
> Warning message:
> In install.packages("R6") :
>   installation of package ‘R6’ had non-zero exit status
>
> Adding the 'dependencies=TRUE option' yields a whole slew of
>
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
>
> errors.  (The full output is below.)
>
> I'd appreciate any thoughts on this.  I've installed R /many/ times 
> and haven't run into this problem before.
>
> Thanks.
>
>
> ------------------------------------------------------------------------
>
> Full output of 'install.packages("R6",dependencies=TRUE)'
>
> > install.packages("R6",dependencies=TRUE)
> Installing package into ‘/home/xxx/R/x86_64-pc-linux-gnu-library/3.5’
> (as ‘lib’ is unspecified)
> also installing the dependencies ‘backports’, ‘ellipsis’, ‘zeallot’,
> ‘utf8’, ‘vctrs’, ‘mime’, ‘glue’, ‘stringi’, ‘assertthat’, ‘plyr’,
> ‘fansi’, ‘pillar’, ‘pkgconfig’, ‘colorspace’, ‘evaluate’, ‘highr’,
> ‘markdown’, ‘stringr’, ‘yaml’, ‘xfun’, ‘Rcpp’, ‘cli’, ‘crayon’,
> ‘digest’, ‘magrittr’, ‘praise’, ‘rlang’, ‘withr’, ‘gtable’,
> ‘lazyeval’, ‘reshape2’, ‘tibble’, ‘viridisLite’, ‘labeling’,
> ‘munsell’, ‘RColorBrewer’, ‘knitr’, ‘microbenchmark’, ‘pryr’,
> ‘testthat’, ‘ggplot2’, ‘scales’
>
> trying URL
> 'https://cloud.r-project.org/src/contrib/backports_1.1.4.tar.gz'
> Content type 'application/x-gzip' length 13859 bytes (13 KB)
> ==================================================
> downloaded 13 KB
>
> trying URL
> 'https://cloud.r-project.org/src/contrib/ellipsis_0.2.0.1.tar.gz'
> Content type 'application/x-gzip' length 7045 bytes
> ==================================================
> downloaded 7045 bytes
>
> trying URL
> 'https://cloud.r-project.org/src/contrib/zeallot_0.1.0.tar.gz'
> Content type 'application/x-gzip' length 32549 bytes (31 KB)
> ==================================================
> downloaded 31 KB
>
> trying URL 'https://cloud.r-project.org/src/contrib/utf8_1.1.4.tar.gz'
> Content type 'application/x-gzip' length 218882 bytes (213 KB)
> ==================================================
> downloaded 213 KB
>
> trying URL 'https://cloud.r-project.org/src/contrib/vctrs_0.2.0.tar.gz'
> Content type 'application/x-gzip' length 668258 bytes (652 KB)
> ==================================================
> downloaded 652 KB
>
> trying URL 'https://cloud.r-project.org/src/contrib/mime_0.7.tar.gz'
> Content type 'application/x-gzip' length 13130 bytes (12 KB)
> ==================================================
> downloaded 12 KB
>
> trying URL 'https://cloud.r-project.org/src/contrib/glue_1.3.1.tar.gz'
> Content type 'application/x-gzip' length 122950 bytes (120 KB)
> ==================================================
> downloaded 120 KB
>
> trying URL
> 'https://cloud.r-project.org/src/contrib/stringi_1.4.3.tar.gz'
> Content type 'application/x-gzip' length 7290890 bytes (7.0 MB)
> ==================================================
> downloaded 7.0 MB
>
> trying URL
> 'https://cloud.r-project.org/src/contrib/assertthat_0.2.1.tar.gz'
> Content type 'application/x-gzip' length 12742 bytes (12 KB)
> ==================================================
> downloaded 12 KB
>
> trying URL 'https://cloud.r-project.org/src/contrib/plyr_1.8.4.tar.gz'
> Content type 'application/x-gzip' length 392451 bytes (383 KB)
> ==================================================
> downloaded 383 KB
>
> trying URL 'https://cloud.r-project.org/src/contrib/fansi_0.4.0.tar.gz'
> Content type 'application/x-gzip' length 266123 bytes (259 KB)
> ==================================================
> downloaded 259 KB
>
> trying URL 'https://cloud.r-project.org/src/contrib/pillar_1.4.2.tar.gz'
> Content type 'application/x-gzip' length 228815 bytes (223 KB)
> ==================================================
> downloaded 223 KB
>
> trying URL
> 'https://cloud.r-project.org/src/contrib/pkgconfig_2.0.2.tar.gz'
> Content type 'application/x-gzip' length 6024 bytes
> ==================================================
> downloaded 6024 bytes
>
> trying URL
> 'https://cloud.r-project.org/src/contrib/colorspace_1.4-1.tar.gz'
> Content type 'application/x-gzip' length 2152594 bytes (2.1 MB)
> ==================================================
> downloaded 2.1 MB
>
> trying URL
> 'https://cloud.r-project.org/src/contrib/evaluate_0.14.tar.gz'
> Content type 'application/x-gzip' length 24206 bytes (23 KB)
> ==================================================
> downloaded 23 KB
>
> trying URL 'https://cloud.r-project.org/src/contrib/highr_0.8.tar.gz'
> Content type 'application/x-gzip' length 17445 bytes (17 KB)
> ==================================================
> downloaded 17 KB
>
> trying URL 'https://cloud.r-project.org/src/contrib/markdown_1.0.tar.gz'
> Content type 'application/x-gzip' length 80843 bytes (78 KB)
> ==================================================
> downloaded 78 KB
>
> trying URL
> 'https://cloud.r-project.org/src/contrib/stringr_1.4.0.tar.gz'
> Content type 'application/x-gzip' length 135777 bytes (132 KB)
> ==================================================
> downloaded 132 KB
>
> trying URL 'https://cloud.r-project.org/src/contrib/yaml_2.2.0.tar.gz'
> Content type 'application/x-gzip' length 89447 bytes (87 KB)
> ==================================================
> downloaded 87 KB
>
> trying URL 'https://cloud.r-project.org/src/contrib/xfun_0.8.tar.gz'
> Content type 'application/x-gzip' length 54885 bytes (53 KB)
> ==================================================
> downloaded 53 KB
>
> trying URL 'https://cloud.r-project.org/src/contrib/Rcpp_1.0.2.tar.gz'
> Content type 'application/x-gzip' length 3699570 bytes (3.5 MB)
> ==================================================
> downloaded 3.5 MB
>
> trying URL 'https://cloud.r-project.org/src/contrib/cli_1.1.0.tar.gz'
> Content type 'application/x-gzip' length 40232 bytes (39 KB)
> ==================================================
> downloaded 39 KB
>
> trying URL 'https://cloud.r-project.org/src/contrib/crayon_1.3.4.tar.gz'
> Content type 'application/x-gzip' length 658694 bytes (643 KB)
> ==================================================
> downloaded 643 KB
>
> trying URL
> 'https://cloud.r-project.org/src/contrib/digest_0.6.20.tar.gz'
> Content type 'application/x-gzip' length 135997 bytes (132 KB)
> ==================================================
> downloaded 132 KB
>
> trying URL 'https://cloud.r-project.org/src/contrib/magrittr_1.5.tar.gz'
> Content type 'application/x-gzip' length 200504 bytes (195 KB)
> ==================================================
> downloaded 195 KB
>
> trying URL 'https://cloud.r-project.org/src/contrib/praise_1.0.0.tar.gz'
> Content type 'application/x-gzip' length 6100 bytes
> ==================================================
> downloaded 6100 bytes
>
> trying URL 'https://cloud.r-project.org/src/contrib/rlang_0.4.0.tar.gz'
> Content type 'application/x-gzip' length 859737 bytes (839 KB)
> ==================================================
> downloaded 839 KB
>
> trying URL 'https://cloud.r-project.org/src/contrib/withr_2.1.2.tar.gz'
> Content type 'application/x-gzip' length 53578 bytes (52 KB)
> ==================================================
> downloaded 52 KB
>
> trying URL 'https://cloud.r-project.org/src/contrib/gtable_0.3.0.tar.gz'
> Content type 'application/x-gzip' length 368081 bytes (359 KB)
> ==================================================
> downloaded 359 KB
>
> trying URL
> 'https://cloud.r-project.org/src/contrib/lazyeval_0.2.2.tar.gz'
> Content type 'application/x-gzip' length 83482 bytes (81 KB)
> ==================================================
> downloaded 81 KB
>
> trying URL
> 'https://cloud.r-project.org/src/contrib/reshape2_1.4.3.tar.gz'
> Content type 'application/x-gzip' length 36405 bytes (35 KB)
> ==================================================
> downloaded 35 KB
>
> trying URL 'https://cloud.r-project.org/src/contrib/tibble_2.1.3.tar.gz'
> Content type 'application/x-gzip' length 310774 bytes (303 KB)
> ==================================================
> downloaded 303 KB
>
> trying URL
> 'https://cloud.r-project.org/src/contrib/viridisLite_0.3.0.tar.gz'
> Content type 'application/x-gzip' length 44019 bytes (42 KB)
> ==================================================
> downloaded 42 KB
>
> trying URL 'https://cloud.r-project.org/src/contrib/labeling_0.3.tar.gz'
> Content type 'application/x-gzip' length 10722 bytes (10 KB)
> ==================================================
> downloaded 10 KB
>
> trying URL
> 'https://cloud.r-project.org/src/contrib/munsell_0.5.0.tar.gz'
> Content type 'application/x-gzip' length 182653 bytes (178 KB)
> ==================================================
> downloaded 178 KB
>
> trying URL
> 'https://cloud.r-project.org/src/contrib/RColorBrewer_1.1-2.tar.gz'
> Content type 'application/x-gzip' length 11532 bytes (11 KB)
> ==================================================
> downloaded 11 KB
>
> trying URL 'https://cloud.r-project.org/src/contrib/knitr_1.23.tar.gz'
> Content type 'application/x-gzip' length 880134 bytes (859 KB)
> ==================================================
> downloaded 859 KB
>
> trying URL
> 'https://cloud.r-project.org/src/contrib/microbenchmark_1.4-6.tar.gz'
> Content type 'application/x-gzip' length 57682 bytes (56 KB)
> ==================================================
> downloaded 56 KB
>
> trying URL 'https://cloud.r-project.org/src/contrib/pryr_0.1.4.tar.gz'
> Content type 'application/x-gzip' length 43041 bytes (42 KB)
> ==================================================
> downloaded 42 KB
>
> trying URL
> 'https://cloud.r-project.org/src/contrib/testthat_2.2.1.tar.gz'
> Content type 'application/x-gzip' length 235874 bytes (230 KB)
> ==================================================
> downloaded 230 KB
>
> trying URL
> 'https://cloud.r-project.org/src/contrib/ggplot2_3.2.0.tar.gz'
> Content type 'application/x-gzip' length 3193995 bytes (3.0 MB)
> ==================================================
> downloaded 3.0 MB
>
> trying URL 'https://cloud.r-project.org/src/contrib/scales_1.0.0.tar.gz'
> Content type 'application/x-gzip' length 299262 bytes (292 KB)
> ==================================================
> downloaded 292 KB
>
> trying URL 'https://cloud.r-project.org/src/contrib/R6_2.4.0.tar.gz'
> Content type 'application/x-gzip' length 31545 bytes (30 KB)
> ==================================================
> downloaded 30 KB
>
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
> Error in library(R6) : there is no package called ‘R6’
> Calls: source -> withVisible -> eval -> eval -> library
> Execution halted
>
> The downloaded source packages are in
>     ‘/tmp/RtmpMQfLun/downloaded_packages’
> There were 43 warnings (use warnings() to see them)
>
>
>
>
>



More information about the R-help mailing list