Skip to main content
18 events
when toggle format what by license comment
Oct 1, 2020 at 16:41 history edited caird coinheringaahingMod CC BY-SA 4.0
added 55 characters in body
Sep 11, 2020 at 9:17 comment added Cong Chen library(magrittr) could come in useful if you need to recycle expressions - example from the forward-pipe help: rnorm(100) %>% {c(min(.), mean(.), max(.))} %>% floor.
Sep 9, 2020 at 0:00 history tweeted twitter.com/StackCodeGolf/status/1303483270118756355
Sep 6, 2020 at 8:11 comment added Dominic van Essen @qrt I never use it normally, but I'd also be interested to know if it could be golf-competitive (especially as the %>% paradigm almost makes it into a different language variant to base R). Obviously, the usual need to include tidyverse::, dplyr:: or library(tidyverse) would normally be a disincentive (especially for short challenges), but it would still be interesting to see whether a 'non-competing' R+tidyverse entry that omitted these characters could ever/often beat base R. Are you tempted to try?
Sep 5, 2020 at 22:06 comment added qwr As a frequent tidyverse user, I'm curious if anyone has a tidyverse answer that beats a base R answer.
Sep 4, 2020 at 17:31 comment added Robin Ryder @DLosc Sounds good; if you can get in unfrozen, I am sure a few of us regular R golfers can keep it active.
Sep 3, 2020 at 23:55 comment added DLosc @RobinRyder Well, shoot. I tried to look for one, but "R" is impossible to search for, so I didn't find it. I could see about getting that unfrozen. There's no content to speak of in the new one yet.
Sep 3, 2020 at 13:12 comment added Robin Ryder There is already a (now frozen) chatroom for golfing in R: chat.stackexchange.com/rooms/81960/golfr ; shouldn't we resuscitate it rather than open a new chatroom?
Sep 3, 2020 at 12:59 comment added JDL related: codegolf.stackexchange.com/questions/4024/tips-for-golfing-in-r
Sep 3, 2020 at 1:04 comment added DLosc @DominicvanEssen and Giuseppe: Please add your own September R solutions to the list below, too! (When you get the chance.)
Sep 3, 2020 at 0:38 comment added DLosc @Giuseppe Makes sense to me, but I think a mod has to do that.
Sep 2, 2020 at 17:08 comment added Giuseppe Also can we get a featured on here?
Sep 2, 2020 at 17:03 comment added Giuseppe @DominicvanEssen You can also post an R-themed challenge. In the past I've done a couple of challenges implementing some of R's more interesting built-ins (fivenum, nextn, and match if I recall correctly), and I have a couple more in the Sandbox at the moment (jitter and ave). I'm also toying with having people implement some statistical routines (e.g., given a dataset calculate the empirical CDF / Kaplan-Meier estimator for survival function) but I'm struggling with the I/O a little.
Sep 2, 2020 at 16:22 history became hot meta post
Sep 2, 2020 at 16:00 comment added Dominic van Essen I have in mind something like choosing a small selection of existing challenges that work well in R (so: not text-based challenges!), so that any/everyone that's interested could focus on the same set...
Sep 2, 2020 at 15:59 comment added Dominic van Essen This is very exciting, and (as one of the few [but hopefully about to become many] contributors in R) I'm very happy that R has been chosen. Apart from continuing to post anwsers in R, is there anything else that I could do to help or encourage others?
S Sep 2, 2020 at 1:01 answer added DLosc timeline score: 4
S Sep 2, 2020 at 1:01 history asked DLosc CC BY-SA 4.0