R version 2.15.1 (2012-06-22) -- "Roasted Marshmallows" Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 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(1,88,3,94,3,90,3,73,1,68,2,80,3,86,3,86,2,91,1,79,1,96,3,92,3,72,3,96,1,70,3,86,3,87,3,88,2,79,2,90,1,95,1,85,3,90,1,115,1,84,3,79,1,94,2,97,3,86,2,111,2,87,3,98,1,87,3,68,3,88,1,82,2,111,1,75,1,94,2,95,1,80,1,95,3,68,2,94,2,88,1,84,1,101,1,98,2,78,3,109,3,102,3,81,3,97,2,75,2,97,3,101,3,101,2,95,2,95,3,95,2,90,3,107,3,92,2,86,2,70,3,95,3,96,2,91,1,87,2,92,2,97,2,102,2,91,3,68,2,88,3,97,1,90,3,101,3,94,1,101,1,109,2,100,1,103,3,94,1,97,3,85,2,75,3,77,1,87,1,78,2,108,3,97,1,105,3,106,1,107,2,95,2,107,3,115,3,101,1,85,3,90,3,115,3,95,2,97,3,112,3,97,3,77,3,90,1,94,3,103,1,77,3,98,3,90,3,111,2,77,3,88,2,75,3,92,2,78,2,106,2,80,3,87,3,92,1,111,3,86,3,85,2,90,1,101,3,94,3,86,3,86,2,90,1,75,3,86,3,91,3,97,2,91,3,70,2,98,3,96,3,95,2,100,3,95,3,97,3,97,3,92,1,115,3,88,2,87,3,100,3,98,1,102,3,96),dim=c(2,153),dimnames=list(c('WISCRY7V','MOMAGE'),1:153)) > y <- array(NA,dim=c(2,153),dimnames=list(c('WISCRY7V','MOMAGE'),1:153)) > for (i in 1:dim(x)[1]) + { + for (j in 1:dim(x)[2]) + { + y[i,j] <- as.numeric(x[i,j]) + } + } > par3 = 'TRUE' > par2 = '2' > par1 = '1' > ylab = 'IQ' > xlab = 'AGE' > main = 'EFFECT OF MOTHER'S AGE ON IQ' Error: unexpected symbol in "main = 'EFFECT OF MOTHER'S" Execution halted