as.data.frame

to convert from a matrix to a dataframe the easiest option is:

tips <- as.data.frame(myMatrix)

mclapply(tips, foo)