Hi,

Is it possible to run R in command line to evalute R expressions
and return results to stdout, something like

>R CMD -e "R.version$minor"
then you got return
>"8.1"

Or do a simple calculation
>R CMD -e "sin(1.2)"
>0.932039

Thanks.

--
Pingping Zheng
Department of Mathematics and Statistics
Fylde College
Lancaster University
Lancaster LA1 4YF
UK

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to