Skip to main content
andrea_pretotto
Silver ⭐️⭐️⭐️
May 16, 2022 10:10 AM UTC
Solved

CDP Public - install R and SparkR

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

aakulov
aakulovAnswer
Platinum ⭐️
May 18, 2022 3:42 AM UTC

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

2 replies

aakulov
Platinum ⭐️
aakulovAnswer
Platinum ⭐️
May 18, 2022 3:42 AM UTC

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

Translate
andrea_pretotto
Silver ⭐️⭐️⭐️
May 20, 2022 6:32 AM UTC

Hi Alex,

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

Regards

Andrea

Translate