This challenge is intended to utilize the R language as a means of solving a problem. However, language-specific challenges are generally discouraged on CG.

learn more… | top users | synonyms

7
votes
2answers
237 views

Tips for golfing in R?

I'm looking for tips for golfing in the R statistical language. R is perhaps an unconventional choice for Golf. However, it does certain things very compactly (sequences, randomness, vectors, and ...
5
votes
3answers
403 views

What's the ugliest line of R code that still parses? [closed]

The goal is to produce a single line of R code that: Does as little as possible (generating a sequence from 1 to 10 is preferred) In as many characters as possible (max of 100 characters) And is as ...