是否可以将R作为守护程序运行 [英] is it possible to run R as a daemon

查看:67
本文介绍了是否可以将R作为守护程序运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在R中有一个脚本,白天经常被其他脚本调用。我在终端使用

I have a script in R that is frequently called during the day (by other scripts). I call R in a terminal using

Rscript code.R

我注意到加载程序包和设置R需要很多时间。

I notice it takes a lot of time to load packages and set up R.

是否可以运行R作为我使用端口或其他工具命中的后台服务?

Is it possible to run R as a background service which I hit using a port or something?

推荐答案

是的,请查看 RServe ,由于这个原因,它已经使用了十几年。还有一些相当引人注目的应用程序。

Yes, look into RServe which has been available for over a dozen years for this reason. There are a couple of fairly high profile applications too.

这篇关于是否可以将R作为守护程序运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆