Skip to Main Content

Data Science & Machine Learning

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Non-zero exit status when installing packages on R(studio)

3328019Oct 11 2016 — edited Oct 17 2016

I can't install packages in R(studio) in the cloud.

When I say

install.packages("tidyr") 

on Rstudio, I get the following output:

> install.packages("tidyr")
Installing package into ‘/home/username/R/x86_64-unknown-linux-gnu-library/3.1’
(as ‘lib’ is unspecified)
Warning in install.packages :

  dependencies ‘tibble’, ‘dplyr’ are not available

trying URL 'http://ftp5.gwdg.de/pub/misc/cran/src/contrib/tidyr_0.6.0.tar.gz'
Content type 'application/x-gzip' length 345733 bytes (337 Kb)
opened URL
==================================================
downloaded 337 Kb

ERROR: dependencies ‘tibble’, ‘dplyr’ are not available for package ‘tidyr’
* removing ‘/home/username/R/x86_64-unknown-linux-gnu-library/3.1/tidyr’
Warning in install.packages :

  installation of package ‘tidyr’ had non-zero exit status

The downloaded source packages are in

‘/tmp/RtmpWh0ywX/downloaded_packages’

I can't install packages in R(studio). The weird thing is that I have downloaded the big data lite (4.4) image and can install packages without any errors. So it should also work in the cloud. Some packages like tseries or colorspace can be installed, but others can't. Why?

I have tried the following:

- Manually installation of the package

- Checked nearly every page on stackoverflow regarding this problem

- yum install libcurl-devel

Below is the version information

> version
  _ 

platform x86_64-unknown-linux-gnu 

arch x86_64 

os linux-gnu 

system x86_64, linux-gnu 

status 

major 3 

minor 1.1 

year 

month 

day 

svn rev -99 

language R 

version.string Oracle Distribution of R version 3.1.1 (--)

nickname Sock it to Me

Any help is appreciated as I am trying to solve this problem for days now.

Best regards

This post has been answered by Sherry Lamonica-Oracle on Oct 14 2016
Jump to Answer

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 14 2016
Added on Oct 11 2016
8 comments
20,299 views