[R] would be nice ...

Jan de Leeuw deleeuw at stat.ucla.edu
Tue Feb 24 09:52:51 CET 2004


if R had something like

 > python -c "print(sum([1,2,3]));print(3*2)"
6
6

but I guess the only way to do this is by writing the string to
a tmp file and then doing something like "R CMD BATCH --quiet"
on the tmp file

I would like to use this for an R service, which allows you to
select any string in any application and replace it by its
R evaluation

===
Jan de Leeuw; Professor and Chair, UCLA Department of Statistics;
Editor: Journal of Multivariate Analysis, Journal of Statistical  
Software
US mail: 8130 Math Sciences Bldg, Box 951554, Los Angeles, CA 90095-1554
phone (310)-825-9550;  fax (310)-206-5658;  email: deleeuw at stat.ucla.edu
homepage: http://gifi.stat.ucla.edu
   
------------------------------------------------------------------------ 
-------------------------
           No matter where you go, there you are. --- Buckaroo Banzai
                    http://gifi.stat.ucla.edu/sounds/nomatter.au




More information about the R-help mailing list