Forum Stats

  • 3,760,228 Users
  • 2,251,665 Discussions


how to install R package tm in Oracle BigDataLite VM 4.7

Kevin Zhang
Kevin Zhang Member Posts: 251 Bronze Badge
edited Sep 19, 2017 10:04AM in R Technologies

Hi All:

I am using Oracle BigDataLite VM V4.7. The box come with:

- Oracle R Distribution (ORD) 3.2.0

I am exploring some lab I found on web to do Oracle Text, ORE and Oracle Data Mining.

For "Oracle Text", I need to install CRAN package 'tm'.

when I try install in the R console (command: install.packages('tm')), I received below error:

ERROR: dependency ‘slam’ is not available for package ‘tm’

* removing ‘/u01/app/oracle/product/’

I read multiple threads and still not clear what is the correct step in install 'tm' R package in my VM so that I can proceed.

Can you help?



Christos Iraklis Tsatsoulis

Best Answer

  • Christos Iraklis Tsatsoulis
    Christos Iraklis Tsatsoulis Member Posts: 85 Blue Ribbon
    edited Sep 18, 2017 5:46AM Accepted Answer

    Hi Kevin,

    Sherry is right - here are the exact details:

    The latest version of tm requires slam >= 0.1-37; by default, when R installs package dependencies, it only looks at their current versions - in this case slam 0.1-40, which however is only available for R >= 3.3.1.

    So, here is the exact command for installing slam 0.1-37:





    After which, your tm installation should conclude successfully.

    It turns out that version 0.1-37 is indeed the most recent one you can use (here is the complete list of older versions) - from version 0.1-38 on, slam requires R >= 3.3.1.

    Hope this helps



This discussion has been closed.