Skip to main content
  1. About
  2. For Teams

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.1k Questions
+58
14.5k Members
+45
Contact
Contact
Stay up to date
We'll highlight new content in your collectives with a blue activity indicator on navigation items and posts. Manage preferences

Pinned Bulletins

View all 1 bulletins

R Language has some news to share

Bulletin
1 min read
3k views

Welcome to the R Language Collective

Pinned content

View all 3 collections

R Language admins have deemed these posts noteworthy.

Pinned
49 votes
5k 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
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

Can you answer these questions?

View all unanswered questions

These questions still don't have an answer

0 votes
0 answers
41 views

R "rphylopic" package fails with ggplot - my issue or package issue?

I'm using the rphylopic package to add images of animals to a figure I'm making with ggplot2. The code worked great a couple weeks ago but now I'm having trouble re-loading it. When I try to make my ...
0 votes
0 answers
45 views

Oblique Mercator projection +alpha bug when aligning terra raster to (coastline) segment azimuth

I'm attempting to align a square projected raster grid to individual segments of an n = 15 sided polygon using the terra package and an Oblique Mercator (omerc) projection. The goal is for the ...
0 votes
0 answers
22 views

Connect to EViews data base in R

I have an Eviews data base which is stored in an .edb file (along with an .e0, .e1a, and and .e1b file). Is there any way I can read from (and optimally also write to) this DB with R? I am aware of ...
0 votes
0 answers
83 views

How to fix converting the numeric value on y-axis

I am plotting the data with emp on the x-axis, test_ind on the y-axis, and applying coord_flip(). The test_ind values go from 0-1 but the plot ends up showing 0-6 on the y-axis. mydata<-structure(...
1 vote
0 answers
52 views

Prevent resetting graph when slider plotly barplot R

I would like to prevent plotly rerender the graph when we change the x-axis range by dates and when you deselect bars from the legend it should remain the same bars when it changed the x-axis. For ...

Learn something new
These are the most recent articles in R Language Collective
49 votes
5k 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
Members can contribute articles
Simply submit a proposal, get it approved, and publish it.
See how the process works
Morty Proxy This is a proxified and sanitized view of the page, visit original site.