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:

You will need to have R installed, of course.


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

Excelllent thanks I will give it a try.