How to run R Script in Uipath

Hi, all

I would like to learn how to run R Script in UiPath.
I already installed R.ctivities.

Please tell me in details how to use like sample code etc.

Thanks.

Hi @sungbae.cho

You can see a demo for R.Activities here.

Also please have a look at the below link(Process Mining). It will be helpful.

Thank you.

1 Like

Thanks.

I already saw that video.

It should be filled the value of Path on R Scope like "“C:\Program Files\R\R-4.1.2\bin\i386\R.dll”. And, file of the Run R Script should be “D:\Data_Analyze6.R”.

Is all correct?

That’s correct but one important this is that Activity is not compatible with R versions greater than 3.4.3.

image

The version you used is higher that causing the issue.

You can download R3.4.3 from here.

https://cran.r-project.org/bin/windows/base/old/3.4.3/

Hope this will be helpful. Thank you.

2 Likes

Oh. It was great!!

I can’t use it higher version than 3.4.3?

Thank you so much.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.