<分区>
我想使用如下所示的 Rprofile.site 启动 Rserve
.First <- function(){
library(Rserve)
Rserve(args="--RS-conf /usr/lib64/R/etc/Rserv.conf")
source("/usr/lib64/R/etc/InvestorToolBox.R")
}
但是出于某些原因,当我运行 R 时,它会进入一个循环,在该循环中它继续运行 Rserve 实例,如屏幕截图所示
Starting Rserve: /usr/lib64/R/bin/R CMD /usr/lib64/R/library/Rserve/libs//Rserve --RS->conf /usr/lib64/R/etc/ Rserv.conf
R version 3.2.3 (2015-12-10) -- "Wooden Christmas-Tree" Copyright (C) 2015 The R Foundation for Statistical Computing Platform: x86_64-redhat-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R.
Starting Rserve: /usr/lib64/R/bin/R CMD /usr/lib64/R/library/Rserve/libs//Rserve --RS->conf /usr/lib64/R/etc/ Rserv.conf
R version 3.2.3 (2015-12-10) -- "Wooden Christmas-Tree" Copyright (C) 2015 The R Foundation for Statistical Computing Platform: x86_64-redhat-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R.
Starting Rserve: /usr/lib64/R/bin/R CMD /usr/lib64/R/library/Rserve/libs//Rserve --RS-
conf /usr/lib64/R/etc/ Rserv.conf
你能告诉我为什么或我做错了什么吗?