sigmoid.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A social space for people researching, working with, or just interested in AI!

Server stats:

592
active users

#rstats

111 posts95 participants2 posts today
Replied in thread

@transportationtalk I just tried (they're stored in `h`) but no luck: the sections are still empty.

```{r}
#| warning: false
#| message: false
#| echo: false
#| output: asis

for(k in seq_len(nrow(y))){
cat("\n## section ", k)

print(h[[k]])
cat("\n")
}
```

📢 Aug 28, 10 AM PT / 1 PM ET – R Consortium webinar: Unlocking Collaborative Power with Git, GitHub CI/CD & LLMs in Pharma

Learn how pharma teams use GitHub Actions for automated QC, cut errors, and speed workflows—plus an LLM preview for QC edge cases.

Speakers: Ning Leng (Roche), Eli Miller (Atorus Research), and Ben Straub (GSK)

🔗 r-consortium.org/webinars/unlo

#rstats question: how do you render an arbitrary number of htmlwidgets in a quarto (html) document?

I'm able to generate the arbitrary number of sections but not the htmlwidgets that go with them.

Something like:
```{r}
#| warning: false
#| message: false
#| echo: false
#| output: asis

for(k in seq_len(nrow(y))){
cat("\n## section : ", k)
# here I build the htmlwidget for this section
cat("\n")
}
```

Thanks!
#rstats #quarto

My talks at @useR_conf is here defuneste.codeberg.page/useR_2

tldr: I think storing "big" data as a parquet files, stored in s3 accessed with duckDB and wrapped in an R package is a nice way to save some of your sanity.

Now that we know that DuckDB is great let start showing how R can make it in production! 😉

Side notes: loved using {litedown} and codeberg for the prez. Mermai.js you are also great but I am not rdy!

defuneste.codeberg.pageData as Code
Replied in thread

@koen_hufkens @eliocamp Have you found the Rcpp Gallery yet? We have plenty of vectorized examples there and elsewhere, please google 'Rcpp Sugar' . RcppArmadillo has way more on proper vector operations and is recommended but you can start with

> cppFunction("NumericVector mysum(NumericVector a, NumericVector b) { return a + b; }")

aafter which `mysum(1:3, 4:6)` does what you expect. In general stick with `arma::vec`. Follow-ups on rcpp-devel if you can. #rstats

gallery.rcpp.org/

gallery.rcpp.orgRcpp GalleryArticles and code that illustrate the use of the Rcpp package

Recent @DSLC club meetings:

:rstats: DSLC Project Club: R‑Ladies Rotating Curation (RoCur) relaunch on Bluesky youtu.be/JPFjC33zn2w #RStats #PyData #DataScience

From the @DSLC :rstats:​chives:

:rstats: Tidy Modeling with R: Grid Search youtu.be/goNjyWTv0k4 #RStats

:rstats: testthat docs: Introduction and Run tests youtu.be/IFt5QkGmeho #RStats

Visit dslc.video for hours of new #DataScience videos every week!