error in installing ROI PACKAGE

Im unable to install ROI package on r, it shows this error
Warning in install.packages :
dependency ‘slam’ is not available

There is a binary version available but the source version is later:
binary source needs_compilation
ROI 0.3-0 0.3-2 FALSE

installing the source package ‘ROI’

trying URL ''
Content type 'application/x-gzip' length 110622 bytes (108 KB)

downloaded 108 KB

Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'zone/tz/2019a.1.0/zoneinfo/America/Los_Angeles'
ERROR: dependency ‘slam’ is not available for package ‘ROI’

  • removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/ROI’
    Warning in install.packages :
    installation of package ‘ROI’ had non-zero exit status

The downloaded source packages are in

You are missing this dependency, you would have to install it with


But there is an additional problem, it seems like you are using R 3.3, and slam package requires R >= 3.4.0, you would need to update R in order to begin able to install it.

Thank you for your response :smile:
It took me some time to figure out that i need to update R in order to install slam.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.