Dear Duncan

On Fri, 06 Aug 2010 18:46:55 -0400
Duncan Murdoch <[email protected]> wrote:
> You can run a single R command from the command line using the -e
> option, so
> 
> R -e "brew::brew('featurefull.brew')"
> 
> (or some variation on that, depending on how your shell handles
> quotes) will run that one command.  Use R --help to see other
> options, e.g. to suppress the banner, etc.
> 
Thank you for the suggestion. Just tried from the command line and it
seems to work. I'm slightly puzzled, however, that this option is not
documented in R --help or man R: 
li...@debian-liv:~$ R --help | grep -i "\-e"
  --encoding=ENC        Specify encoding to be used for stdin
  --no-environ          Don't read the site and user environment files
                        --no-init-file and --no-environ
  LINK                  Front-end for creating executable programs

I'm running 2.10.1. Thanks again
Liviu

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to