The core output of Stan is a matrix of posterior draws for all the parameters. We can get the posterior draws using the extract() function from the rstan package.
mydraws <- extract(m.stan, pars=c("beta"))
head(mydraws$beta)
##
## iterations [,1] [,2] [,3] [,4] [,5] [,6]
## [1,] 0.19740999 -0.5914161 0.5160827 -0.9157734 0.38511068 1.0928047
## [2,] 0.17958350 -0.5887120 0.2596891 -0.7541913 0.26844179 0.9057757
## [3,] 0.29554013 -0.6444533 0.4057966 -0.8746189 0.28431914 0.9818464
## [4,] 0.01303628 -0.5696108 0.2517150 -0.8109542 0.18863116 0.9243068
## [5,] 0.12542269 -0.5536330 0.2371954 -0.8766540 0.09941147 0.7988320
## [6,] 0.08730884 -0.5045019 0.3613823 -0.5757361 0.09866310 0.9485528
##
## iterations [,7] [,8] [,9] [,10] [,11]
## [1,] -0.079499488 -0.04482239 0.2878329 -0.2217906 -0.3054568
## [2,] 0.091061457 0.07472608 0.1917749 -0.1633398 -0.3943135
## [3,] 0.062147386 -0.04212758 0.2099535 -0.4134927 -0.4354544
## [4,] 0.084839798 0.01052008 0.3221497 -0.4698140 -0.5690210
## [5,] 0.005786222 0.04973867 0.1696677 -0.1911747 -0.3236274
## [6,] 0.021987891 0.08600439 0.2974813 -0.2051077 -0.3477360
##
## iterations [,12] [,13]
## [1,] -0.2217020 -2.327877
## [2,] -0.3272110 -2.473883
## [3,] -0.2417738 -2.237272
## [4,] -0.2615193 -2.192958
## [5,] -0.3223195 -2.310287
## [6,] -0.1250320 -2.426316