cancel
Showing results for 
Search instead for 
Did you mean: 

Calling Functions written in Rgui(in R language) into SAP HANA

former_member258682
Participant
0 Kudos

Hi Friends,

Can someone tell me how can I call a function that I wrote in RStudio/RGui  into SAP HANA Procedure?

I have tried writing Procedure in R language that worked, but I wanted to Know can I call functions from RStudio/RGui into SAP HANA?

Waiting eagerly for your replies.

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

pfefferf
Active Contributor
0 Kudos

Hello Saarthak,

you have to package your R function in an R library and deploy it to your Rserve which is connected to your HANA system. Within the R-Language procedure then you are able to use the library/function.

Regards,

Florian

former_member258682
Participant
0 Kudos


Hi Sir,

Thanks a lott for replying.

I am working in RGui, can you tell me how can I do this ?

" package R function in an R library ".

I will be really thankfull.

pfefferf
Active Contributor
0 Kudos

You can check guide https://cran.r-project.org/doc/contrib/Leisch-CreatingPackages.pdf, especially chapter 5.

Regards,

Florian

Answers (0)