How to Keep R session alive between several web pages

571 Views Asked by At

I am Using R integrated with PHP web application. I am using exec command that runs my R script, each time I run a the script rscript need to load a library which takes 10 seconds to load. making the response of the request time taking. Is there any way using R with web(PHP) to have R session active with library loaded for each user active session. By this user will be using the same R script with different input again and again and I don't want the library to be loaded again and again for each request.

0

There are 0 best solutions below