Error installing leaflet package for R in ubuntu -


i can't install leaflet packages r in ubuntu. i've correctly install r , able install other packages "rcurl" cannot install leaflet... here output :

install.packages("leaflet",dep=t) installing package ‘/usr/local/lib/r/site-library’ (as ‘lib’ unspecified) warning: dependency ‘plyr’ not available installing dependencies ‘scales’, ‘rgdal’  trying url 'http://cran.univ-lyon1.fr/src/contrib/scales_0.3.0.tar.gz' content type 'application/x-gzip' length 57030 bytes (55 kb) opened url ================================================== downloaded 55 kb  trying url 'http://cran.univ-lyon1.fr/src/contrib/rgdal_1.1-3.tar.gz' content type 'application/x-gzip' length 1647483 bytes (1.6 mb) opened url ================================================== downloaded 1.6 mb  trying url 'http://cran.univ-lyon1.fr/src/contrib/leaflet_1.0.0.tar.gz' content type 'application/x-gzip' length 401681 bytes (392 kb) opened url ================================================== downloaded 392 kb  error: dependency ‘plyr’ not available package ‘scales’ * removing ‘/usr/local/lib/r/site-library/scales’ * installing *source* package ‘rgdal’ ... ** package ‘rgdal’ unpacked , md5 sums checked configure: cc: gcc -std=gnu99 configure: cxx: g++ configure: rgdal: 1.1-3 checking /usr/bin/svnversion... no configure: svn revision: 594 checking gdal-config... no no configure: error: gdal-config not found or not executable. error: configuration failed package ‘rgdal’ * removing ‘/usr/local/lib/r/site-library/rgdal’ error: dependency ‘scales’ not available package ‘leaflet’ * removing ‘/usr/local/lib/r/site-library/leaflet’  downloaded source packages in     ‘/tmp/rtmp9c0ncq/downloaded_packages’ warning messages: 1: in install.packages("leaflet", dep = t) :   installation of package ‘scales’ had non-zero exit status 2: in install.packages("leaflet", dep = t) :   installation of package ‘rgdal’ had non-zero exit status 3: in install.packages("leaflet", dep = t) :   installation of package ‘leaflet’ had non-zero exit status 

it looks dependencies problem did try install install.packages("leaflet",dep=t). have idea ?


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

android - Keyboard hides my half of edit-text and button below it even in scroll view -