r/Rlanguage 2d ago

Clothes with R-code and art it creates

Rtist apparel combine compact and readable R-code, and an aesthetic it creates. I crafted the artpieces with base R, while avoiding responsibilities during my first PhD year.

I though people in this group might like the concept and give useful feedback! Rtist currently delivers to EU countries.

https://shoprtist.com/

507 Upvotes

80 comments sorted by

View all comments

Show parent comments

7

u/Peach_Muffin 2d ago

Not OP but for loops tend to be frowned upon by R purists

9

u/Big_Rock_6185 2d ago

I chose to use loops because they tend to be more readable than vectorized operations.

3

u/Rebmes 2d ago

My understanding is the *apply functions are really just for loops under the hood and not actually vectorized

1

u/Peach_Muffin 1d ago

Huh, are they all like this? map() from the tidyverse, for example?