Artificial Intelligence and Machine Learning Discussions
Engage in AI and ML discussions. Collaborate on innovative solutions, explore SAP's AI innovations, and discuss use cases, challenges, and future possibilities.
cancel
Showing results for 
Search instead for 
Did you mean: 

Installation of R machine learning client for SAP HANA

thomasyuan
Explorer
0 Kudos

I have been trying to install hana.ml.r following the instruction at help.sap.com:

https://help.sap.com/doc/c48739beb06a4304a98e44b4d5b60a50/2.0.05/en-US/hana.ml.r/html/00Index.html

However the command install.packages("hana.ml.r") returned:

"package ‘hana.ml.r’ is not available for this version of R"

And CRAN repository doesn't seem to have hana.ml.r, either:

https://cran.r-project.org/web/packages/available_packages_by_name.html

Anyone who has been successful on this recently?

P.S. I know the other way to install it is extracting the .gz file from HANA Client package and install the local file. But installing from CRAN should work according to the help page, and it is much more preferable, isn't it?

1 ACCEPTED SOLUTION

xinchen
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Thomas,

Thank you for your questions.

Which version of R you are using? I tried R 3.6 and 4.0, there is no problem.

P.S. You are right. The current release channel is HANA Client package only and it is not available on CRAN.

Best Regards,

Xin

View solution in original post

3 REPLIES 3

xinchen
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Thomas,

Thank you for your questions.

Which version of R you are using? I tried R 3.6 and 4.0, there is no problem.

P.S. You are right. The current release channel is HANA Client package only and it is not available on CRAN.

Best Regards,

Xin

0 Kudos

Thank you Chen Xin. I have no problem running the library, if it is installed through a local file.

However I was under the impression that the package had been available on CRAN. Because according the link https://help.sap.com/doc/c48739beb06a4304a98e44b4d5b60a50/2.0.05/en-US/hana.ml.r/html/00Index.html , it can be installed through command:

install.packages("hana.ml.r")

Thanks for clarification anyway!

xinchen
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Thomas,

Thank you for your reply!

I will update the installation documentation.

Thank you!

Bye for now,

Xin