lepoulsdumonde.com is one of the many independent Mastodon servers you can use to participate in the fediverse.
Small french Mastodon instance for friends, family and useful bots

Administered by:

Server stats:

53
active users

#rstats

27 posts23 participants5 posts today
KristinaRiemer<p>📣 Hello! I'm seeking my next role. 📣 </p><p>I lead a team of research software engineers, with skills in project management &amp; collaboration. I'm also a software developer. My degrees are in ecology. See my website here: <a href="https://kristinariemer.github.io/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">kristinariemer.github.io/</span><span class="invisible"></span></a></p><p>This is due to unfortunate financial circumstances of my current institution, negatively impacting my data science team: <a href="https://datascience.cct.arizona.edu/news/data-science-team-seeking-new-projects-after-losing-funding" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">datascience.cct.arizona.edu/ne</span><span class="invisible">ws/data-science-team-seeking-new-projects-after-losing-funding</span></a></p><p>Please pass my info along to your network and share relevant job postings with me. Thanks! 🎉 </p><p><a href="https://fosstodon.org/tags/fedihire" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fedihire</span></a> <a href="https://fosstodon.org/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a></p>
Rami Krispin :unverified:<p>My LinkedIn newsletter reached this week two milestones:<br>✅&nbsp;Hit the 28k subscribers milestone, thank you! 🎉<br>✅&nbsp;It is now also available on Substack 🚀</p><p><a href="https://ramikrispin.substack.com/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">ramikrispin.substack.com/</span><span class="invisible"></span></a></p><p><a href="https://mstdn.social/tags/AI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AI</span></a> <a href="https://mstdn.social/tags/DataScience" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DataScience</span></a> <a href="https://mstdn.social/tags/MachineLearning" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MachineLearning</span></a> <a href="https://mstdn.social/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://mstdn.social/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a> <a href="https://mstdn.social/tags/OpenSource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenSource</span></a> <a href="https://mstdn.social/tags/genai" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>genai</span></a></p>
boB Rudis 🇺🇦 🇬🇱 🇨🇦<p><a href="https://mastodon.social/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a> code for the chart+table (link to data is in the code):</p><p><a href="https://ray.so/VazaFfN" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">ray.so/VazaFfN</span><span class="invisible"></span></a></p>
Christos Argyropoulos<p><span class="h-card" translate="no"><a href="https://fosstodon.org/@josi" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>josi</span></a></span> yeap. I was very surprised to see this in real life because I thought the long vector issue was no longer an issue. It means that everything that has to interface with the data.frame type will be limited by this until it is addressed. We are shifting our workflows from data.table to duckdb (outside R) and then reintegrating back to <a href="https://mast.hpc.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> when the datasets are smaller</p>
Christos Argyropoulos<p>Breaking <a href="https://mast.hpc.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a>. Yesterday I pointed out that data.table cannot handle large datasets (&gt;2^31 rows). It seems data.frame in base R also has the same issue. <br>While a vector of that size will be generated without problems, putting it in a data.frame will fail (ALT-text for code)</p>
Christos Argyropoulos<p>Breaking data.table in <a href="https://mast.hpc.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a>.<br>This was noticed by our brilliant data analyst Hamza Mir, when analyzing a 10 <a href="https://mast.hpc.social/tags/gigarow" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gigarow</span></a> <a href="https://mast.hpc.social/tags/EMR" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>EMR</span></a> dataset. <a href="https://mast.hpc.social/tags/fread" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fread</span></a> will assign a name to each row, i.e. the row number. If the number of lines exceeds 2^31, then a long vector of names has to be generated and R does not support those apparently (yet).<br>Reproducible example (<a href="https://mast.hpc.social/tags/Perl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Perl</span></a> code to generate a very large dataset on left, and <a href="https://mast.hpc.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> output with failure). <br>ALT-text for code.<br>See also <a href="https://stackoverflow.com/questions/76456801/data-tablefread-fails-for-larger-file-long-vectors-not-supported-yet" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">stackoverflow.com/questions/76</span><span class="invisible">456801/data-tablefread-fails-for-larger-file-long-vectors-not-supported-yet</span></a></p>
Jon Sullivan<p>Another <a href="https://mastodon.nz/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a> colour palette I learned about is the excellent Manu package that has colour palettes inspired by New Zealand birds.</p><p><a href="https://g-thomson.github.io/Manu/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">g-thomson.github.io/Manu/</span><span class="invisible"></span></a></p><p><a href="https://mastodon.nz/tags/nz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nz</span></a> <a href="https://mastodon.nz/tags/birds" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>birds</span></a></p>
Jon Sullivan<p>I was working on <a href="https://mastodon.nz/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a> today with a postgrad student, Stacey, and we needed a colour palette for a graph. Picking a nice set of colours, instead of "red", "blue", "green", etc. can make a graph sparkle.</p><p>We used the MoMAColors palette package by BlakeRMills. It takes colours from some excellent art works from the Museum of Modern Art in New York. Thanks to Blake for making this.</p><p><a href="https://github.com/BlakeRMills/MoMAColors" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/BlakeRMills/MoMACol</span><span class="invisible">ors</span></a></p>
safest_integer<p>```<br>library(tidyverse)<br>z = function(n) {<br> bb = function(i) {<br> x = y = 0<br> for (k in 0:(n - 1)) {<br> x = x + ((floor(i/2^(2 * k))) %% 2) * 2^k<br> y = y + ((floor(i/2^(2 * k + 1))) %% 2) * 2^k<br> }<br> c(x, y)<br> }<br> as.data.frame(t(sapply(0:(4^n - 1), bb)))<br>}<br>ggplot(z(6)) + <br>geom_path(aes(x=V1, y=V2, col=sin(V1/4)+cos(V2/4)), show.legend=F) + <br>scale_colour_gradient(low='orange', high='blue') +<br>theme_void()<br>```</p><p><a href="https://en.wikipedia.org/wiki/Z-order_curve" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">en.wikipedia.org/wiki/Z-order_</span><span class="invisible">curve</span></a><br><a href="https://mastodon.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://mastodon.social/tags/generativeart" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>generativeart</span></a> <a href="https://mastodon.social/tags/tilingtuesday" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tilingtuesday</span></a> <a href="https://mastodon.social/tags/rtistry" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rtistry</span></a> <a href="https://mastodon.social/tags/fractal" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fractal</span></a></p>
Sam Van Horne, Ph.D.<p>For day 1 of <a href="https://vis.social/tags/30DayChartChallenge" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>30DayChartChallenge</span></a>, I made a quick waffle chart in <a href="https://vis.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> from open data about automobile crashes in Delaware. As a <a href="https://vis.social/tags/BikeTooter" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BikeTooter</span></a> who commutes to work by <a href="https://vis.social/tags/bike" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bike</span></a>, I'm keenly interested in road safety. </p><p>Code: <a href="https://github.com/bardolater/30DayChartChallenge/blob/main/2025/01_Fractions.r" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/bardolater/30DayCha</span><span class="invisible">rtChallenge/blob/main/2025/01_Fractions.r</span></a></p>
Henrik Bengtsson<p><span class="h-card" translate="no"><a href="https://wandering.shop/@KG_Jewell" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>KG_Jewell</span></a></span> <span class="h-card" translate="no"><a href="https://c.im/@pglpm" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>pglpm</span></a></span> <br>AFAIU, 'foreach' pkg is in a keeping-the-lights-on mode by Microsoft, but if something needs to be fix, I'm pretty sure they'll do it. Also, the original developer, Steve Weston, left it in a great condition, so foreach() is stable and won't go anywhere.</p><p>As the author of Futureverse, my recommendation is to couple it with the doFuture package (not original doParallel), e.g.</p><p>y &lt;- foreach(...) %dofuture% { ... }</p><p>and things will run in <a href="https://mastodon.social/tags/parallel" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>parallel</span></a> on any operating system <a href="https://mastodon.social/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a></p>
pglpm<p>Hi R people! Could you suggest some guides and links on how to set up parallel processing with `foreach` that can work both on Windows and Linux/Mac? I'm searching for guides on the net, but most of them seem to have become obsolete. Thank you!</p><p><a href="https://c.im/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://c.im/tags/ParallelComputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ParallelComputing</span></a></p>
Christos Argyropoulos<p>It is all <a href="https://mast.hpc.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> fun and giggles until the dataset is too big to fit in memory. Then, it is time for the database servers and <a href="https://mast.hpc.social/tags/SQL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SQL</span></a> to save the day.</p>
Christos Argyropoulos MD, PhD<p>It is all <a href="https://mstdn.science/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> fun and giggles until the dataset is too big to fit in memory. Then, it is time for the database servers and <a href="https://mstdn.science/tags/SQL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SQL</span></a> to save the day.</p>
Victor Alexandre<p>Hello <a href="https://mastodon.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://mastodon.social/tags/tidymodels" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tidymodels</span></a> <a href="https://mastodon.social/tags/yolo" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>yolo</span></a> <a href="https://mastodon.social/tags/machinelearning" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>machinelearning</span></a> community.</p><p>I think I am about to start some image recognition with R, in order to find traffic-calming devices on fine satellite imagery. <span class="h-card" translate="no"><a href="https://amicale.net/@cquest" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>cquest</span></a></span> has been doing some of that with Python. <br>Has somebody been there and has some words of advice or tips ?<br>Thanks !</p>
safest_integer<p>Mapping -diff(y) to linewidth = calligraphy<br>```<br>library(tidyverse)<br>library(pracma)</p><p>tibble(s = seq(pi, -pi, len = 5000),<br> x = fresnelS(s), y = fresnelC(s),<br> wd = c(0, -diff(y))) |&gt;<br>ggplot() + <br> geom_path(aes(x=x,y=y, lwd=wd), show.legend=FALSE) +<br> scale_linewidth_continuous(range=c(.1,2.5)) +<br> theme_void()<br>```<br><a href="https://mastodon.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://mastodon.social/tags/ggplot2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot2</span></a> <a href="https://mastodon.social/tags/generativeart" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>generativeart</span></a></p>
MGClaros<p><a href="https://mastodon.world/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://mastodon.world/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a></p>
safest_integer<p>```<br>library(tidyverse)<br>library(interp)<br>x = c(runif(500), 0,0,1,1)<br>y = c(runif(500), 0,1,0,1)<br>triangles(tri.mesh(x = x,y = y)) |&gt;<br>as_tibble() |&gt; <br>mutate(i=1:n()) |&gt; <br>rowwise() |&gt;<br>mutate(tri = list(<br> tibble(x=x[c(node1,node2,node3,node1)], <br> y=y[c(node1,node2,node3,node1)]))) |&gt;<br>unnest('tri') |&gt;<br>ggplot() + <br>geom_polygon(aes(x=x,y=y,group=i,fill=i), show.legend=FALSE) +<br>scale_fill_viridis_c(option='F') + <br>theme_void()<br>```</p><p><a href="https://mastodon.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://mastodon.social/tags/tilingtuesday" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tilingtuesday</span></a> <a href="https://mastodon.social/tags/generativeart" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>generativeart</span></a></p>
Danielle Navarro<p>unmedicated anxiety, a portrait in <a href="https://hachyderm.io/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a></p>
safest_integer<p>"It is worth emphasizing that tinyplot requires only base R. It has zero recursive dependencies and we have been careful to keep its installation size down to a minimum."</p><p>That's my kind of package. Let's go Tinyverse!</p><p><a href="https://github.com/grantmcdermott/tinyplot" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/grantmcdermott/tiny</span><span class="invisible">plot</span></a></p><p><a href="https://mastodon.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a><br><a href="https://mastodon.social/tags/datascience" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>datascience</span></a><br><a href="https://mastodon.social/tags/graphics" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>graphics</span></a> <br><a href="https://mastodon.social/tags/tidyverse" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tidyverse</span></a> <br><a href="https://mastodon.social/tags/visualization" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>visualization</span></a></p>