User Tools

Site Tools


wiki:rvsbash

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

wiki:rvsbash [2017/12/05 22:53] (current)
Line 1: Line 1:
 +=== R vs BASH ===
  
 +== Create a text file and understand pc performance ==
 +
 +in bash
 +
 +<code bash>
 +time seq 1  100000000 ​ > /​tmp/​test.txt ​
 +</​code>​
 +
 +in R
 +
 +<code R>
 +ptm <- proc.time() ;  a = seq(1, 100000000 )   ; proc.time() - ptm
 +</​code>​
wiki/rvsbash.txt ยท Last modified: 2017/12/05 22:53 (external edit)