| Line 1... |
Line 1... |
| 1 |
R FAQ
|
1 |
R FAQ
|
| 2 |
Frequently Asked Questions on R
|
2 |
Frequently Asked Questions on R
|
| 3 |
Version 1.3-17, 2001-08-10
|
3 |
Version 1.3-18, 2001-08-11
|
| 4 |
Kurt Hornik
|
4 |
Kurt Hornik
|
| 5 |
|
5 |
|
| 6 |
|
6 |
|
| 7 |
Table of Contents
|
7 |
Table of Contents
|
| 8 |
*****************
|
8 |
*****************
|
| Line 890... |
Line 890... |
| 890 |
In R, the startup mechanism is as follows. R first sources the system
|
890 |
In R, the startup mechanism is as follows. R first sources the system
|
| 891 |
startup file ``$R_HOME'/library/base/R/Rprofile'. Then, it searches
|
891 |
startup file ``$R_HOME'/library/base/R/Rprofile'. Then, it searches
|
| 892 |
for a site-wide startup profile unless the command line option
|
892 |
for a site-wide startup profile unless the command line option
|
| 893 |
`--no-site-file' was given. The name of this file is taken from the
|
893 |
`--no-site-file' was given. The name of this file is taken from the
|
| 894 |
value of the `R_PROFILE' environment variable. If that variable is
|
894 |
value of the `R_PROFILE' environment variable. If that variable is
|
| 895 |
unset, the default is ``$R_HOME'/etc/Rprofile'. This code is loaded
|
895 |
unset, the default is ``$R_HOME'/etc/Rprofile'
|
| - |
|
896 |
(``$R_HOME'/etc/Rprofile.site' in R 1.4.0). </FIXME> This code is
|
| 896 |
in package *base*. Then, unless `--no-init-file' was given, R
|
897 |
loaded in package *base*. Then, unless `--no-init-file' was given, R
|
| 897 |
searches for a file called `.Rprofile' in the current directory or in
|
898 |
searches for a file called `.Rprofile' in the current directory or in
|
| 898 |
the user's home directory (in that order) and sources it into the user
|
899 |
the user's home directory (in that order) and sources it into the user
|
| 899 |
workspace. It then loads a saved image of the user workspace from
|
900 |
workspace. It then loads a saved image of the user workspace from
|
| 900 |
`.RData' in case there is one (unless `--no-restore' was specified).
|
901 |
`.RData' in case there is one (unless `--no-restore' was specified).
|
| 901 |
If needed, the functions `.First()' and `.Last()' should be defined in
|
902 |
If needed, the functions `.First()' and `.Last()' should be defined in
|