<i>S-PLUS</i> commands. Case sensitivity.



next up previous contents
Next: Recall and correction Up: Introduction and Preliminaries Previous: Getting help with

S-PLUS commands. Case sensitivity.

Technically S-PLUS is a function language with a very simple syntax. It is case sensitive as are most UNIX based packages, so A and a are different variables.

Elementary commands consist of either expressions or assignments. If an expression is given as a command, it is evaluated, printed, and the value is lost. An assignment also evaluates an expression and passes the value to a variable but the result is not printed automatically.

Commands are separated either by a semi-colon, ;, or by a newline. If a command is not complete at the end of a line, S-PLUS will give a different prompt, for example

on second and subsequent lines and continue to read input until the command is syntactically complete. This prompt may also be changed if the user wishes. In these notes we will generally omit the continuation prompt and indicate continuation by simple indenting.



Erik Moledor
Tue Jan 31 21:02:18 EST 1995