Commit 4cc18b0e authored by Holger Brandl's avatar Holger Brandl

added string concatenation operator

parent e55d5ee5
......@@ -487,6 +487,9 @@ trim_ext <- function(fileNames, ...){
}
# see https://stackoverflow.com/questions/7201341/how-can-2-strings-be-concatenated
'%s+%' <- function(x, y)paste0(x,y)
rmSomeElements <- function(vec, toDel) vec[! (vec %in% toDel)]
rmLastElement <- function(vec) vec[- length(vec)]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment