在ubuntu下停止或重新启动R CMD Rserve
问题描述:
其实我想停止Rserve或重启它 我已经看过这个How to close Rserve from the command line但我想如果我杀了它,它会关闭它,我不能再启动它。在ubuntu下停止或重新启动R CMD Rserve
我只想刷新它,以便它能识别我安装或升级的软件包。 当我尝试如下运行:
R CMD Rserve
R version 3.3.3 (2017-03-06) -- "Another Canoe"
Copyright (C) 2017 The R Foundation for Statistical Computing
Platform: x86_64-pc-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.
Rserv started in daemon mode.
##> SOCK_ERROR: bind error #98(address already in use)
我得到这个错误,有谁知道我应该怎么办呢?
注意,在Ubuntu这个命令行不起作用
R CMD something
感谢
答
“地址已在使用”意味着你有Rserve
在同一端口上已经运行。关机Rserve
最简单的方法是通过
killall -INT Rserve
一旦它的下跌,你可以再次使用R CMD Rserve
启动它。
谢谢西蒙,这样我们不会永远杀死它吧?我们暂时关闭它 – nik