rscript: multi-dimensional indexing syntax