Options

R extension

pvelandopvelando Member Posts: 5 Contributor II
edited August 2019 in Help
Hi,

I've just installed the R extension. Looks very promising.
In my R console I have installed the "tm" package and would like to use its libraries and functions in RapidMiner. Any one knows how to call or install these libraries and functions in my RM Studio?

Thanks!
Tagged:

Answers

  • Options
    awchisholmawchisholm RapidMiner Certified Expert, Member Posts: 458 Unicorn
    Hello

    You need to install the R extension. Once you have, from within the RMStudio R console type the following (select a mirror site during the first step)

    install.packages("tm")
    library(tm)

    This will make the tm functions available.

    For example, typing this will load one of the built in text corpora.

    data("acq")
    str(acq)


    regards

    Andrew

Sign In or Register to comment.