Linux Mint package had non-zero exit status

Hi, I use Linux Mint and I have problems installing certain packages that I need for a university project. I need dplR, SPEI, treeclim, ggplot2, pointRes packages. For all packages it says "had non-zero exit status.

I would be really greatful for any help.

Thanks in advance!

You need to be more specific, select one package, show the command you are using to install it and the whole error message you are getting.

Hey I am using the"install button" and installing from repository (CRAN). So the command is e.g. "> install.packages("dplR")"

"ERROR: dependencies ‘digest’, ‘stringr’, ‘plyr’ are not available for package ‘dplR’

  • removing ‘/home/smonkey/R/x86_64-pc-linux-gnu-library/3.0/dplR’
    Warning in install.packages :
    installation of package ‘dplR’ had non-zero exit status"

What happens if you try to install the missing dependencies? (post the whole error message)

install.packages("dplR", dependencies = TRUE )
Installing package into ‘/home/smonkey/R/x86_64-pc-linux-gnu-library/3.0’
(as ‘lib’ is unspecified)
Warning in install.packages :
  dependencies ‘digest’, ‘stringr’, ‘plyr’, ‘Biobase’, ‘gmp’, ‘knitr’, ‘testthat’, ‘ggplot2’, ‘zoo’, ‘RcppArmadillo’, ‘quadprog’, ‘quantmod’ are not available
also installing the dependencies ‘colorspace’, ‘fracdiff’, ‘lmtest’, ‘magrittr’, ‘timeDate’, ‘tseries’, ‘urca’, ‘filehash’, ‘Cairo’, ‘dichromat’, ‘foreach’, ‘forecast’, ‘iterators’, ‘RColorBrewer’, ‘tikzDevice’, ‘waveslim’

--2020-06-12 19:06:29--  https://cran.rstudio.com/src/contrib/colorspace_1.4-1.tar.gz
Resolving cran.rstudio.com (cran.rstudio.com)... 2600:9000:20eb:7800:6:c2d3:f940:93a1, 2600:9000:20eb:ac00:6:c2d3:f940:93a1, 2600:9000:20eb:4800:6:c2d3:f940:93a1, ...
Connecting to cran.rstudio.com (cran.rstudio.com)|2600:9000:20eb:7800:6:c2d3:f940:93a1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2152594 (2,1M) [application/x-gzip]
Saving to: ‘/tmp/RtmpiukJc8/downloaded_packages/colorspace_1.4-1.tar.gz’

     0K .......... .......... .......... .......... ..........  2% 1,79M 1s
    50K .......... .......... .......... .......... ..........  4% 2,06M 1s
   100K .......... .......... .......... .......... ..........  7% 2,85M 1s
   150K .......... .......... .......... .......... ..........  9% 4,49M 1s
   200K .......... .......... .......... .......... .......... 11% 7,91M 1s
   250K .......... .......... .......... .......... .......... 14% 11,2M 1s
   300K .......... .......... .......... .......... .......... 16% 5,30M 0s
   350K .......... .......... .......... .......... .......... 19% 10,7M 0s
   400K .......... .......... .......... .......... .......... 21% 10,8M 0s
   450K .......... .......... .......... .......... .......... 23% 20,0M 0s
   500K .......... .......... .......... .......... .......... 26% 8,68M 0s
   550K .......... .......... .......... .......... .......... 28% 7,00M 0s
   600K .......... .......... .......... .......... .......... 30% 18,7M 0s
   650K .......... .......... .......... .......... .......... 33% 12,9M 0s
   700K .......... .......... .......... .......... .......... 35% 13,5M 0s
   750K .......... .......... .......... .......... .......... 38% 7,65M 0s
   800K .......... .......... .......... .......... .......... 40% 6,77M 0s
   850K .......... .......... .......... .......... .......... 42% 13,0M 0s
   900K .......... .......... .......... .......... .......... 45% 30,2M 0s
   950K .......... .......... .......... .......... .......... 47% 20,4M 0s
  1000K .......... .......... .......... .......... .......... 49% 36,8M 0s
  1050K .......... .......... .......... .......... .......... 52% 20,3M 0s
  1100K .......... .......... .......... .......... .......... 54% 21,9M 0s
  1150K .......... .......... .......... .......... .......... 57% 21,5M 0s
  1200K .......... .......... .......... .......... .......... 59%  160M 0s
  1250K .......... .......... .......... .......... .......... 61% 22,7M 0s
  1300K .......... .......... .......... .......... .......... 64% 10,8M 0s
  1350K .......... .......... .......... .......... .......... 66% 24,5M 0s
  1400K .......... .......... .......... .......... .......... 68% 31,7M 0s
  1450K .......... .......... .......... .......... .......... 71% 3,69M 0s
  1500K .......... .......... .......... .......... .......... 73% 5,13M 0s
  1550K .......... .......... .......... .......... .......... 76% 4,51M 0s
  1600K .......... .......... .......... .......... .......... 78% 25,1M 0s
  1650K .......... .......... .......... .......... .......... 80% 14,9M 0s
  1700K .......... .......... .......... .......... .......... 83% 5,71M 0s
  1750K .......... .......... .......... .......... .......... 85% 6,78M 0s
  1800K .......... .......... .......... .......... .......... 88% 5,25M 0s
  1850K .......... .......... .......... .......... .......... 90% 29,8M 0s
  1900K .......... .......... .......... .......... .......... 92% 5,63M 0s
  1950K .......... .......... .......... .......... .......... 95% 14,8M 0s
  2000K .......... .......... .......... .......... .......... 97% 8,19M 0s
  2050K .......... .......... .......... .......... .......... 99% 9,15M 0s
  2100K ..                                                    100% 36,7M=0,3s

2020-06-12 19:06:30 (7,84 MB/s) - ‘/tmp/RtmpiukJc8/downloaded_packages/colorspace_1.4-1.tar.gz’ saved [2152594/2152594]

--2020-06-12 19:06:30--  https://cran.rstudio.com/src/contrib/fracdiff_1.5-1.tar.gz
Resolving cran.rstudio.com (cran.rstudio.com)... 2600:9000:20eb:7800:6:c2d3:f940:93a1, 2600:9000:20eb:ac00:6:c2d3:f940:93a1, 2600:9000:20eb:4800:6:c2d3:f940:93a1, ...
Connecting to cran.rstudio.com (cran.rstudio.com)|2600:9000:20eb:7800:6:c2d3:f940:93a1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 63764 (62K) [application/x-gzip]
Saving to: ‘/tmp/RtmpiukJc8/downloaded_packages/fracdiff_1.5-1.tar.gz’

     0K .......... .......... .......... .......... .......... 80% 2,08M 0s
    50K .......... ..                                         100%  193M=0,02s

2020-06-12 19:06:30 (2,59 MB/s) - ‘/tmp/RtmpiukJc8/downloaded_packages/fracdiff_1.5-1.tar.gz’ saved [63764/63764]

--2020-06-12 19:06:30--  https://cran.rstudio.com/src/contrib/lmtest_0.9-37.tar.gz
Resolving cran.rstudio.com (cran.rstudio.com)... 2600:9000:20eb:7800:6:c2d3:f940:93a1, 2600:9000:20eb:ac00:6:c2d3:f940:93a1, 2600:9000:20eb:4800:6:c2d3:f940:93a1, ...
Connecting to cran.rstudio.com (cran.rstudio.com)|2600:9000:20eb:7800:6:c2d3:f940:93a1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 184426 (180K) [application/x-gzip]
Saving to: ‘/tmp/RtmpiukJc8/downloaded_packages/lmtest_0.9-37.tar.gz’

     0K .......... .......... .......... .......... .......... 27% 1,52M 0s
    50K .......... .......... .......... .......... .......... 55% 3,80M 0s
   100K .......... .......... .......... .......... .......... 83% 3,86M 0s
   150K .......... .......... ..........                      100% 7,06M=0,06s

2020-06-12 19:06:30 (2,85 MB/s) - ‘/tmp/RtmpiukJc8/downloaded_packages/lmtest_0.9-37.tar.gz’ saved [184426/184426]

--2020-06-12 19:06:30--  https://cran.rstudio.com/src/contrib/magrittr_1.5.tar.gz
Resolving cran.rstudio.com (cran.rstudio.com)... 2600:9000:20eb:7800:6:c2d3:f940:93a1, 2600:9000:20eb:ac00:6:c2d3:f940:93a1, 2600:9000:20eb:4800:6:c2d3:f940:93a1, ...
Connecting to cran.rstudio.com (cran.rstudio.com)|2600:9000:20eb:7800:6:c2d3:f940:93a1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 200504 (196K) [application/x-gzip]
Saving to: ‘/tmp/RtmpiukJc8/downloaded_packages/magrittr_1.5.tar.gz’

     0K .......... .......... .......... .......... .......... 25% 1,94M 0s
    50K .......... .......... .......... .......... .......... 51% 3,20M 0s
   100K .......... .......... .......... .......... .......... 76% 4,75M 0s
   150K .......... .......... .......... .......... .....     100% 5,80M=0,06s

2020-06-12 19:06:31 (3,27 MB/s) - ‘/tmp/RtmpiukJc8/downloaded_packages/magrittr_1.5.tar.gz’ saved [200504/200504]

--2020-06-12 19:06:31--  https://cran.rstudio.com/src/contrib/timeDate_3043.102.tar.gz
Resolving cran.rstudio.com (cran.rstudio.com)... 2600:9000:20eb:7800:6:c2d3:f940:93a1, 2600:9000:20eb:ac00:6:c2d3:f940:93a1, 2600:9000:20eb:4800:6:c2d3:f940:93a1, ...
Connecting to cran.rstudio.com (cran.rstudio.com)|2600:9000:20eb:7800:6:c2d3:f940:93a1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 314656 (307K) [application/x-gzip]
Saving to: ‘/tmp/RtmpiukJc8/downloaded_packages/timeDate_3043.102.tar.gz’

     0K .......... .......... .......... .......... .......... 16% 1,55M 0s
    50K .......... .......... .......... .......... .......... 32% 3,30M 0s
   100K .......... .......... .......... .......... .......... 48% 3,25M 0s
   150K .......... .......... .......... .......... .......... 65% 5,64M 0s
   200K .......... .......... .......... .......... .......... 81% 6,82M 0s
   250K .......... .......... .......... .......... .......... 97% 8,04M 0s
   300K .......                                               100% 13,7M=0,08s

2020-06-12 19:06:31 (3,58 MB/s) - ‘/tmp/RtmpiukJc8/downloaded_packages/timeDate_3043.102.tar.gz’ saved [314656/314656]

--2020-06-12 19:06:31--  https://cran.rstudio.com/src/contrib/tseries_0.10-47.tar.gz
Resolving cran.rstudio.com (cran.rstudio.com)... 2600:9000:20eb:7800:6:c2d3:f940:93a1, 2600:9000:20eb:ac00:6:c2d3:f940:93a1, 2600:9000:20eb:4800:6:c2d3:f940:93a1, ...
Connecting to cran.rstudio.com (cran.rstudio.com)|2600:9000:20eb:7800:6:c2d3:f940:93a1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 164796 (161K) [application/x-gzip]
Saving to: ‘/tmp/RtmpiukJc8/downloaded_packages/tseries_0.10-47.tar.gz’

     0K .......... .......... .......... .......... .......... 31% 1,44M 0s
    50K .......... .......... .......... .......... .......... 62% 3,15M 0s
   100K .......... .......... .......... .......... .......... 93% 4,73M 0s
   150K ..........                                            100% 96,8M=0,06s

2020-06-12 19:06:31 (2,63 MB/s) - ‘/tmp/RtmpiukJc8/downloaded_packages/tseries_0.10-47.tar.gz’ saved [164796/164796]

--2020-06-12 19:06:31--  https://cran.rstudio.com/src/contrib/urca_1.3-0.tar.gz
Resolving cran.rstudio.com (cran.rstudio.com)... 2600:9000:20eb:7800:6:c2d3:f940:93a1, 2600:9000:20eb:ac00:6:c2d3:f940:93a1, 2600:9000:20eb:4800:6:c2d3:f940:93a1, ...
Connecting to cran.rstudio.com (cran.rstudio.com)|2600:9000:20eb:7800:6:c2d3:f940:93a1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 682935 (667K) [application/x-gzip]
Saving to: ‘/tmp/RtmpiukJc8/downloaded_packages/urca_1.3-0.tar.gz’

     0K .......... .......... .......... .......... ..........  7% 1,55M 0s
    50K .......... .......... .......... .......... .......... 14% 2,79M 0s
   100K .......... .......... .......... .......... .......... 22% 4,65M 0s
   150K .......... .......... .......... .......... .......... 29% 5,64M 0s
   200K .......... .......... .......... .......... .......... 37% 7,05M 0s
   250K .......... .......... .......... .......... .......... 44% 11,9M 0s
   300K .......... .......... .......... .......... .......... 52% 7,38M 0s
   350K .......... .......... .......... .......... .......... 59% 5,73M 0s
   400K .......... .......... .......... .......... .......... 67% 11,6M 0s
   450K .......... .......... .......... .......... .......... 74% 23,6M 0s
   500K .......... .......... .......... .......... .......... 82% 12,5M 0s
   550K .......... .......... .......... .......... .......... 89% 66,6M 0s
   600K .......... .......... .......... .......... .......... 97% 15,5M 0s
   650K .......... ......                                     100% 5,70M=0,1s

2020-06-12 19:06:32 (5,85 MB/s) - ‘/tmp/RtmpiukJc8/downloaded_packages/urca_1.3-0.tar.gz’ saved [682935/682935]

--2020-06-12 19:06:32--  https://cran.rstudio.com/src/contrib/filehash_2.4-2.tar.gz
Resolving cran.rstudio.com (cran.rstudio.com)... 2600:9000:20eb:7800:6:c2d3:f940:93a1, 2600:9000:20eb:ac00:6:c2d3:f940:93a1, 2600:9000:20eb:4800:6:c2d3:f940:93a1, ...
Connecting to cran.rstudio.com (cran.rstudio.com)|2600:9000:20eb:7800:6:c2d3:f940:93a1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 141762 (138K) [application/x-gzip]
Saving to: ‘/tmp/RtmpiukJc8/downloaded_packages/filehash_2.4-2.tar.gz’

     0K .......... .......... .......... .......... .......... 36%  298K 0s
    50K .......... .......... .......... .......... .......... 72%  621K 0s
   100K .......... .......... .......... ........             100% 7,39M=0,3s

2020-06-12 19:06:32 (546 KB/s) - ‘/tmp/RtmpiukJc8/downloaded_packages/filehash_2.4-2.tar.gz’ saved [141762/141762]

--2020-06-12 19:06:32--  https://cran.rstudio.com/src/contrib/Cairo_1.5-12.tar.gz
Resolving cran.rstudio.com (cran.rstudio.com)... 2600:9000:20eb:7800:6:c2d3:f940:93a1, 2600:9000:20eb:ac00:6:c2d3:f940:93a1, 2600:9000:20eb:4800:6:c2d3:f940:93a1, ...
Connecting to cran.rstudio.com (cran.rstudio.com)|2600:9000:20eb:7800:6:c2d3:f940:93a1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 88374 (86K) [application/x-gzip]
Saving to: ‘/tmp/RtmpiukJc8/downloaded_packages/Cairo_1.5-12.tar.gz’

     0K .......... .......... .......... .......... .......... 57% 1,90M 0s
    50K .......... .......... .......... ......               100% 4,33M=0,03s

2020-06-12 19:06:33 (2,49 MB/s) - ‘/tmp/RtmpiukJc8/downloaded_packages/Cairo_1.5-12.tar.gz’ saved [88374/88374]

--2020-06-12 19:06:33--  https://cran.rstudio.com/src/contrib/dichromat_2.0-0.tar.gz
Resolving cran.rstudio.com (cran.rstudio.com)... 2600:9000:20eb:7800:6:c2d3:f940:93a1, 2600:9000:20eb:ac00:6:c2d3:f940:93a1, 2600:9000:20eb:4800:6:c2d3:f940:93a1, ...
Connecting to cran.rstudio.com (cran.rstudio.com)|2600:9000:20eb:7800:6:c2d3:f940:93a1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 84320 (82K) [application/x-gzip]
Saving to: ‘/tmp/RtmpiukJc8/downloaded_packages/dichromat_2.0-0.tar.gz’

     0K .......... .......... .......... .......... .......... 60% 1,76M 0s
    50K .......... .......... .......... ..                   100% 4,31M=0,04s

2020-06-12 19:06:33 (2,29 MB/s) - ‘/tmp/RtmpiukJc8/downloaded_packages/dichromat_2.0-0.tar.gz’ saved [84320/84320]

--2020-06-12 19:06:33--  https://cran.rstudio.com/src/contrib/foreach_1.5.0.tar.gz
Resolving cran.rstudio.com (cran.rstudio.com)... 2600:9000:20eb:7800:6:c2d3:f940:93a1, 2600:9000:20eb:ac00:6:c2d3:f940:93a1, 2600:9000:20eb:4800:6:c2d3:f940:93a1, ...
Connecting to cran.rstudio.com (cran.rstudio.com)|2600:9000:20eb:7800:6:c2d3:f940:93a1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 87370 (85K) [application/x-gzip]
Saving to: ‘/tmp/RtmpiukJc8/downloaded_packages/foreach_1.5.0.tar.gz’

     0K .......... .......... .......... .......... .......... 58% 1,61M 0s
    50K .......... .......... .......... .....                100% 5,49M=0,04s

2020-06-12 19:06:33 (2,27 MB/s) - ‘/tmp/RtmpiukJc8/downloaded_packages/foreach_1.5.0.tar.gz’ saved [87370/87370]

--2020-06-12 19:06:33--  https://cran.rstudio.com/src/contrib/forecast_8.12.tar.gz
Resolving cran.rstudio.com (cran.rstudio.com)... 2600:9000:20eb:7800:6:c2d3:f940:93a1, 2600:9000:20eb:ac00:6:c2d3:f940:93a1, 2600:9000:20eb:4800:6:c2d3:f940:93a1, ...
Connecting to cran.rstudio.com (cran.rstudio.com)|2600:9000:20eb:7800:6:c2d3:f940:93a1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 787427 (769K) [application/x-gzip]
Saving to: ‘/tmp/RtmpiukJc8/downloaded_packages/forecast_8.12.tar.gz’

     0K .......... .......... .......... .......... ..........  6% 1,84M 0s
    50K .......... .......... .......... .......... .......... 13% 3,19M 0s
   100K .......... .......... .......... .......... .......... 19% 3,95M 0s
   150K .......... .......... .......... .......... .......... 26% 3,60M 0s
   200K .......... .......... .......... .......... .......... 32% 10,1M 0s
   250K .......... .......... .......... .......... .......... 39% 12,7M 0s
   300K .......... .......... .......... .......... .......... 45% 10,6M 0s
   350K .......... .......... .......... .......... .......... 52% 4,12M 0s
   400K .......... .......... .......... .......... .......... 58% 7,37M 0s
   450K .......... .......... .......... .......... .......... 65% 18,4M 0s
   500K .......... .......... .......... .......... .......... 71% 71,6M 0s
   550K .......... .......... .......... .......... .......... 78% 18,9M 0s
   600K .......... .......... .......... .......... .......... 84% 34,5M 0s
   650K .......... .......... .......... .......... .......... 91% 9,87M 0s
   700K .......... .......... .......... .......... .......... 97% 17,0M 0s
   750K .......... ........                                   100%  139M=0,1s

2020-06-12 19:06:34 (6,54 MB/s) - ‘/tmp/RtmpiukJc8/downloaded_packages/forecast_8.12.tar.gz’ saved [787427/787427]

--2020-06-12 19:06:34--  https://cran.rstudio.com/src/contrib/iterators_1.0.12.tar.gz
Resolving cran.rstudio.com (cran.rstudio.com)... 2600:9000:20eb:7800:6:c2d3:f940:93a1, 2600:9000:20eb:ac00:6:c2d3:f940:93a1, 2600:9000:20eb:4800:6:c2d3:f940:93a1, ...
Connecting to cran.rstudio.com (cran.rstudio.com)|2600:9000:20eb:7800:6:c2d3:f940:93a1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 289201 (282K) [application/x-gzip]
Saving to: ‘/tmp/RtmpiukJc8/downloaded_packages/iterators_1.0.12.tar.gz’

     0K .......... .......... .......... .......... .......... 17% 1,43M 0s
    50K .......... .......... .......... .......... .......... 35% 3,37M 0s
   100K .......... .......... .......... .......... .......... 53% 4,72M 0s
   150K .......... .......... .......... .......... .......... 70% 5,09M 0s
   200K .......... .......... .......... .......... .......... 88% 11,3M 0s
   250K .......... .......... .......... ..                   100% 9,48M=0,08s

2020-06-12 19:06:34 (3,62 MB/s) - ‘/tmp/RtmpiukJc8/downloaded_packages/iterators_1.0.12.tar.gz’ saved [289201/289201]

--2020-06-12 19:06:34--  https://cran.rstudio.com/src/contrib/RColorBrewer_1.1-2.tar.gz
Resolving cran.rstudio.com (cran.rstudio.com)... 2600:9000:20eb:7800:6:c2d3:f940:93a1, 2600:9000:20eb:ac00:6:c2d3:f940:93a1, 2600:9000:20eb:4800:6:c2d3:f940:93a1, ...
Connecting to cran.rstudio.com (cran.rstudio.com)|2600:9000:20eb:7800:6:c2d3:f940:93a1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11532 (11K) [application/x-gzip]
Saving to: ‘/tmp/RtmpiukJc8/downloaded_packages/RColorBrewer_1.1-2.tar.gz’

     0K .......... .                                          100% 1,93M=0,006s

2020-06-12 19:06:34 (1,93 MB/s) - ‘/tmp/RtmpiukJc8/downloaded_packages/RColorBrewer_1.1-2.tar.gz’ saved [11532/11532]

--2020-06-12 19:06:34--  https://cran.rstudio.com/src/contrib/tikzDevice_0.12.3.tar.gz
Resolving cran.rstudio.com (cran.rstudio.com)... 2600:9000:20eb:7800:6:c2d3:f940:93a1, 2600:9000:20eb:ac00:6:c2d3:f940:93a1, 2600:9000:20eb:4800:6:c2d3:f940:93a1, ...
Connecting to cran.rstudio.com (cran.rstudio.com)|2600:9000:20eb:7800:6:c2d3:f940:93a1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1462047 (1,4M) [application/x-gzip]
Saving to: ‘/tmp/RtmpiukJc8/downloaded_packages/tikzDevice_0.12.3.tar.gz’

     0K .......... .......... .......... .......... ..........  3% 1,20M 1s
    50K .......... .......... .......... .......... ..........  7% 2,65M 1s
   100K .......... .......... .......... .......... .......... 10% 5,03M 1s
   150K .......... .......... .......... .......... .......... 14% 4,54M 0s
   200K .......... .......... .......... .......... .......... 17% 6,87M 0s
   250K .......... .......... .......... .......... .......... 21% 11,5M 0s
   300K .......... .......... .......... .......... .......... 24% 10,8M 0s
   350K .......... .......... .......... .......... .......... 28% 10,3M 0s
   400K .......... .......... .......... .......... .......... 31% 6,21M 0s
   450K .......... .......... .......... .......... .......... 35% 10,4M 0s
   500K .......... .......... .......... .......... .......... 38% 22,2M 0s
   550K .......... .......... .......... .......... .......... 42% 22,9M 0s
   600K .......... .......... .......... .......... .......... 45% 7,97M 0s
   650K .......... .......... .......... .......... .......... 49% 13,3M 0s
   700K .......... .......... .......... .......... .......... 52% 18,4M 0s
   750K .......... .......... .......... .......... .......... 56% 21,3M 0s
   800K .......... .......... .......... .......... .......... 59% 34,8M 0s
   850K .......... .......... .......... .......... .......... 63% 7,71M 0s
   900K .......... .......... .......... .......... .......... 66% 12,0M 0s
   950K .......... .......... .......... .......... .......... 70% 26,0M 0s
  1000K .......... .......... .......... .......... .......... 73% 6,98M 0s
  1050K .......... .......... .......... .......... .......... 77% 7,12M 0s
  1100K .......... .......... .......... .......... .......... 80% 10,9M 0s
  1150K .......... .......... .......... .......... .......... 84% 7,75M 0s
  1200K .......... .......... .......... .......... .......... 87% 8,71M 0s
  1250K .......... .......... .......... .......... .......... 91% 5,41M 0s
  1300K .......... .......... .......... .......... .......... 94% 7,37M 0s
  1350K .......... .......... .......... .......... .......... 98% 8,87M 0s
  1400K .......... .......... .......                         100%  118M=0,2s

2020-06-12 19:06:35 (7,08 MB/s) - ‘/tmp/RtmpiukJc8/downloaded_packages/tikzDevice_0.12.3.tar.gz’ saved [1462047/1462047]

--2020-06-12 19:06:35--  https://cran.rstudio.com/src/contrib/waveslim_1.8.2.tar.gz
Resolving cran.rstudio.com (cran.rstudio.com)... 2600:9000:20eb:7800:6:c2d3:f940:93a1, 2600:9000:20eb:ac00:6:c2d3:f940:93a1, 2600:9000:20eb:4800:6:c2d3:f940:93a1, ...
Connecting to cran.rstudio.com (cran.rstudio.com)|2600:9000:20eb:7800:6:c2d3:f940:93a1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 401692 (392K) [application/x-gzip]
Saving to: ‘/tmp/RtmpiukJc8/downloaded_packages/waveslim_1.8.2.tar.gz’

     0K .......... .......... .......... .......... .......... 12% 1,76M 0s
    50K .......... .......... .......... .......... .......... 25% 3,24M 0s
   100K .......... .......... .......... .......... .......... 38% 5,87M 0s
   150K .......... .......... .......... .......... .......... 50% 5,64M 0s
   200K .......... .......... .......... .......... .......... 63% 6,93M 0s
   250K .......... .......... .......... .......... .......... 76% 11,9M 0s
   300K .......... .......... .......... .......... .......... 89% 11,4M 0s
   350K .......... .......... .......... .......... ..        100% 7,14M=0,08s

2020-06-12 19:06:35 (4,73 MB/s) - ‘/tmp/RtmpiukJc8/downloaded_packages/waveslim_1.8.2.tar.gz’ saved [401692/401692]

--2020-06-12 19:06:35--  https://cran.rstudio.com/src/contrib/dplR_1.7.1.tar.gz
Resolving cran.rstudio.com (cran.rstudio.com)... 2600:9000:20eb:7800:6:c2d3:f940:93a1, 2600:9000:20eb:ac00:6:c2d3:f940:93a1, 2600:9000:20eb:4800:6:c2d3:f940:93a1, ...
Connecting to cran.rstudio.com (cran.rstudio.com)|2600:9000:20eb:7800:6:c2d3:f940:93a1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1413888 (1,3M) [application/x-gzip]
Saving to: ‘/tmp/RtmpiukJc8/downloaded_packages/dplR_1.7.1.tar.gz’

     0K .......... .......... .......... .......... ..........  3%  285K 5s
    50K .......... .......... .......... .......... ..........  7%  648K 3s
   100K .......... .......... .......... .......... .......... 10% 5,67M 2s
   150K .......... .......... .......... .......... .......... 14% 2,55M 2s
   200K .......... .......... .......... .......... .......... 18%  804K 2s
   250K .......... .......... .......... .......... .......... 21% 10,8M 1s
   300K .......... .......... .......... .......... .......... 25% 11,9M 1s
   350K .......... .......... .......... .......... .......... 28% 2,82M 1s
   400K .......... .......... .......... .......... .......... 32%  867K 1s
   450K .......... .......... .......... .......... .......... 36% 18,5M 1s
   500K .......... .......... .......... .......... .......... 39% 16,8M 1s
   550K .......... .......... .......... .......... .......... 43% 33,9M 1s
   600K .......... .......... .......... .......... .......... 47% 15,8M 0s
   650K .......... .......... .......... .......... .......... 50% 2,47M 0s
   700K .......... .......... .......... .......... .......... 54% 7,65M 0s
   750K .......... .......... .......... .......... .......... 57% 11,6M 0s
   800K .......... .......... .......... .......... .......... 61% 9,83M 0s
   850K .......... .......... .......... .......... .......... 65% 1,30M 0s
   900K .......... .......... .......... .......... .......... 68% 18,0M 0s
   950K .......... .......... .......... .......... .......... 72% 18,1M 0s
  1000K .......... .......... .......... .......... .......... 76% 34,4M 0s
  1050K .......... .......... .......... .......... .......... 79% 11,4M 0s
  1100K .......... .......... .......... .......... .......... 83% 58,6M 0s
  1150K .......... .......... .......... .......... .......... 86% 12,1M 0s
  1200K .......... .......... .......... .......... .......... 90% 31,9M 0s
  1250K .......... .......... .......... .......... .......... 94% 20,0M 0s
  1300K .......... .......... .......... .......... .......... 97% 5,95M 0s
  1350K .......... .......... ..........                      100% 1,88M=0,6s

2020-06-12 19:06:36 (2,44 MB/s) - ‘/tmp/RtmpiukJc8/downloaded_packages/dplR_1.7.1.tar.gz’ saved [1413888/1413888]```
* installing *source* package ‘colorspace’ ...
** package ‘colorspace’ successfully unpacked and MD5 sums checked
** libs
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -O3 -pipe  -g  -c colorspace.c -o colorspace.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -O3 -pipe  -g  -c init.c -o init.o
gcc -std=gnu99 -shared -o colorspace.so colorspace.o init.o -L/usr/lib/R/lib -lR
installing to /home/smonkey/R/x86_64-pc-linux-gnu-library/3.0/colorspace/libs
** R
** data
*** moving datasets to lazyload DB
** demo
** inst
** preparing package for lazy loading
Creating a generic function for ‘plot’ from package ‘graphics’ in package ‘colorspace’
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (colorspace)
* installing *source* package ‘fracdiff’ ...
** package ‘fracdiff’ successfully unpacked and MD5 sums checked
** libs
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -O3 -pipe  -g  -c fdcore.c -o fdcore.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -O3 -pipe  -g  -c fdgam.c -o fdgam.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -O3 -pipe  -g  -c fdhess.c -o fdhess.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -O3 -pipe  -g  -c fdmin.c -o fdmin.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -O3 -pipe  -g  -c fdsim.c -o fdsim.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -O3 -pipe  -g  -c init.c -o init.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -O3 -pipe  -g  -c pmult.c -o pmult.o
gcc -std=gnu99 -shared -o fracdiff.so fdcore.o fdgam.o fdhess.o fdmin.o fdsim.o init.o pmult.o -lblas -lgfortran -lm -lquadmath -L/usr/lib/R/lib -lR
installing to /home/smonkey/R/x86_64-pc-linux-gnu-library/3.0/fracdiff/libs
** R
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (fracdiff)
ERROR: dependency ‘zoo’ is not available for package ‘lmtest’
* removing ‘/home/smonkey/R/x86_64-pc-linux-gnu-library/3.0/lmtest’
Warning in install.packages :
  installation of package ‘lmtest’ had non-zero exit status
* installing *source* package ‘magrittr’ ...
** package ‘magrittr’ successfully unpacked and MD5 sums checked
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (magrittr)
* installing *source* package ‘timeDate’ ...
** package ‘timeDate’ successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
Creating a generic function for ‘sample’ from package ‘base’ in package ‘timeDate’
Creating a generic function for ‘months’ from package ‘base’ in package ‘timeDate’
Creating a generic function for ‘julian’ from package ‘base’ in package ‘timeDate’
Creating a generic function for ‘getDataPart’ from package ‘methods’ in package ‘timeDate’
Creating a generic function for ‘plot’ from package ‘graphics’ in package ‘timeDate’
Creating a generic function for ‘points’ from package ‘graphics’ in package ‘timeDate’
Creating a generic function for ‘lines’ from package ‘graphics’ in package ‘timeDate’
Creating a generic function for ‘abline’ from package ‘graphics’ in package ‘timeDate’
Creating a generic function for ‘frequency’ from package ‘stats’ in package ‘timeDate’
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (timeDate)
ERROR: dependencies ‘quadprog’, ‘zoo’, ‘quantmod’ are not available for package ‘tseries’
* removing ‘/home/smonkey/R/x86_64-pc-linux-gnu-library/3.0/tseries’
Warning in install.packages :
  installation of package ‘tseries’ had non-zero exit status
* installing *source* package ‘urca’ ...
** package ‘urca’ successfully unpacked and MD5 sums checked
** libs
gfortran   -fpic  -O3 -pipe  -g  -c UnitRootMacKinnon.f -o UnitRootMacKinnon.o
gcc -std=gnu99 -shared -o urca.so UnitRootMacKinnon.o -llapack -lblas -lgfortran -lm -lquadmath -lgfortran -lm -lquadmath -L/usr/lib/R/lib -lR
installing to /home/smonkey/R/x86_64-pc-linux-gnu-library/3.0/urca/libs
** R
** data
** inst
** preparing package for lazy loading
Creating a generic function for ‘plot’ from package ‘graphics’ in package ‘urca’
Creating a generic function for ‘summary’ from package ‘base’ in package ‘urca’
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (urca)
* installing *source* package ‘filehash’ ...
** package ‘filehash’ successfully unpacked and MD5 sums checked
** libs
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -O3 -pipe  -g  -c hash.c -o hash.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -O3 -pipe  -g  -c init.c -o init.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -O3 -pipe  -g  -c lockfile.c -o lockfile.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -O3 -pipe  -g  -c readKeyMap.c -o readKeyMap.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -O3 -pipe  -g  -c sha1.c -o sha1.o
gcc -std=gnu99 -shared -o filehash.so hash.o init.o lockfile.o readKeyMap.o sha1.o -L/usr/lib/R/lib -lR
installing to /home/smonkey/R/x86_64-pc-linux-gnu-library/3.0/filehash/libs
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (filehash)
* installing *source* package ‘Cairo’ ...
** package ‘Cairo’ successfully unpacked and MD5 sums checked
checking for gcc... gcc -std=gnu99
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -std=gnu99 accepts -g... yes
checking for gcc -std=gnu99 option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for pkg-config... /usr/bin/pkg-config
checking whether pkg-config knows about cairo... no
configure: CAIRO_LIBS is unset, attempting to guess it.
configure: CAIRO_CFLAGS=
checking if R was compiled with the RConn patch... no
checking cairo.h usability... no
checking cairo.h presence... no
checking for cairo.h... no
configure: error: Cannot find cairo.h! Please install cairo (http://www.cairographics.org/) and/or set CAIRO_CFLAGS/LIBS correspondingly.
ERROR: configuration failed for package ‘Cairo’
* removing ‘/home/smonkey/R/x86_64-pc-linux-gnu-library/3.0/Cairo’
Warning in install.packages :
  installation of package ‘Cairo’ had non-zero exit status
* installing *source* package ‘dichromat’ ...
** package ‘dichromat’ successfully unpacked and MD5 sums checked
** R
** data
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (dichromat)
* installing *source* package ‘iterators’ ...
** package ‘iterators’ successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (iterators)
* installing *source* package ‘RColorBrewer’ ...
** package ‘RColorBrewer’ successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (RColorBrewer)
* installing *source* package ‘waveslim’ ...
** package ‘waveslim’ successfully unpacked and MD5 sums checked
** libs
gfortran   -fpic  -O3 -pipe  -g  -c bell-p-w.f -o bell-p-w.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -O3 -pipe  -g  -c dwt.c -o dwt.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -O3 -pipe  -g  -c dwt2.c -o dwt2.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -O3 -pipe  -g  -c dwt3.c -o dwt3.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -O3 -pipe  -g  -c hosking.c -o hosking.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -O3 -pipe  -g  -c init.c -o init.o
gcc -std=gnu99 -shared -o waveslim.so bell-p-w.o dwt.o dwt2.o dwt3.o hosking.o init.o -lgfortran -lm -lquadmath -L/usr/lib/R/lib -lR
installing to /home/smonkey/R/x86_64-pc-linux-gnu-library/3.0/waveslim/libs
** R
** data
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (waveslim)
ERROR: dependencies ‘digest’, ‘stringr’, ‘plyr’ are not available for package ‘dplR’
* removing ‘/home/smonkey/R/x86_64-pc-linux-gnu-library/3.0/dplR’
Warning in install.packages :
  installation of package ‘dplR’ had non-zero exit status
* installing *source* package ‘foreach’ ...
** package ‘foreach’ successfully unpacked and MD5 sums checked
** R
** demo
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (foreach)
ERROR: dependencies ‘ggplot2’, ‘lmtest’, ‘tseries’, ‘zoo’, ‘RcppArmadillo’ are not available for package ‘forecast’
* removing ‘/home/smonkey/R/x86_64-pc-linux-gnu-library/3.0/forecast’
Warning in install.packages :
  installation of package ‘forecast’ had non-zero exit status
* installing *source* package ‘tikzDevice’ ...
** package ‘tikzDevice’ successfully unpacked and MD5 sums checked
** libs
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -O3 -pipe  -g  -c init.c -o init.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -O3 -pipe  -g  -c tikzDevice.c -o tikzDevice.o
gcc -std=gnu99 -shared -o tikzDevice.so init.o tikzDevice.o -L/usr/lib/R/lib -lR
installing to /home/smonkey/R/x86_64-pc-linux-gnu-library/3.0/tikzDevice/libs
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (tikzDevice)

The R version you are using is too old and some of the package dependencies are not available for it. You would need to update your R version on order to install these packages (current version 4.0.1).

How do I update? When I click the "update"-button in RStudio it tells me that everything is updated?

Rstudio is an IDE for the R programming language, but R is a separate software. Since Linux Mint is based on Ubuntu I think you can follow the official installation instructions for Ubuntu.

https://cran.r-project.org/bin/linux/ubuntu/

It's strange: it tells me that the latest version is already installed :thinking:

Hey, @mr.raccoon

This does not seem quite right--I suspect you are getting confirmation you have the most updated version of RStudio.

Look at the console to determine what version of R you are usingScreenshot 2020-06-14 at 10.00.05 PM

What I found confusing using R with linux is that the base- R in the main repository is far behind. You have to get Base-R and updates from a specific repo.

You may find this post helpful.

Also here from a mint forum.

Once you get the updated version of base R you can most likely update the required packages.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.