Description Usage Arguments Examples
Just the normal write function made generic and RuntimeC-support added
1 2 3 4 5 6 7 8 |
object |
See ?base::write |
1 2 3 4 5 6 7 8 9 10 | # See ?base::write. For RuntimeC:
library(basicscriptsGG)
rt_object <- RuntimeC()
rt_object <- add.timepoint(rt_object, "useless", proc.time()-proc.time()) # add new timepoint (with zero time)
t1 <- proc.time()
Sys.sleep(1) # someFunction
t2 <- proc.time()
rt_object <- add.timepoint(rt_object, "someFunction", t2-t1) # add new timepoint (with zero time)
rt_object <- summarizeRT(rt_object) # subtract the first for (starting point)
write(rt_object, "test.txt")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.