Rev 2322 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
.TH R 1.SH NAMER \- a language for data analysis and graphics.SH SYNOPSIS.B R[.I options][<.I infile][>.I outfile].SH DESCRIPTIONR is a language which bears a passing resemblance to the S languagedeveloped at AT&T Bell Laboratories.It provides support for a variety of statistical and graphical analyses.R is a true computer language which contains a numberof control-flow constructions for iteration and alternation.It allows users to add additional functionality by definingnew functions..LPOn platforms which support the.BR dlopen (3)interface, Fortran and C code can be linked and called at run time..LPOn systems which have the GNU.BR readline (3)library, R will maintain a command history,so that commands can be recalled, edited andre-executed..SH OPTIONSThe following options allow users to change the amount of memorywhich R uses to store its internal data sets.If possible these sizes should be set so that R does not usemore than the amount of physical memory available on the machinewhere the program is executing.This will minimize paging and ensure that executionis as efficient as possible..TP\fB\-\-vsize\fP \fIn\fPUse a vector heap of size \fIn\fP megabytes (the default is 2)..TP\fB\-\-nsize\fP \fIn\fPThe number of \fIcons cells\fP (each occupying 16 bytes)which R is to use (the default is 200000)..LPThe following options relate to the saving and restoring of a user'sdata sets and functions at startup and termination..TP.B \-\-no\-saveDo not save the data sets at the end of the R session.This is only effective when R is used non-interactively..TP.B \-\-saveDo save data sets..TP.B \-\-no\-restoreDo not restore any previously saved datasets (an \fIimage\fP)..TP.B \-\-restoreDo restore previously saved datasets (this is the default)..LPThe following options are present to support the use ofR from other programs. In particular, the.B \-\-no\-readlineoption exists so that R can be run under.IR emacs (1)and.IR xemacs (1)using ESS..TP.B \-\-no\-readlineTurn off the use of the.IR readline (3)command line editing..TP.B \-\-quiet\fR,\fP \-\-silentDo not print out the initial copyright and welcome messages..TP.B \-\-slaveMake R run as quietly as possible. This option is intended to supportprograms which use R to compute results for them..LPThe following options are available so that the R developers can carrydebugging..TP.B \-\-debugger \fIname\fPRun R under the control of the debugger named.IR "name".May be abbreviated to \fB-d\fP..TP.B \-\-verbosePrint more information about progress..LPStartup processing (see also below) is controlled by the followingoptions..TP.B \-\-no\-site\-fileDo not load the site-wide startup profile..TP.B \-\-no\-init\-fileDo not load the user's \fB.Rprofile\fR..LPFinally, the following options produce informative output..TP.B \-\-helpPrint some useful usage information and exit.May be abbreviated to \fB-h\fP..TP.B \-\-versionPrint the version number and exit..SH STARTUP PROCESSINGWhen R is invoked, it first searches for the site-wide startup profileunless.B \-\-no\-site\-filewas given. The name of this file is taken from the value of the.B RPROFILEenvironment variable. If that variable is unset, the default is\fIRHOME/etc/Rprofile\fP.Unless.B \-\-no\-init\-filewas given, R then searches for the files.B .Rprofileand.B ~/.Rprofile(in that order) and executes any statements in the first of these filesto be found.Finally, if a user has defined a function called.BR \&.First ,it will be invoked.After these steps, an read-eval-print loop is runfor user input..SH FILES.PD 0.TP 12\&.RDatasaved data sets..TP\&.Rhistorysaved command history..TP\&.Rprofilecurrent directory startup file..TP\&~/.Rprofilehome directory startup file..PD.SH SEE ALSO.BR S (1) ,.BR Splus (1),.BR readline (3)..SH BUGSR is very close to S in both syntax and semantics, but is not identical.Whether this is a bug or feature is an open question.