Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env Rscript --default-packages=methods
|
||||
|
||||
args <- commandArgs(trailingOnly=TRUE)
|
||||
|
||||
if (length(args) == 0) {
|
||||
conn <- file("notes.txt", 'r')
|
||||
cat(readLines(conn), sep="\n")
|
||||
} else {
|
||||
conn <- file("notes.txt", 'a')
|
||||
cat(file=conn, date(), "\n\t", paste(args, collapse=" "), "\n", sep="")
|
||||
}
|
||||
close(conn)
|
||||
Loading…
Add table
Add a link
Reference in a new issue