2009/2/19 Rolf Turner :
>
>
> Is there a way to detect from within R whether, e.g., R has been
> started with the --no-restore-data flag set? So as to be able
> to invoke code along the following lines:
>
>if( --no-restore-data flag set) {
>do something
>} else {
>
Just after sending my inquiry I found the answer myself:
Use commandArgs().
Duh! Sorry for wasting bandwidth.
cheers,
Rolf Turner
##
Attention:\ This e-mail message is privileged and confid...{{d
Is there a way to detect from within R whether, e.g., R has been
started with the --no-restore-data flag set? So as to be able
to invoke code along the following lines:
if( --no-restore-data flag set) {
do something
} else {
do something else
3 matches
Mail list logo