t-redactyl / Blog-posts

A place for draft blog posts before deploying onto the website
1 stars 4 forks source link

install.packages("ranger") #1

Open manojraib opened 6 years ago

manojraib commented 6 years ago

when i am trying to execute i am getting the below error .

install.packages("ranger")

Multithreaded BLAS/LAPACK libraries detected. Using 8 cores for math algorithms.

The downloaded source packages are in ‘/tmp/RtmpSnq9pe/downloaded_packages’ Warning message: In install.packages("ranger") : installation of package ‘ranger’ had non-zero exit status

manojraib commented 6 years ago

platform x86_64-pc-linux-gnu arch x86_64 os linux-gnu system x86_64, linux-gnu status major 3 minor 2.2 year 2015 month 08 day 14 svn rev 69053 language R version.string R version 3.2.2 (2015-08-14) nickname Fire Safety

manojraib commented 6 years ago

i am not able to install the package .Need help on the same

t-redactyl commented 6 years ago

Hi,

I'm not 100% sure if this is your issue, but it looks like your version of gcc might be too old to support this package. It looks similar to this issue, and is an issue I have had with R packages like ranger that rely on gcc: https://github.com/imbs-hl/ranger/issues/47

I'd recommend upgrading gcc and seeing whether that works.