Support Questions

Find answers, ask questions, and share your expertise

CDP Public - install R and SparkR

avatar
Contributor

Hi,

is there any documentation to install R and SparkR in a gateway node of a DataHub?

I have CM 7.5.2 and a CDP Public subscription.

Spark version currently configured:

spark 2.4.8
spark 3.1.2

 

Thank you

Andrea

1 ACCEPTED SOLUTION

avatar
Master Collaborator

Hi Andrea,

 

There is not much different from how you would install R and SparkR on any other host. The steps to install would be the same. How that R runtime integrates with CDP DataHub would need to be configured after the installation.  Instead of SparkR, I would actually recommend you use sparklyr, as it's more compatible with Spark. 

 

Regards,

Alex

View solution in original post

2 REPLIES 2

avatar
Master Collaborator

Hi Andrea,

 

There is not much different from how you would install R and SparkR on any other host. The steps to install would be the same. How that R runtime integrates with CDP DataHub would need to be configured after the installation.  Instead of SparkR, I would actually recommend you use sparklyr, as it's more compatible with Spark. 

 

Regards,

Alex

avatar
Contributor

Hi Alex,

thank you for having confirmed that. I'll proceed as you suggest.

Regards

Andrea