vertesy / TheCorvinas

Various Scripts and Summaries
http://vertesy.github.io/TheCorvinas
2 stars 0 forks source link

CodeNRoll: add option to "read.simple.tsv()" to read only if its not in the mem space #11

Closed vertesy closed 3 years ago

vertesy commented 8 years ago
read.simple.tsv( ... , ReadOnlyIfVariableNotExist =  F)

if(ReadOnlyIfVariableNotExist){
exists(ReadOnlyIfVariableNotExist)
}

 # VariableExisting If not FALSE, it only reads in the file if a variable with the same name does NOT EXIST in the memory.

## usage:
read.simple.tsv( ... , ReadOnlyIfVariableNotExist =  "ExpressionData")