linux – 在Ubuntu 13.10上查找Rserve Rconfig文件
作者:互联网
文档说它应该位于/etc/Rserv.conf中,在我的情况下不使用Ubuntu 13.10.
当我运行sudo find /’Rserv.conf’或sudo find /’* Rserv.conf’时,它不返回这样的文件.
但Rserve工作正常.
我对linux很陌生,所以也许我在搞乱这里的东西.
我在哪里以及如何找到此配置文件?
解决方法:
默认情况下没有安装配置文件,函数run.RServe只在/etc/Rserv.conf位置查找文件.
组态
Rserve is configured by the configuration file /etc/Rserv.conf (can be
changed at compile time by specifying -DCONFIG_FILE=..). Additional
configuration files can be added by the –RS-conf command line
argument. The possible configuration entries are as follows (all
entries are optional; default values are in angled brackets):
workdir <path> [/tmp/Rserv]
pwdfile <file> [none=disabled]
remote enable|disable [disable]
auth required|disable [disable]
plaintext enable|disable [disable]
fileio enable|disable [enable]
interactive yes|no [yes] (since 0.6-2)
(since version 0.1-9):
socket <socket> [none=disabled]
port <port> [6311]
maxinbuf <size in kb> [262144]
(since version 0.3):
maxsendbuf <size in kb> [0=unlimited]
uid <uid> [none]
gid <gid> [none]
su now|server|client [none] (since 0.6-1)
(since version 0.3-16):
source <file>
eval <expressions>
(since version 0.5 and unix only):
chroot <directory> [none]
sockmod <mode> [0=default]
umask <mask> [0]
(since version 0.5-3):
encoding native|utf8|latin1 [native]
(since version 0.6-2):
Since 0.5 the following configuration options can use either
hexadecimal (0x..), octal (0..) or decimal values: port, uid, gid,
umask and sockmode. All other options and command-line options always
assume decimal notation.
标签:r,linux,ubuntu,configuration-files,rserve 来源: https://codeday.me/bug/20190831/1774609.html