cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Zappy
Level III

Using R script in JMP

Dear Community,

 

I have read a past post on this topic regarding using R Init(), R Send()....etc to send data from JMP table and utilize the R to peform the task.

 

However it does not show more in details on how to do it.

 

For example I have a R script attached and would like to use this R Script to run in JMP.

 

How should it be modify or scripted in JSL using those RInit()....etc?

 

Thanks to advise.

 

B.r,

Chris

1 REPLY 1
mlo1
Level IV

Re: Using R script in JMP

Did you check out the R send () and R get () commands to send the parameter and get the result back to and from your function.
The R-Code needs to be part of the R Submit().
There are examples how to structure it in the help files.
You need to check the data types as well.

 

https://www.jmp.com/support/help/en/17.2/?os=win&source=application#page/jmp/conversion-between-jmp-... 

 

https://www.jmp.com/support/help/en/17.2/?os=win&source=application#page/jmp/r-examples.shtml?_gl=1*... 

 

Recommended Articles