Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201919

R install.packages polyclip: where is config.log? No answer in prior posts

$
0
0

Attempting to install R package ggforce encountered following error installing dependency polyclip which referred me to config.log. However, config.log is not found below ~/, /tmp, or /var/log I checked this via

find . | grep config[.]log 

Tried install.packages("ggforce",keep_outputs = TRUE) which did not provide any additional information;

 install.packages("ggforce",keep_outputs = TRUE,verbose = TRUE)

"configure: error: in `/tmp/RtmpAkq4Vm/R.INSTALL6c31457f19ba/polyclip'"

however /tmp/RtmpAkq4Vm did not exist post installation.

Can somebody tell me where it is?

Error detail:

 install.packages("ggforce")
Installing package into ‘/home/dutky/R/x86_64-pc-linux-gnu-library/3.6’
(as ‘lib’ is unspecified)
also installing the dependency ‘polyclip’

trying URL 'https://cloud.r-project.org/src/contrib/polyclip_1.10-0.tar.gz'
Content type 'application/x-gzip' length 79619 bytes (77 KB)
==================================================
downloaded 77 KB

trying URL 'https://cloud.r-project.org/src/contrib/ggforce_0.3.1.tar.gz'
Content type 'application/x-gzip' length 857814 bytes (837 KB)
==================================================
downloaded 837 KB

[1] "sourcing Rprofile.site"
* installing *source* package ‘polyclip’ ...
** package ‘polyclip’ successfully unpacked and MD5 sums checked
** using staged installation
compiling under C++11
checking whether the C++ compiler works... no
configure: error: in `/tmp/RtmpCWyOfl/R.INSTALL3a4b31b841d7/polyclip':
configure: error: C++ compiler cannot create executables
See `config.log' for more details
ERROR: configuration failed for package ‘polyclip’
* removing ‘/home/dutky/R/x86_64-pc-linux-gnu-library/3.6/polyclip’
Warning in install.packages :
  installation of package ‘polyclip’ had non-zero exit status
[1] "sourcing Rprofile.site"
ERROR: dependency ‘polyclip’ is not available for package ‘ggforce’
* removing ‘/home/dutky/R/x86_64-pc-linux-gnu-library/3.6/ggforce’
Warning in install.packages :
  installation of package ‘ggforce’ had non-zero exit status

The downloaded source packages are in
    ‘/tmp/RtmpTKDy0n/downloaded_packages’

Running ubuntu 16.04.12, 64 bit, gcc/g++:

dutky@stillbill:/var/log$ g++ --version
g++ (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

dutky@stillbill:/var/log$ gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Viewing all articles
Browse latest Browse all 201919

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>