Pinned content
View all 2 articlesR Language admins have deemed these posts noteworthy.
How to write a good R question with a reproducible example
Can you answer these questions?
View all unanswered questionsThese questions still don't have an answer
Perpetually running error "Error: cannot have attributes on a CHARSXP"
Embedding plotly (r) graph on website, updating through API call?
Using two data frames in R to determine the diameter size
Obtaining corr matrix (probit residual correlations) for observed variables after fitting an EFA model using lavaan
How to make an R Shiny app with big data?
Looking for an extra challenge?
View all bountied questionsThese questions have a bounty on them
Why do some of the geom_text labels flipped when added on a dodged geom_col?
version requested doesnt match
Recommended answers
View all recommended answersThese answers have been recommended
Convert the time intervals to equal hours and fill in the value column
Since you're discarding things after 11pm, we can do this: library(dplyr) library(tidyr) # unnest doseq <- function(z) { z <- as.integer(z) if (length(z) > 1) { if (z[2] < z[1]) z[...
loading .dat into R, no column names
That is not a "something"-delimited file, it's fixed width. readLines(unz("~/Downloads/2018029_ascii.zip", "FRSS108PUF.dat"), n=3) # [1] "100011331 1 1 1 1 2 1 2 2 2 ...
How to evaluate the probability of a range in R?
If you create a table of dice.sums, then you will get the frequency of each possible sum. Dividing this table by its total will give you the probability of each sum. The rest is just data wrangling to ...
How can I add a grob for both the x and y axis using cowplot?
One option to add images to your axis text would be to use the ggtext package which allows to add images to the axis text using an <img> and by using ggtext::element_markdown() for the axis ...
I can not load sf in docker
When you want to add R packages to a new OS running R, you need to be aware of any underlying OS packages that are required. In this case, reading sf's DESCRIPTION, we see SystemRequirements: GDAL (&...
See what's trending
View all trending questionsThese are the most active questions in R Language Collective
How to make a great R reproducible example
Sort (order) data frame rows by multiple columns
How do I replace NA values with zeros in an R dataframe?
Drop data frame columns by name
How to join (merge) data frames (inner, outer, left, right)
How to write a good R question with a reproducible example
Create multiple PDF/HTML reports using R Markdown in a loop
Simply submit a proposal, get it approved, and publish it.
See how the process works