R is a language and environment for statistical computing and graphics similar to S.

learn more… | top users | synonyms

-4
votes
0answers
22 views

Subsetting in R [closed]

I am new to R so that might be the reason why my question is so basic. I have data which looks a bit like what is shown below Hospital January February March April May June July ...
4
votes
2answers
67 views

Writing R packages to replace .R scripts?

In our company we have a handful of R users who have collectively written some ~30 .R scripts over the last year. The scripts are mostly 100 lines or less, defining useful and reusable functions. ...
0
votes
0answers
21 views

Conceptual Question Text Matching Or Normalizing in R

I have millions of records which contain a column which has free text. Each record is a manifest for a shipment so has other attributes too This free text has a single product entered into it ...
3
votes
3answers
249 views

Can you do iterative development in c#? [closed]

I'm primarily a Python/R developer. In those languages, the way I develop is to sketch out a data and class structure, write the methods and their tests in interactive mode, then refactor them up into ...
1
vote
1answer
92 views

Why use atomic vectors or matrices in R at all?

In reading Hadley Wickham's Advanced R I learned about the difference between atomic vectors and lists; and matrices/arrays and dataframes. This is something I hadn't really appreciated before, and ...
-2
votes
1answer
115 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 ...
2
votes
2answers
331 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
118 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 ...
8
votes
1answer
271 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
1answer
145 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 ...
5
votes
4answers
1k 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 ...
3
votes
6answers
551 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
2answers
272 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
853 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
752 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
290 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 ...
20
votes
6answers
6k views

Surviving MATLAB and R as a Hardcore Programmer [closed]

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 ...