1.1 R Environment
It's doable to run on the systems like Windows, Linux and Unix. The most convience-manipulate R is through Graphies interface.
1.2 Interactively
All commands work through a prompt and default prompt are ' > ', which could be the same either on Linux or Windows shell p Rompt.
1.3 Getting Help
R has a build-in help facility. The command is
>help (object)
An alternative is
>?object
If a command is not finished on the end of a line, R would give a default symbol ' + ', and it would read the input from Secon D line or subsequent lines until command was done.
2.1 Numbers and Vectors
R operates on named data structures. The very simplest one is numeric vector. The keyword is ' c ' and assignment operator ' <-'. For-example, to-set-a vector named X, concludes total 3 numbers, namely 1, 2, 3, the command is
> x <-C (1, 2, 3)
Or in the oppsite direction
> C (1, 2, 3) x
Assignment can also is done using the By function ' assign () '.
> Assign ("X", C (1, 2, 3))
2.2 Arithmetic
Just use arithmetic expressions can fulfill the calculation needs. The elementary arithmetic operators is the usual ' +,-, *,/, ^ '. Additional operators includes ' min, max, length, sum, log, exp, sin, cos, tan, sqrt ... '. Symbol "I" for the complex numbers.
R Fundamental 1