for some reason, in matlab2011b, I cannot concatenate with cat, but I need to use squared brackets
at MGH, we need to specify the library for R