I would like to display some R code on my shiny app. Therefore, I used verbatimTextOutput but I can't find a way to break lines and to display paragraphs of cod
for (i in 1:nrow(survey_clean)) { for(j in 1:ncol(survey_clean)) { survey_clean$invalid_answers[i] <- sum(survey_clean$old_col == survey_clean$ol
i want to show why a specific model is not appropriate, given a data with 6 variables (they are chr variables) the model is y= abc*(x1+x2) a and b from the data
Based on this question: I want to select a row in a shiny datatable and want to copy the content of a specific cell to the clipboard. What I've got so far: libr
For python jupyter notebooks I am currently using VSCode python extension. However I cannot find any way to use alternative kernels. I am interested in jupyter
Quite often when using the tidyverse to manipulate data, I come up with a situation like the one below. Can someone explain why option 3 works
I'm following the example from here: https://rstudio.github.io/DT/ I can get a caption above the table with: library(DT) datatable( head(iris), caption =
I am trying to create a variable using ifelse, and would like the column to be 0 when the condition is not true, but they are showing up as NA. Any tips? df$z &
When grid package is used to plot a figure, I want to find out something similar to par('usr') as in base R graphics. What command can do it? https://r-graph-ga
I am trying build a reactive bar chart in shiny app. I have a small table named stats Team wins loss draws Arsenal 533 120 256 Chelsea 489 20
I was building my data set for some accounting work and accidentally made a mistake. I'd like to switch every instance of a Credit (column journalItemLine_credi
I would like to create a Leaflet Map which renders at a default location, at a zoom level of 4, and then when the user clicks the go button, pans from location
I'm trying to import some accounting data to a new software and need to add a debit column journalItemLine_debitAmount and a credit column journalItemLine_credi
When arranging multiple plots from a plotlist with cowplot, the stat_compare_means values get cut off in the grid (see picture). When I am removing the plots ti
I was trying to load Seurat package in rstudio and got this error Error: package or namespace load failed for ‘Seurat’ in dyn.load(file, DLLpath = D
I use Rstudio. I got an error while using Rstudio. It's the same error as in the attached image. I uninstalled Rtools, Rstudio and R and then reinstalled them a
Say for example, I want to count how many people are in a room while others are in that room for each day. When that person leaves, I want an updated count of h
I've been facing in R the error message for days using getSymbols of the quantmod package: Error in new.session() : Could not establish session after 5 attempts
Using the RDCOMClient package in R, I am sending a series of automated emails from R. The emails need to be sent at a specific date and time, but I cannot figur
I have functions outputting multiple messages in my code and I can't get these messages to be in the same output chunk, like with results='hold'. As of now, th