dirs<-matrix(ncol = 2,data=unlist(strsplit(out$`Full Name`,split=",")),byrow = TRUE)[,1]

Advertisements

dirs<-matrix(ncol = 2,data=unlist(strsplit(out$`Full Name`,split=",")),byrow = TRUE)[,1]

Advertisements

combn(rownames(my.square.matrix), m=2, FUN=paste, collapse = "-", simplify = T)

If your working directory is C:Parent/Child

Then to read a file from Parent use ..

file="../MY_FILE.RData"

https://stackoverflow.com/questions/24319168/how-to-move-backward-parent-folder

na.collapse<-function(x) { x.<-unique(x[!is.na(x)]) if(length(x.)==0) { return(NA) } else { if(length(x.)==1){ return(x.) } else { return(paste(x.,collapse="|")) } } } na.collapse(x)