b <- array(c(1:11, NA), c(2,2,3))         
#On crée un objet de type « array »
 
dimnames(b)<-list(NULL, NULL, c("Temp","Haut","Long"))
#On attribue un nom aux trois sections de l’array :  "Temp","Haut" et "Long"
On obtient :
> b
, , Temp
 
     [,1] [,2]
[1,]    1    3
[2,]    2    4
 
, , Haut
 
     [,1] [,2]
[1,]    5    7
[2,]    6    8
 
, , Long
 
     [,1] [,2]
[1,]    9   11
[2,]   10   NA
 
			