aboutsummaryrefslogtreecommitdiff
path: root/challenge-148/abigail/r/ch-1.r
diff options
context:
space:
mode:
Diffstat (limited to 'challenge-148/abigail/r/ch-1.r')
-rw-r--r--challenge-148/abigail/r/ch-1.r11
1 files changed, 11 insertions, 0 deletions
diff --git a/challenge-148/abigail/r/ch-1.r b/challenge-148/abigail/r/ch-1.r
new file mode 100644
index 0000000000..45684794ab
--- /dev/null
+++ b/challenge-148/abigail/r/ch-1.r
@@ -0,0 +1,11 @@
+#!/usr/local/bin/Rscript
+
+#
+# See https://theweeklychallenge.org/blog/perl-weekly-challenge-148
+#
+
+#
+# Run as: Rscript ch-1.r
+#
+
+cat (grep ("^0$|[1789]|2.|[35]$", c (0:100), invert = TRUE, value = TRUE), "\n")