info(Sinfo=T, Xinfo=F, Xlist=list(), file=tempfile("info."), append=F)
TRUE
, the standard S-PLUS information is collected.
TRUE
, information pertaining to X11 is included.
Xinfo
. If it is supplied, and
Xinfo
is
TRUE
, then
the X11 information is taken from this list and is not prompted for. A
suitable list is available from the
Xinfo
component of the list produced
in a previous call to
info
with argument
Xinfo=TRUE
.
file=""
.
TRUE
, the output is appended on
file
. Useful if
file
contains other S-PLUS output and
info
is used to stamp this.
Sinfo
, and component
Xinfo
if
argument
Xinfo
is
TRUE
.
Sinfo
is
a list of class
Sinfo
with the following components:
Sversion
, containing information about this release of
S-PLUS. See the dataset named
version
.
pid
and
ppid
, containing the process id number of
the main S-PLUS process and of its parent process. These objects are numeric.
Xinfo
is a list of class
Xinfo
with the following components:
hostname
of
Sinfo
.
info
.
info
might be used to stamp a collection of results with
information about the version of S-PLUS which created these. It would also
provide useful details when reporting a problem.
# Collect S-PLUS information, suppress X11 information. # This example was produced on a Sun-4 workstation. info(Xinfo=F) S info saved in /tmp/info.25309 $Sinfo: Version 3.1 Release 1 for Sun SPARC, SunOs 4.x : 1992 hostname: cassandra SHOME: /usr/splus prog.name: /usr/splus/cmd/Sqpe process.id: pid: 18803 ppid: 12404 load.date: Fri Sep 6 09:56:59 PDT 1991 date: Sat Sep 7 15:51:49 PDT 1991 # Assuming the following X11 information never changes, # make a list which we can re-use every time we call <CODE>info</CODE>: my.permanent.Xinfo <- info(Xinfo=T, file="")$Xinfo Machine on which you are running S-PLUS: [cassandra] : Machine on which X-server is running: [ophelia:0.0] : X specification release of this X server: [X11-R4] : G. U. I. (X11, Motif, OpenLook): [X11] : OpenLook Which window manager are you running: [twm] : Machine on which it is running: [<unknown>] : cordelia Version of window manager: [<unknown>] : # Use it: info(Xinfo=T, Xlist=my.permanent.Xinfo)