[R] Command line r
peter dalgaard
pdalgd at gmail.com
Wed Oct 2 13:04:04 CEST 2013
On Oct 2, 2013, at 11:07 , C.H. wrote:
> Have a look at the littler.
>
> http://dirk.eddelbuettel.com/code/littler.html
>
Or Rscript (comes standard with R) for that matter:
$ echo '2+2' | Rscript -
[1] 4
-pd
> On Sun, Sep 29, 2013 at 3:36 AM, Tomek R <rtomek at outlook.com> wrote:
>> Hi,
>> I have found myself often doing simple statistical analysis using Linux command line on a single dataset. Therefore, I put a perl script together, which makes it easier:https://github.com/religa/statshttps://github.com/religa/stats/blob/master/r
>> The idea behind simpleR is that it becomes a standard part of any Linux pipe.
>> For example, to get a summary of your data, one would have to type: 'r summary file.txt'; to plot it: 'r -p file.txt'; to calculate sum of numbers from 1 to 100: 'seq 1 100 | r sum -';
>> I tried to test it under Linux / Mac, including various types of pipes and redirects. I am looking forward to your comments on how to improve it.
>> Tomek
>>
>>
>> [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help at r-project.org 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.
>
> ______________________________________________
> R-help at r-project.org 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.
--
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
More information about the R-help
mailing list