maelle, to random
@maelle@mastodon.social avatar

My "useR! 2024" fireside chat with James Black 🔥

https://masalmon.eu/talks/2024-05-06-user-fireside-chat/

Proudly representing France? Brittany? with my shirt. 🥖 🥞

#RStats

statnmap, to random French
@statnmap@mastodon.social avatar

#RStats - Which functions of my package are exported 👀 or not 🙈 and where are they located ?
💪 Find it out with fusen::draw_package_structure() - Works for regular packages or 'fusen' built packages
👉 https://thinkr-open.github.io/fusen/articles/draw-a-tree-of-your-package-files-and-functions.html
🎉 fusen-v0.6.0 is now on CRAN

DataAngler, to random
@DataAngler@vis.social avatar

League of Legends but for #rstats folks wrangling legends in multi-layer charts and maps

eheisman,
@eheisman@vis.social avatar

@DataAngler

bonus points if you're trying to do something outside the default with {ggplot2}

simonpcouch, to random
@simonpcouch@fosstodon.org avatar

tidymodels has long supported parallelizing model fits across CPU cores. A couple of the modeling engines that supports for gradient boosting— and —have their own tools to parallelize model fits. A new blog post explores whether tidymodels users should use tidymodels' implementation, the engines', or both.

https://www.simonpcouch.com/blog/2024-05-13-parallel/

stevensanderson, to programming
@stevensanderson@mstdn.social avatar

Discover essential techniques to check for column existence in R data frames!

Use %in% with names() or colnames(), explore dynamic checks with exists() and within(), or identify patterns with grepl(). Experiment with these methods in your projects.

Post: https://www.spsanderson.com/steveondata/posts/2024-05-13/

#R #RStats #RProgramming #Programming #Coding #Data

image/png

R_Foundation, to random
@R_Foundation@fosstodon.org avatar

New blog entry. Our statement on vulnerability report CVE-2024-27322. https://blog.r-project.org/2024/05/10/statement-on-cve-2024-27322/index.html

rOpenSci, to rstats Spanish
@rOpenSci@hachyderm.io avatar

📦 [A package a day - Computing Infrastructure 41]

Today's Computing Infrastructure package is skimr

Compact and Flexible Summaries of Data
🙏 Maintained by @elinwaring
📝 https://docs.ropensci.org/skimr/

Check out this article: {Skimr} defaults
💻 https://docs.ropensci.org/skimr/articles/Skimr_defaults.html




@rstats

almenal99, to random
@almenal99@fosstodon.org avatar

hey @coolbutuseless @mattdray

what's your take on pipe-at-the-end vs pipe-at-the-beginning?

(others, feel free to chime in)

DataAngler,
@DataAngler@vis.social avatar

@almenal99 @coolbutuseless @mattdray I like the reasons outlined in the resource below for putting |> at the end of the line:

  1. easy to scan verbs on the left to understand what a chunk is doing
  2. easy to add steps to the end of a line

https://r4ds.hadley.nz/workflow-style.html

Mehrad,
@Mehrad@fosstodon.org avatar

@almenal99
In my head pipes are like comma, as they indicate that there is more to come. So it should come at the end of the line, unless similar to bash we can use escape character to escape the new line. If someone is after aesthetics, they can use indentation.

I also sometimes use -> assignment at the end of a pipe chain to store the results in a variable. So I can see that having it at the beginning of the line can provide some clarity.

@coolbutuseless @mattdray

FelipeSMBarros, to random Spanish
@FelipeSMBarros@mastodon.social avatar

Muito tempo sem usar ... desaprendi tudo e fiquei mal acostumando com python. Quanta burocracia para fazer coisas simples. credo... que delicia :) hahaha

FelipeSMBarros,
@FelipeSMBarros@mastodon.social avatar

@villares @ludovia hahaha sería isso, mas sem o -1, já que com o length(coleção) vc tem a quantidade e com esse calor acesso o último elemento. Mas repara como é burocrático?! Tenho que salvar o solit para usar o length e acessar o último valor…
Python seria só um “path/to/folde.tif”.split(“/“)[-1]. Isso para não usar o Pathlib, como vc sugeriu..

villares,
@villares@ciberlandia.pt avatar

@FelipeSMBarros @ludovia Ah... R é com índices começando em 1 ? eu já soube isso mas esqueci....

eddelbuettel, to ubuntu
@eddelbuettel@mastodon.social avatar

Happy to share that #r2u now provides #Ubuntu 24.04, #BioConductor 3.19, and of course #Rstats 4.4.0.

20.7k CRAN packages, and 400+ BioConductor packages as apt binaries with fast and full resolution of all dependencies.

#r2u: Fast. Easy. Reliable. Pick All Three.

https://eddelbuettel.github.io/r2u/

eitsupi, to random Japanese
@eitsupi@fosstodon.org avatar

I created a new Dev Container Feature to install packages from a DESCRIPTION file.
I think it would be a suitable Dev Container Feature for R package development.
https://github.com/rocker-org/devcontainer-features/tree/main/src/r-dependent-packages

cedricr, to random
@cedricr@mapstodon.space avatar

PSA for #RStats users: consider adding sth like
1 options(Ncpus = parallel::detectCores() - 2) and

2 Sys.setenv(MAKEFLAGS = paste0("-j", max(parallel::detectCores() - 2, 1))) in your .Rprofile.

1 will make packages install in //, 2 will make builds from source parallelized.

On a 32 cores box, building @tylermorganwall rayshader (many dependencies):
none: 718s
2: 327s
1+2 : 138s

duckdb (no dep):
none: 989s
2: 112s

Prepare for some fan noise though !

gaborcsardi,
@gaborcsardi@fosstodon.org avatar

@cedricr If you do 1) do you know what's the best way to tell which packages succeeded to install, and which failed?

brodriguesco, to random
@brodriguesco@fosstodon.org avatar

on May 16, 2024, from 4:00 pm - 6:00 pm CEST I'm giving a 2 hour online workshop on reproducibility with for users organized by the DIPF (Leibniz Institute for Research and Information in Education)

Register here: https://www.leibniz-openscience.de/event/los-workshop-reproducible-research-with-nix-and-rix/

florisvdh,
@florisvdh@fosstodon.org avatar

@brodriguesco will it be recorded? I may not make it... (hence didn't register)

brodriguesco,
@brodriguesco@fosstodon.org avatar
ramikrispin, to Excel
@ramikrispin@mstdn.social avatar

(1/2) I have been following the work of @stevensanderson and David Kum for a few years now, and I am excited to see the release of their new book 🥳- Extending Excel with Python and R 🚀.

The book focuses on the common conjunction and collaboration between data scientists and Excel users. This includes scaling and automating tasks with and and core data science applications such as data wrangling, working with APIs, data visualization, and modeling.

ramikrispin,
@ramikrispin@mstdn.social avatar

(2/2) Here are some of the topics the book covers:
✅ Read and write Excel files with R and Python
✅ Excel automation with R and Python scripts
✅ Data visualization with ggplot2 and Matplotlib in Excel
✅ Time series analysis and forecasting
✅ Regression analysis
✅ Embading R/Python applications and functions in Excel

If you are working with Excel users or you are using Excel and want to extend your capabilities, I recommend checking this book.

hrbrmstr, to random
@hrbrmstr@mastodon.social avatar

R Core has an official statement out on the inappropriately assigned CVE-2024-27322

https://blog.r-project.org/2024/05/10/statement-on-cve-2024-27322/

krz,
@krz@mastodon.social avatar

@hrbrmstr no, I haven’t heard of this bug or vulnerability before, and the r blog is not very informative either

hrbrmstr,
@hrbrmstr@mastodon.social avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • cubers
  • magazineikmin
  • InstantRegret
  • thenastyranch
  • Durango
  • Youngstown
  • ngwrru68w68
  • slotface
  • everett
  • rosin
  • osvaldo12
  • kavyap
  • DreamBathrooms
  • megavids
  • mdbf
  • khanakhh
  • cisconetworking
  • GTA5RPClips
  • modclub
  • tacticalgear
  • ethstaker
  • tester
  • normalnudes
  • anitta
  • Leos
  • provamag3
  • lostlight
  • All magazines