Hi Sarah, I use readMat function, from R.matlab function.
str(X) tells that X : num [1:64, 1:64, 1:21, 1:300] as I said, the first 3 columns are x,y,z coordinates. And I need all values in the last column correcponding to a given (x,y,z) coordinate. if you list the values of X, then they are non zero, but for some reason R tells that dim(X): NULL -- View this message in context: http://r.789695.n4.nabble.com/4D-data-acsess-tp3633552p3634004.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.