Skip to content

Commit

Permalink
document background and stop.Rserve()
Browse files Browse the repository at this point in the history
  • Loading branch information
s-u committed Dec 5, 2024
1 parent 057e2a7 commit d25156f
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion man/run.Rserve.Rd
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
\name{run.Rserve}
\alias{run.Rserve}
\alias{stop.Rserve}
\title{
Start Rserve within the current R process.
}
Expand All @@ -11,9 +12,13 @@
\code{run.Rserve} turns the current R session into Rserve. This is only
possible if there are no UI elements or other parts that could
interfere with the prepation of \code{Rserve}.

\code{stop.Rserve} stops currently running background servers.
This only applies to servers started using \code{background=TRUE}.
}
\usage{
run.Rserve(..., config.file = "/etc/Rserve.conf")
run.Rserve(..., config.file = "/etc/Rserve.conf", background = FALSE)
stop.Rserve()
}
%- maybe also 'usage' for other objects documented here.
\arguments{
Expand All @@ -30,6 +35,18 @@ run.Rserve(..., config.file = "/etc/Rserve.conf")
loaded before the above settings and is optional, i.e. if the
file is not present or readable it will be ignored.
}
\item{background}{
logical, the default \code{FALSE} starts the server and does
not return until all servers have been shut down - typically
in response to an interrupt. If this argument is set to
\code{TRUE} then the server is started in teh background of
this R session and control is returned immediately (currently
not supported on Windows). In that case requests will be only
processed if no other computation is running in R, but the
R console can be still used to modify the session.
Such background servers can be stopped with the
\code{stop.Rserve} function.
}
}
%\details{
%}
Expand Down

0 comments on commit d25156f

Please sign in to comment.