Re:Starting data analysis with R: Things I wish I'd been told
by jph00 on Sunday November 23, 2014 @10:49PM
(#8650978)
Could you describe what facilities of R help with metaprogramming and make it good for designing DSLs?
Re:Starting data analysis with R: Things I wish I'd been told
by hadley on Monday November 24, 2014 @08:50AM
(#8652323)
http://adv-r.had.co.nz/dsl.html and the two prior chapters
Three aspects of the language that make R particularly well suited for statistical programming are:
1) Missing values built in at a fundamental level.
2) Metaprogramming capabilities. The best way to solve many categories of data analysis problems is to design a domain specific language which allows you to easily combine independent pieces. R's incredible flexibility is great for this.
3) Fundamentally vectorised and functional. This allows you to elegantly express many common data analysis tasks.