R, 5044 bytes
eval`-`=seq;eval(parse(t=c("c(",gsub("-",":",scan(,'')""),")")))
Replace allRedefine - withto mean seq (i.e. :), surround the input with c() and evaluate the corresponding expression.
R, 50 bytes
eval(parse(t=c("c(",gsub("-",":",scan(,'')),")")))
Replace all - with :, surround with c() and evaluate the corresponding expression.
R, 44 bytes
`-`=seq;eval(parse(t=c("c(",scan(,""),")")))
Redefine - to mean seq (i.e. :), surround the input with c() and evaluate the corresponding expression.
R, 50 bytes
eval(parse(t=c("c(",gsub("-",":",scan(,'')),")")))
Replace all - with :, surround with c() and evaluate the corresponding expression.