R cheasheet

less than 1 minute read

Read log file and print line chart

df = read.table("~/tmp/heapmem.log", header = FALSE)
matplot(df$V4, type="l")

in column 4 we have the heapmem it will produce the linechart.

Getting help and examples

help(read.table)
example(read.table)
vignettes() # PDF documentation on a topic.
vignettes(package = .packages(all.available = TRUE)) # include more non standard topics.

Categories: , ,

Updated:

Leave a Comment