Useful functions to connect to 'TM1' < https://www.ibm.com/uk-en/products/planning-and-analytics> instance from R via REST API. With the functions in the package, data can be imported from 'TM1' via mdx view or native view, data can be sent to 'TM1', processes and chores can be executed, and cube and dimension metadata information can be taken.

Useful functions to connect to 'TM1' https://www.ibm.com/uk-en/products/planning-and-analytics instance from R via REST API.
install.packages("tm1r")
Start with creating a connection object with tm1_connection function.
Then send this object to any other function that you want to work with.