cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
Get the free JMP Student Edition for qualified students and instructors at degree granting institutions.
Choose Language Hide Translation Bar
View Original Published Thread

Using R script in JMP

ChrisLooi
Level III

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