R is a language and environment for statistical computing and graphics similar to S.
-1
votes
0answers
9 views
setting the R engine hangs without error [migrated]
I'm using rJava in my java project to plot some graphs. I do that using r Scripts which are called within the java code.
Further explaining, I created a java class and within that wrote separate ...
-1
votes
0answers
19 views
Apply a function to rows within a data table in R to return time of day [migrated]
I have a data table, which I have various dates and a "value" with which I need to plot. The values are delivered in a so-called "Delivery Hour" and a "Delivery Interval". An example is below;
I ...
0
votes
0answers
5 views
Maximum Likelihood Estimate of Weibull Distribution in R [migrated]
I am programming in R, focusing in survival analysis. I have a data set where the times of survival(in days) are
143, 164, 188, 190, 192, 206, 209, 213, 216, 220, 227, 230, 234, 246, 265, 304, 216, ...
-2
votes
1answer
89 views
Providing production code samples as part of an invited freelance work proposal? [closed]
I have only recently started to market myself as a 'programmer' rather than an analyst or something else entirely. In a recent search of freelance/part-time/contract work, I came across an ad for a ...
0
votes
1answer
103 views
Does an Rcpp-dependent package require a GPL license?
I'm writing a commercial package that uses R (GPL) for its computation. The GPL FAQ clearly states that GPLed programming language interpreters do not impose licensing restrictions on the "program" ...
2
votes
1answer
100 views
Expected time for lazy evaluation with nested functions?
A colleague and I are doing a free R course, although I believe this is a more general lazy evaluation issue, and have found a scenario that we have discussed briefly and I'd like to find out the ...
7
votes
1answer
246 views
Suggested method for extracting a standalone C library from an existing R package?
My group has been developing an R package to simulate plant growth (see GitHub repository). The R package uses .Call to interface with C.
We have decided that it would be worthwhile to create a ...
1
vote
0answers
94 views
How do references work in R?
I'm finding R confusing because it has such a different notion of reference than I am used to in languages like C, Java, Javascript... Ruby, Python, C++, well, pretty much any language I have ever ...
3
votes
4answers
852 views
Why are scientific programming languages so weird? [closed]
It seems to me that programming languages meant for use in science and engineering are consistently weird compared to general-purpose languages. Some examples off the top of my head:
In Matlab, each ...
59
votes
5answers
70k views
R vs Python for data analysis [closed]
I have been programming for about a year and I am really interested in data analysis and machine learning. I am taking part in a couple of online courses and am reading a couple of books.
Everything ...
3
votes
6answers
438 views
How to visualize the design of a program in order to communicate it to others
I am (re-)designing some packages for R, and I am currently working out the necessary functions, objects, both internal and for the interface with the user. I have documented the individual functions ...
2
votes
1answer
232 views
Where to place the R code for R+Sweave+LaTeX workflow
I spent the last week learning 3 new tools: R, Sweave, and LaTeX. One question that came to my mind when working through my first project: Where do I place the majority of the R code?
The tutorials ...
6
votes
6answers
753 views
Is there a canonical resource on R programming? [closed]
Considering I have no programming background, Is there a resource out there that's the de-facto standard for describing best practices, design methodologies, and other helpful information on R ...
1
vote
2answers
721 views
Mahout's Flexibility for generating recommendations
I am currently working on a system that will generate product recommendations like those on Amazon: "People who bought this also bought this.."
This is how I plan to do it:
Process the data using ...
2
votes
1answer
271 views
Incanter for real world statistical projects [closed]
I'm interested in statistical computing. R is a leader platform obviously but what about Incanter?
Incanter is at the top of my list since I'm a Clojure and JVM guy.
Do you have any real world ...
17
votes
6answers
5k views
Surviving MATLAB and R as a Hardcore Programmer
I love programming in languages that seem geared towards hardcore programmers. (My favorites are Python and D.) MATLAB is geared towards engineers and R is geared towards statisticians, and it seems ...