Why Learn R? It's the language of Statistics
blog.revolutionanalytics.com
blog.revolutionanalytics.com
1) The primary use case for R is by academics and students comparing various methods on various data sets accessible through R.
2) The code is not really designed with superb reliability in mind. I have debugged a contributor's fortran code and sent in a patch that never appeared in the R code base. The bug remains. Professors often don't support code all that well. Don't blame them. Support is left as an exercise.
3) There are no assurances about the scalability of any particular routine--even if the algorithm scales in theory.
Do try R. It's good. But don't think SAS and the like will disappear. They cater to the production requirements of big companies. And don't use R as an excuse not to write your own production code.
CREATE FUNCTION plr_polygon_area(
latitude double precision[],
longitude double precision[])
$BODY$
areaPolygon( cbind( longitude, latitude ) )
$BODY$
LANGUAGE 'plr' VOLATILE STRICT
COST 1
ROWS 1;
Pretty powerful.2) The learning curve for R was 30 days for me. (Still learning, but everything is now no longer alien.) I submitted a bug to a Professor. Not only did he fix the bug within a few hours, but he offered to personally send a new build for my platform. He also suggested a performance improvement for my code (by practically rewriting it) that resulted in code 43 times faster.
The PL/R mailing list has been nothing but helpful and expedient.
3) Scalability of R functions is not too difficult to test.
Domain specific languages are good (and fun). Interacting with open source developers can be an awesome expersience. I agree.
I just don't see R as a platform that can integrate tightly with other business systems. It's a user oriented tool. If there are use cases out there that disprove this. It would be interesting to hear about. Especially as we move into the era of "big data".
I am creating a website that allows the general public to create reports on how the climate has changed, such as:
PHP, PostgreSQL, R, and JasperReports to analyse 273 million rows of data across 8000 weather stations spanning The Great White (soon to be Green by the looks of it) North for the last 110 years.
The trend line, shown in orange, is calculated in R using a Generalized Additive Model. There is no way I was going to (or even could) write such a complex algorithm myself. When I started the project, I was using MySQL. I migrated the database to PostgreSQL specifically so that I could use R for the analysis. I migrated the database before learning R.
out <- f(formula, data-frame, ... other options ...) Pretty near every function shares the same
first two parameters
Better then to make those two params passed by default so you don't have to type them every time.Having said that, I must note that I am new to R, and rejecting anything so quickly makes me very nervous. I suspect that I have not even come close to plumbing the depths, so to speak, of R's capabilities.
I don't really like to type that much, hence my initial terse commentary--but I can certainly oblige someone who is genuinely interested :-)
This is still an extremely uninformative answer. Oh well.