Package getcartr Installation Problems

المشرف العام

Administrator
طاقم الإدارة
I want to build a cartogram by following this tutorial.

The first thing I did, I spent the R-R-3.1.1 version 3.1.2 then I did the following:

library(devtools); install_github('chrisbrunsdon/getcartr', subdir='getcartr') I got the following error:

Warning in install.packages: package 'getcartr' is not available (for R Version 3.1.2) Can anyone help me how I can please install it?

EDit:

after installing Ubuntu on a virtual machine, I tried to install the package Rcartogram as follows:

install.packages ("/ home / zina / Downloads / Rcartogram_0.2-2.tar.gz" rest = NULL, type = "source") here I copy you the error that I received

install.packages("/home/zina/Téléchargements/Rcartogram_0.2-2.tar.gz", repos = NULL, type="source") Installing package into ‘/home/zina/R/i686-pc-linux-gnu-library/3.0’ (as ‘lib’ is unspecified) * installing source package ‘Rcartogram’ ... checking for pkg-config... /usr/bin/pkg-config Package fftw3 was not found in the pkg-config search path. Perhaps you should add the directory containing fftw3.pc' to the PKG_CONFIG_PATH environment variable No package 'fftw3' found Package fftw3 was not found in the pkg-config search path. Perhaps you should add the directory containingfftw3.pc' to the PKG_CONFIG_PATH environment variable No package 'fftw3' found Looking for fftw3 files in /usr/local Cannot find fftw.h ERROR: configuration failed for package ‘Rcartogram’ * removing ‘/home/zina/R/i686-pc-linux-gnu-library/3.0/Rcartogram’ Warning in install.packages : installation of package ‘/home/zina/Téléchargements/Rcartogram_0.2-2.tar.gz’ had non-zero exit status

help me please



أكثر...
 
أعلى