First set of R scripts for playing with tensors. Specficially the Bayesian multiview tensor factorization package.