Skip to main content
The 2025 Annual Developer Survey is live — take the Survey today!

R Language Collective

A collective where data scientists and AI researchers gather to find, share, and learn about R and other subtags like knitr and dplyr.
516.2k Questions
+98
13.5k Members
+67
Contact

Pinned Bulletins

View all 1 bulletins

R Language has some news to share

Bulletin
1 min read
2k views

Welcome to the R Language Collective

Pinned content

View all 3 collections

R Language admins have deemed these posts noteworthy.

Pinned
18 votes
3k views
Collection

R Language Frequently Asked Questions

The questions that get asked repeatedly, gathered together in one place. What’s a question every R programmer asks at some point? Add it here! Grab questions from the r-faq tag to get them added ...
Berthold's user avatar
  • 101
Pinned
49 votes
4k views
2 minute read
How-to guide

How to write a good R question with a reproducible example

This article is largely written based on https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example When posting a question to Stack Overflow, you should include a minimal ...
user avatar

Can you answer these questions?

View all unanswered questions

These questions still don't have an answer

0 votes
0 answers
25 views

I have a JSON script which changes the pickerInput in my shiny app, however the dropdown list closes every time I click the group I want to select

I have this JSON script to make the pickerInput in my shiny app select all individuals by their respective groups, however the dropdown list closes every-time I select a group. I have tried to add evt....
1 vote
0 answers
49 views

Is there a way to offset the phase of the pattern in geom_abline()?

I have 2 parallel, sometimes overlapping lines of different colors that I create with geom_abline(). Here's a basic example: ggplot(data.frame(x=1:5,y=1:5)) + geom_point(aes(x=x,y=y)) + geom_abline(...
3 votes
0 answers
34 views

Using @inheritParams for arguments from another package gets CRAN warning about missing package anchors

I have a package that has existed quietly and happily on CRAN for some years but in the last few months have received this NOTE accompanied by email warnings that the package will be withdrawn if I ...
2 votes
0 answers
20 views

RODBC for MacOS M4 Sequoia with Windows Authentication to MS SQL Server

I recently got a Macbook Pro with M4 processor and Sequoia OS. I have been using Windows machine for a while and now trying to figure out my settings. In my PC, I was able to use Windows ODBC ...
2 votes
0 answers
43 views

Trying to add a graphs series to high carter in R

I am trying to add a MACD graph section to the highcharter graph similar to volume section. I have the code for creating same. Not sure as how they will be added as seperate section similar to volume. ...

Learn something new
These are the most recent articles in R Language Collective
49 votes
4k views
2 minute read
How-to guide

How to write a good R question with a reproducible example

This article is largely written based on https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example When posting a question to Stack Overflow, you should include a minimal ...
user avatar
20 votes
3k views
3 minute read
How-to guide

Create multiple PDF/HTML reports using R Markdown in a loop

How to create multiple PDF/HTML reports in a loop using R Markdown With R Markdown, creating a PDF or HTML report is straightforward. But what if you want to create various reports? Furthermore, what ...
Guibor Camargo Salamanca's user avatar
close