R version 3.1.0 (2014-04-10) -- "Spring Dance" Copyright (C) 2014 The R Foundation for Statistical Computing Platform: i686-pc-linux-gnu (32-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > x <- array(list(SCF30,#3,263.9259259,138.2,58.72222222,13.52755574,SCF30,#2,434.5925926,281.1,152.3703704,37.12172206,SCF,#2,316.6296296,200.51,86.81481481,26.13097742,SCF30,404.7703704,237.8,124.6296296,36.75220867,SFSCF,#1,324.7185185,119.98,122.5185185,25.35128313,SFSCFP,#1,248.2,88.58888889,47.44444444,18.15173187,SCF,329.0233333,101.9,119.0851852,26.13097742,SCF-P,261.7333333,95.93,95.95802469,22.24162109),dim=c(6,8),dimnames=list(c('TPC','TFC','DPPH','FRAP'),1:8)) + y <- array(NA,dim=c(6,8),dimnames=list(c('TPC','TFC','DPPH','FRAP'),1:8)) + for (i in 1:dim(x)[1]) Error: unexpected 'for' in: " y <- array(NA,dim=c(6,8),dimnames=list(c('TPC','TFC','DPPH','FRAP'),1:8)) for" Execution halted