Start a Virtuoso ServerSource:
This function will attempt to start a virtuoso server
instance that can be managed completely from R. This allows
the user to easily start, stop, and access server logs and functions
from the R command line. This server will be automatically shut
down when R exits or restarts, or can be explicitly controlled using
path to a virtuoso.ini configuration file. If not provided, function will attempt to determine the location of the default configuration file.
number of seconds to wait for server to come online
invisibly returns the
processx::process() object which can be used
to control the external process from R. It is not necessary for a user
to store this return object, as
vos_start() caches the process object so
it can be automatically accessed by other functions without needing to store
and pass the return object.
It can take some time for the server to come up before it is ready to
vos_start() will return as soon as the server is active,
which typically takes about 10 seconds on tested systems.
the Virtuoso logs every one second for a maximum time of
(default 30 seconds) to see if the server is ready. If
wait time is exceeded,
vos_start() will simply return the current server status. This does not mean
that starting has failed, it may simply need longer before the server is active.
vos_status() to continue to monitor the server status manually.
virtuoso.ini configuration file is provided,
automatically attempt to configure one. For more control over this,
vos_configure(), see examples.