[datatable-help] data.table on the command line

Matthew Dowle mdowle at mdowle.plus.com
Tue Sep 10 17:18:42 CEST 2013


 > May be it is as good as it gets

I'm not sure what you need,  but R can many startup options, and there's 
.Rprofile.
Have you really hunted hard?

On 10/09/13 16:11, statquant3 wrote:
> I am not convinced...
> For example here is what I just tried (I am on windows here)
>
> C:\Travail\futCAC\data>C:\Travail\Tools\R-3.0.1\bin\Rscript.exe -e
> "library(data.table);
> fread('ORDRES_20120831.csv',nrows=100)[,list(CDTSA,ISIN)][,list(count=.N),by=as.Date(CDTSA)]"
>
> At this point this is like writing a R script
> 1) I need to require the libraries
> 2) My Rprofile is printed on the screen
>
> Those 2 could be solved using a wrapper...May be it is as good as it gets
>
>
>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/data-table-on-the-command-line-tp4675755p4675774.html
> Sent from the datatable-help mailing list archive at Nabble.com.
> _______________________________________________
> datatable-help mailing list
> datatable-help at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help
>



More information about the datatable-help mailing list