R version 3.2.3 (2015-12-10) -- "Wooden Christmas-Tree" Copyright (C) 2015 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-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 <- c(2010M1 100.05,2010M2 99.84,2010M3 99.79,2010M4 99.72,2010M5 99.84,2010M6 99.84,2010M7 99.84,2010M8 100.14,2010M9 100.16,2010M10 100.36,2010M11 100.49,2010M12 100.55,2010M13 100.55,2010M14 100.41,2010M15 100.54,2010M16 100.66,2010M17 100.86,2010M18 100.88,2010M19 100.88,2010M20 101.37,2010M21 101.84,2010M22 102.25,2010M23 102.58,2010M24 102.59,2010M25 102.59,2010M26 101.95,2010M27 101.94,2010M28 102.18,2010M29 102.47,2012M6 102.5,2012M7 102.5,2012M8 102.87,2012M9 103.08,2012M10 103.47,2012M11 103.65,2012M12 103.68,2013M1 99.76,2013M2 99.13,2013M3 99.19,2013M4 99.37,2013M5 99.61,2013M6 99.65,2013M7 99.66,2013M8 99.98,2013M9 100.38,2013M10 100.92,2013M11 101.16,2013M12 101.19,2014M1 101.52,2014M2 101.14,2014M3 101.38,2014M4 101.46,2014M5 101.52,2014M6 101.53,2014M7 100.79,2014M8 101.2,2014M9 101.28,2014M10 101.59,2014M11 101.75,2014M12 101.76) Error: unexpected symbol in "x <- c(2010M1" Execution halted