【问题标题】:Finding Rserve Rconfig file on Ubuntu 13.10在 Ubuntu 13.10 上查找 Rserve Rconfig 文件
【发布时间】:2013-11-28 12:03:05
【问题描述】:

文档说它应该位于/etc/Rserv.conf,在我使用 Ubuntu 13.10 的情况下它不是。

当我运行 sudo find / 'Rserv.conf'sudo find / '*Rserv.conf' 时,它不会返回这样的文件。

但是 Rserve 工作正常。

我对 linux 还很陌生,所以也许我在这里搞砸了。

我在哪里以及如何找到这个配置文件?

【问题讨论】:

    标签: linux r ubuntu configuration-files rserve


    【解决方案1】:

    默认没有安装配置文件,函数run.RServe只是在/etc/Rserv.conf位置查找文件。

    这是来自RForge RServe page

    配置

    Rserve 由配置文件 /etc/Rserv.conf 配置(可以 通过指定 -DCONFIG_FILE=.. 在编译时更改。额外的 配置文件可以通过 --RS-conf 命令行添加 争论。可能的配置条目如下(所有 条目是可选的;默认值在尖括号中):

    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):
    

    从 0.5 开始,以下配置选项可以使用 十六进制 (0x..)、八进制 (0..) 或十进制值:端口、uid、gid、 umask 和 sockmode。所有其他选项和命令行选项始终 假设十进制。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-04-30
      • 2013-10-31
      • 2014-03-09
      • 2013-11-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多