AnyLogic simulation how to call R script
anylogic, r
Solution
i'm not sure there is an direct adapter for AnyLogic and R,but all agents in AnyLogic are Java objects so you can call external java (.jar) programs. JRI is a Java/R interface http://rforge.net/JRI/ you can write your R script within JRI then call from AnyLogic
Problem
I need to call a R script from AnyLogic. I have an agent 'sensor' and it is going to send a random file from a specific location to a R script and then the R script will analyze that file and will let us know type of that file (image, sound, text etc) Please let me know how to call a R script from AnyLogic..