如何启动预加载库的RServe [英] How to Start RServe pre-loaded with library
本文介绍了如何启动预加载库的RServe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
每次创建新的RConnection时,我都需要加载一个库.启动RServe时是否可以预加载它?
I need to load a library every time I am making a new RConnection. Is it possible to have it pre-loaded when I start RServe?
每当新的RConnection使其变慢时就加载它.
Loading it every time a new RConnection is making it slower.
推荐答案
是的,您可以使用eval
或source
配置选项或--RS-source <file>
命令行选项.您以这种方式加载的所有内容都会在开始侦听连接之前预先加载到服务器中.
Yes, you can use eval
or source
configuration options or --RS-source <file>
command line option. Anything you load this way is pre-loaded into the server before it starts listening for connections.
这篇关于如何启动预加载库的RServe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文