Calling R script

Is there a way to call R from Xojo?

the shell class should make this possible

there may be other ways

I have modified one of the examples that comes with Xojo and tried it on my end and I could run my own R scripts. Here is the project: https://www.dropbox.com/s/81ak33ko1m52bg1/ModifiedAsyncShellExample.xojo_binary_project?dl=0

You will need to have R installed, of course.

Julen

EDIT: I used the shell class, as Norman mentioned before.

Excelllent thanks I will give it a try.

Thanks.