r - Error when installing swirl in RStudio 3.1.2 -


hey tried installing swirl running following command:

install.packages("swirl") 

i got following error:

    ------------------------- anticonf error -------------------------      -- configuration failed because libcurl not found. try installing:  * deb: libcurl4-openssl-dev (debian, ubuntu, etc)  * rpm: libcurl-devel (fedora, centos, rhel)  * csw: libcurl_dev (solaris) if libcurl installed, check 'pkg-config' in path , pkg_config_path contains libcurl.pc file. if pkg-config unavailable can set include_dir , lib_dir manually via: r cmd install --configure-vars='include_dir=... lib_dir=...' -------------------------------------------------------------------- error: configuration failed package ‘curl’ * removing ‘/home/franco/r/x86_64-pc-linux-gnu-library/3.1/curl’ warning in install.packages :   installation of package ‘curl’ had non-zero exit status * installing *source* package ‘rcurl’ ... ** package ‘rcurl’ unpacked , md5 sums checked checking curl-config... no cannot find curl-config error: configuration failed package ‘rcurl’ * removing ‘/home/franco/r/x86_64-pc-linux-gnu-library/3.1/rcurl’ warning in install.packages :   installation of package ‘rcurl’ had non-zero exit status error: dependency ‘curl’ not available package ‘httr’ * removing ‘/home/franco/r/x86_64-pc-linux-gnu-library/3.1/httr’ warning in install.packages :   installation of package ‘httr’ had non-zero exit status error: dependencies ‘httr’, ‘rcurl’ not available package       ‘swirl’ * removing ‘/home/franco/r/x86_64-pc-linux-gnu-library/3.1/swirl’ warning in install.packages :   installation of package ‘swirl’ had non-zero exit status  downloaded source packages in     ‘/tmp/rtmp7g87em/downloaded_packages’ 

i tried installing "curl" , "rcurl" packages got same error messages. don't know how change path directed in anticonf error.

i'm running ubuntu 15.04 , r version 3.1.2 (2014-10-31)

now it's

sudo apt-get install libcurl4-gnutls-dev 

Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -