cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
Choose Language Hide Translation Bar
ChrisLooi
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*...