FAQ: How do I mark a solution?


If your question has been answered don't forget to mark the solution

  • Folks in the future can come along and easily see what worked for you.
  • You acknowledge the person who solved the issue.

If you're the original poster and the category allows solutions to be marked there should be a little box at the bottom of replies that you can click to select that response as your "solution."




Based on replies by mara


Problem installing access to Github repository
package ‘socviz’ is not available (for R version 3.5.1)
term document matrix from tm package, selecting columns
How to generate conditional words in the text? (Inline code)
Cant knit rmarkdown document
Colourizing Code - "R For Data Science"dry
How to make a subset that isn't a list?
package development use and build workflow
Error in seq ...: wrong sign in "by" argument
RStudio Connect - Test Email Sends, but User Invites Do Not
What checks are practical when loading data over internet?
Please I need help with this: I try to load ggplot2 and I'm getting this error. I have tried almost everything I can.
Using variable values to create variable names
problem with importing database from spss and excel
Getting odds ratio instead of odds with vcd:odds()
exporting labelled non-integers to Stata
AUC function in DescTools (version 0.99.28)
suppressing error tracebacks
Cannot download PDF reportin shinyapps.io
Is it possible to plot matplotlib in R Shiny using reticulate?
How to change the legend title using geom_tile
how to set alpha for contour lines in stat_density_2d
R studio run really slow
kable in Rmarkdown file
Wordcloud with a specific letter
Trouble installing diplyr
R Markdown incorrectly creates new line when using math mode in lists
How to add colors and linetype with ggplot2
Packages not loading since updating RStudio
Git Path Question
Converting a factor back into a variable.
group_max performance
Color-coding data points in complex dotplot
Help running parallel copies of R code that calls a Fortran DLL
Cannot open my project
Plot_ly doesn’t plot anything
Plotting 3d point cloud coordinates in three panels
Creating new variable
unexpected symbol
Unable to run commands to execute data.frame
ubuntu rstudio server upgrade... service not found
how to unwind rows by spliting the column in DF
Inserting graphics into R flexdashboards
Playing Audio Files Made in the App with the Audio Package in ShinyDashboard
Calculating Regression with By-function
Define "into" using "col" when separating
Error: Input year(s) is not numeric in R
Installation of package goes wrong/Library doesn't load packages
Converting week number and year into date
Error in library(rpivotTable) : there is no package called ‘rpivotTable’
Import Data from SQL Server To shiny app
DescToolsAddins package: kbd shortcut for Desc() fails...
RStudio suddenly slow after updating to 3.5.3
could not find function "ggplot"
Shiny : How to display a spatial data frame with renderTable
add column to data frame based on conditions
Beginner problem with variables number
Coding help for rearrangement of data frame.
How to collapse rows in a dataframe?
How to recode a factor in order to make a pie chart
Preview version of R Studio 1.2.1326 in Windows cannot install (error opening Qt dll libraries)
Possible to use 'sample()' inside 'case_when()' for conditional distributions?
create r function based on the content for each row
Data structures in R: Is "table" a special data structure or is it just an array?
Plot_ly graph not rendering in shinyapps.io
combining datasets with different countries and rows
Get image to appear on github page (Knit R Markdown -> README)
Error code with cut function
dummy coding in sparklyr?
data frame not available outside observe event
Installing Tidyverse Packages
How to open the source code of a function in R studio?
How do I negate testthat::expect_output?
How to start RStudio in Windows 10
can't import data to R studio on MacBook
usethis::use_course() ... zip file is downloaded, but get error
Creating diagonal matrix (diag) from Excel sheet
Establish connection between R and Aspen Plus
Removing items with missing values at T1 OR T2
A simple problem needs help【number of items to replace is not a multiple of replacement length】
Rstudio Keyboard Shortcut CTRL+ALT+F11 puts LINUX to sleep mode!!
Need help creating an object "svar" using group_by, and summarize
Dynamically removing UI elements using insertUI and removeUI
Subsetting a vector using a boolean vector with different length
replacing NA with for loop vs dplyr
Can't open R after I download it
Problem loading dplyr
Basic R Problem: Prepare data record
Error loading tidyverse library
Using shiny app's webserver to serve data files for my widget's javascript code?
Launching executable file in R
Run cron job within RStudio
Infinite Recursion Shiny(solved)
Changing color of wellPanel background
Having trouble installing and loading tidyverse/readr- No hms package
Geom_contour help
Mutate and replace strings to new column
Create Pipeline of Function Calls from List
Problems rendering math in bookdown
Deleted blog post still showing up on blogdown website (in index.html)
pkgdown::build_site() failing in Version 1.2.1049
Problem installing ggplot2 packages
Dataframe Building (Specific Parameters)
R Markdown PDF generator in portable version
Scraping table weirdness with rvest (undesired {xml_nodeset (0)})
Newbie question on installing "bindrcpp" within "dplyr"
Error on JSONIO package update
Pass a variable to dplyr "rename" to change columnname
Cannot type umlaut (äöü) in R Studio on one of two computers with identical R and RStudio
Error when using new project/git
Reactivity Problem: Google Analytcs event tracking clashes with Previous and Next buttons
Dynamic UI: Can't print results from uiOutput created with renderUI
Cannot see the complete plot for all values of variable
Grouping in ggplot2
How to separate title from desc (scraping data IMDB-Coming Soon Movie)
A dataframe question - solved
Simple descriptive statistics
HTML document from rmarkdown including Shiny - section links don't work2
Circle in ggplot2
Shiny modules : reactive values do not update
RStudio console output doubled
Shiny, flexdashboard and databases issue: app only functions once
Making Hugo-Academic Blog post in RStudio
Googledrive resources/how to get modified date
Bug when i open a file .R
Editor-aware shortcut for gluing file paths from the Rproj directory?
Can't get rendered blogdown local website using hugo-academic theme to reflect changes
Problem with using some R packages. Possible problem in the installation of R?
R Graphics: Device 2 (ACTIVE)
Problem with Clustered SE's
Error publishing/deploying Shiny App, worked before, now doesn't
not able to save the pivot table output as csv / excel from ShinyApp using rpivotTable
Shiny-server crashes when called via domain name / port 80
Insert Dataset Error
Error in yaml.load(): argument “error.label” is missing, with no default
Not able to install tidyverse package
Can we used R sutdio/shiny apllications without Spark master in cluster?
Rounding and piping
Can not use shinytest for larger application
Unable to publish R Markdown document to R Pubs
Problem loacting installed packages
Converting dates (Year - Month - Day) to 3 separate columns (Year , Month , Day)
Error Installing arulesViz after 3.5.0 update
Store the result in excel
Data frame not inserted the right value.
Subscript and tilde in ggplot2 axis tick labels?
No shiny examples will run!
Libssl 1.0.0 outdated dependency
Dockerised R - Fail Build on Unit Test Fail
Get Google trends data - problem with output
How to view/edit code of functions in Rstudio
Rmd - not giving erros but also no html output document
Use bookdown to only generate .tex - figures not being generated
Help with tidyverse
Does the Tabulizer package need java to be installed?
Missing three of the four panes
Rmarkdown tab in R studio console
Graph with errobar using percentile function
Error in plot.new -- Error in plot.new() : figure margins too large
GoogleVis scatter plot with Shiny
Dependent SidebarMenus
Define a new column for genre of the movie
Dummy function with conditions and multiple columns
Data Frame Manipulation
Scraping past html comments with rvest
Error in grDevices::png
Cannot deploy my site in Netlify
Add a row depending on a condition using tidyverse if possible
Create Function
Project Template Creates Folders 1 level up
Error emptying the trash in RStudio.cloud
SOLVED: Recode variable from text to numbers
save location does not pops up; directly launches the file
Filtering the data when input is null : dplyr and shiny
Excel shell.Run Rscript in version 3.5.0 is not working, works in 3.2.5
How to Ignore one of the factors in a Column
Trying to calculate a probability (REPREX)
Tidy way to collapse rows when a spread/pivot won't work
How to upgrade a package when using packrat
selectizeInput with choices from data frame
Data Frame: join a groupby with a new column as a new index
Kable() results not displaying inline
Generate a data frame from many xml files
for loop help calculating column based on another
Dplyr package install error
Tidyeval with ggplot() & pmap()
How to reverse color gradient when using geom_sf?
Read.table with no header
What is the %||% operator?
Can't install devtools on windows 10 :-(
Select() function in dplyr package
Problems installing Trelliscopejs
Trying to run a linear model
DPLYR not recognizing a column that is in my dataframe
FAQ: Tips for writing R-related questions
Access to raw application logs in RStudio Connect
Trouble installing package "xlsx"
New Project problem - can't get the dialog box to accept any directory below Documents
Mutate_at() not ignoring NA values with janitor functions
Retrieving stored ARIMA model using REACTIVE function -- Error in as.vector: cannot coerce type 'closure' to vector of type 'character
Date format changes while using levels in R
RStudio crash every time I ran large amount of data fro SQL
Floating table of contents and plots produce extra whitespace at bottom
Retrieve value from client in response to checkbox change
Filtering in Shiny - Error in [: NAs not permitted in row index
Go to a different Page in shiny by Clicking on the link on an image
Revamping string elements
the data points on the graph are not plotted, even though the header of the csv file can be shown, i think somewhere in my code its not able to read the data
Shiny scoping in flexdashboard
Unable to install any packages?
Rvest - first attempt at web scraping - how to deal with multiple pages and missing values
How to create a legend for ggplot
KNN imputation and error messages
How to avoid re-install package when executing/run the code in R-script
Rename 3 files with a different name each
How can I change the default encoding when sourcing?
Tidyr::extract dealing with optional substring
Error parsing manifest: Bundle does not contain manifest file: XLSX
RStudio view Values in the Environment
Insert image into Rmd document / Hugo & Bookdown
Missing square brackets in body of POST request using R's httr package
Problems to install.package(rJava) in MacOs High Sierra 10.13.6
Running ggmosaic with ggplot2
Accessing a data frame produced in a different RenderPlot
Bug? Violin plot removes points
Struggling to create a scatter plot with time span
Error: Aesthetics must be either length 1 or the same as the data (2): fill
Increase the width used by gitbook - Solved
Help: Required package curl not found
Error with Loading Saved Keras Model in Shiny App
Problem deploying shiny app with Keras and CNTK backend to shinyapps.io
Strange locale problems in R after update to Mojave
eval_tidy parse_quo in the parent.frame environment can not get to work
Ggplot2: Add a text legend below a plot
R generates errors while assigning an object
Issues with 'rlang' using R 3.5.3 on macOS Mojave
Highcharts plot multiple series without multiple hc_add_series
Grouped barplot/boxplot with individual data points
r 3.5 Windows - devtools ‘rlang’ does not have a namespace
Linear Regression
Create columns with unique values
capture streaming json over websocket
R studio simple issue
What is the purpose of using Shiny.bindall()?
Changing logo size in radix blog
Issue adding a new user to RStudio Server Community edition
Unable to load car package in R
Document depends on package "gsubfn" but it is not installed
Problem Installation of package
Deploying APP on shinyapps.io which keeps asking for ggplot2
In Rstudio rmarkdown, how to add new html themes from Bootswatch?
The system cannot find the file specified
Options$repos default problem
Is it normal to take long time to rename factors
RODBC returns truncated errors
SQL tanslations for datediff in dbplyr?
Interactivity in ggvis
Failure to import dataset
Could not run gganimation
My plots only show in a separate window. How can I undo this?
ggplot2 package loading and activating issue
Shinytest error (renderUI)
Something wrong with fileDependencies.R(file) when deploying
pdftools to import pdf into R
Issue when creating pdf file while running knit, output file does not exist (knit-HTML is fine)
Formatting issue with inline latex code in learnr/shiny
ggplot with conditions
Equivalent to switch in tidyverse running a list of commands
Problems with y axis - ggplot2
Problem: Can't install.packages("packagename")
Using multiple R variables in SQL chunk
Duplicates created by map_df(~ read_csv...), for which R can only detect a handful
Migrate content of RStudio Connect to a Production server
r-forge issue with DT??
Error in UseMethod("select_")
Rcmdr not available
ggplot choropleth map merging trouble
ggplot2 masking purrr::map automatically
Permutation with two vectors
Packaging of native extensions - vendoring of dependencies
Unable to install rlang
Change default loading of `shiny` to specific `.libPaths()` on ShinyServer
shiny dashboard tab input
wrangling the levels of ordered and unordered factors with mutate_at?
Removing auto hyphenation in .rpres presentations
I can’t install package caret in Rstudio.cloud
ANOVA analysis error
Error: * Application depends on package “glue” but it is not installed
STRING_PTR() can only be applied to a 'character', not a 'list'
"Connections" pane shows weird results when connecting to a server
Tidyverse won't install
RStudio file association doesn't work in Windows 10 Enterprise?
Pairwise alignment error message
Unable to Deploy Shiny App in shinyapps.io - The application failed to start (exited with code 137)
parLapply in nested function
connecting to local mariaDB database
Replace looping with apply in simple Permutation Test code
How do I include html code within R markdown tables?
decision tree using rpart
Dynamic adjust of number of rows
Setting the config file location
Unexpected RStudio (version 1.1.463) crashes on arch linux
Deploy an application to RSC that requires proxy usage for a DB connection
Twang: Error: unexpected '=' in
I have problem with Rvest Package: i can not scrap multiple urls at the same time
Unable to successfully install ggplot2 package
How to shut down daemon started by serve_book(daemon=TRUE)
Shiny - upload a csv file, choose columns and let it make a boxplot or a barplot
Chapter starts with 0.1 (not 1.0) in pdf_book format
A scatterplot problem - solved
How can i access list of list
Confidence Interval: getting "NA" as an answer. Why?
Switch from RStudio Server Pro to RStudio Open Source.
Hosting bookdown in github
Can I pass parameters to a shiny app via URL?
Adding grey shaded area in ggplot2
Http 599 Time Out Error while deployApp() with package mzR
Rstudio server not loading, taking too long to respond in browser
MLP model with Keras and text2vec package
Error in as.environment(pos) : invalid 'pos' argument
Is there a way to do a filtered rank that preserves a full data frame?
Unable to open new project, loading forever.
Audio files in R markdown
lapply function
Replacing NA's in a dataframe/tibble
Applying a cols() object to an existing data_frame
Counting rows in data frame based on certain criteria of a column
Size of image in xaringan slides
Rstudio v1.1.463 rpubs upload error, no login prompt - RStudio IDE
TOC or Side Menu in Rpubs
Error installing packages
filter() not working on categorical variable
Rendering rmarkdown output from RStudio Connect where original content has permission for "Anyone"
Matching columns and rows
Janitor: remove_empty() or remove_empty_cols() not appearing
Error in RMarkdown knit yaml
Count of observations after group_by()
Disconnect From MYSQL when user exits
Shiny: Generating downloadable reports with plot of htmlwidget
How to properly convert a POSIXct vector to a date vector
Error performing command r <- stdres - Error in stdres (ols): could not find function "stdres". What do I do?
support for ipumsr package?
Using a custom function to run dyplr and ggplot commands not rendering the way I want.
Tried install_github("hfgolino/EGA", dep = TRUE) getting error "Installation failed: SSLRead() return error -9806"
Cannot install packages: ‘Gmedian’, ‘gsl’, ‘rgdal’
Problem (possibly) related to tibble printing and pandoc
identifying exact or near duplicate names in a dataset
Two Regression Lines in single plot, shaded by year, and points indicating a different location
Are there performance problems with having package library on a network drive?
grouped barplot with error bars
Exporting tables to xls or ppt
Can functions return vectors in the c() format?
Rowwise mutate ifelse returns row index of desired feature, not the feature itself
Add a row to a tibble to sum some, but not all, columns in the tibble
train, trainControl function not working.
error in package installation
Why does this display one table 150x instead of 150 unique tables?
How to share the range of a numeric variable in legend color in ggplot2?
Can't connect r studio to git
Is there anything faster than readLines in R?
Rcmdr for R version 3.5.2 Patched
Rstudio Addins not working (Shiny?)
tibble and Rcpp
Error in if (attr(vectorizer, &quot;grow_dtm&quot;, TRUE) == FALSE
Wrong cursor position in Rstudio
Cannot install packages on IOS
Efficient way to read text file with repeated blocks/chunks?
How to extract factors names from anova function
Save Rmd file with code chunks and inline output for uploading
hugo-tranquilpeak-theme with blogdown does not render in rstudio nor on Netlify
R Markdown to PDF document
read.table of "list.files()"
Understanding first() and last()
How to remove tick labels in a ggplot without affecting the plot size?
Local data preventing application from loading on shinyapps.io
Delete columns whitout "NULL"
no able to produce a legend
display top 10 rows after arrange verb
How to find x and y of a point of a mathematical function in Rstudio ..?
Function with existing data frame
Deploying App using custom package from public GitHub repo
Sum of the number of occurrences R array