Is there a way to run R from SAS or JMP? How to integrate R with SAS?
You need SAS/IML . Post it at IML forum, @Rick will tell you how to do it .
Or Check IML documentation, where also explain how to do it .
You can also submit R code from JMP using the JMP Scripting Language (JSL).
This post also shows a nice solution to execute R from SAS:
check the link below: