We have parquet data saved on a server and I am trying to use SparkR sql() function in the following ways df <- sql("SELECT * FROM parquet.`<path to parq
I am currently trying to implement caching on my dockerized shiny app, but i am facing troubles, the app doesn't work and there's no log to trace the problem: S
I have a dataframe where the column size can be grouped. When the dataframe is arranged by size, I would like to show the totals of each column for each group a
I have the following code and my goal is to add styleColorBar to the WGT column, aligning the yellow bars on the left hand side of the column. df = data.frame(W
I have this dataframe. I create a plot representing on the y-axis "value" and on the x-axis each of the levels of "Column_S", which contains levels from S1 to S
I have the following data stored as zoo object: A B C 2017-05-31 NA NA 3.1 2017-06-30 2.5 2.4 3.2 2017-07-
I use GitBook format through R bookdown. I need to use at least four levels in the table of contents (TOC). The default is three. How can I change the depth of
I have a original data frame (df) containing data of around 10 years(1994-2003). The head(df) is as shown below: Sl.no Date Year Month Season
All I have is a simple dataframe with 27 columns and 100 rows I continue to get the following error although the simple line of code works with other example of
I am trying to create several subfolder in a parent folder. I created this code but it does not create my subfolders. I would like to create subfolders in the f
I have a function responses to process some data that is subset into different data frames. I also have a list of these data frames partylist.
I have some large shapefiles with multiple millions of polygons that I need to dissolve. Depending upon the shapefile I need to either dissolve by group or jus
I use "ggplot2" to create beautiful plots in R. I want to distribute them; I use "ReporteRs" get them into PowerPoint. When I do this the formatting is somehow
I am running into an issue with R6 inheritance. I am writing 2 packages (work related so I have to use fake code but I'll try to keep it accurate). In ParentPac
I am new to exploring the fable package, and I was wanting to implement Regressors in a Hierarchical Time Series model. How should the Dimensionality of the dat
I`m using svyby from survey to make some weighted ratios with their standard deviation and coefficient of variation, I use the code below to generate a three wa
Suppose the next example: library(knitr) library(kableExtra) df <- data.frame(a = letters[1:10], b = 1:10) names(df) <- c("This is a looooooong title,
I have the dataset as coded below. For a specific set of treatment pair, year, month, level, I have assigned a unique ID. Ideally, a compelete "set" has two row
To knit an Rmd from the command line, you can do the following and it creates an HTML Rscript -e "rmarkdown::knit('test.Rmd')" I want to do this for many Rmds
I'm looking for a nicely formated markdown output of test results that are produced within a for loop and structured with headings. For example df <- data.f