Automation of Daily Task of Data Extract based on user input
I need to automate a daily request for data extract.I want to use Smartsheet webform to get input from user and then once user submit this request it should take these inputs as variable for an oracle...
View ArticleIndentation issue in RStudio
Like many others, I like writing my codes on several lines and I appreciate the auto-indent feature offered by RStudio. The issue suddenly started when the word undefined showed up in the code editor...
View Article"Error: `x` must be a formula" with qwraps2 summary_table function
I am trying to make a table with summary statistics that looks similar to this (but with min/max/median/mean values filled in): Type Mass (g) tct tcx tht thx tct Min Max Median Mean (SD) Length (mm)...
View ArticleR and bioconductor, why is the getGEO() function generating the error "Error...
I am using R (version 3.4.4) on a computer running Linux Ubuntu 18.04.3 LTS. I am trying to download a dataset from Gene Expression Omnibus (GEO) with the function getGEO() of the bioconductor package...
View ArticleDiagramme R graph in r-stats: node spacing and other formatting in tree
I'm building a conceptual model that involves:ActivitiesDirect EffectsIndirect EffectsValued ComponentsThe activities link to direct and indirect effects that link to the valued components. The edges...
View ArticleHow can I explicitly assign unique colors to every point in an R Plotly...
I have some data like this:data <- data.frame(x=runif(500), y=runif(500), z=runif(500)) I want a scatterplot with points colored independently/discretely in each dimension (X, Y, and Z) using RGB...
View ArticleHow to load multiple ".RData" in R and them combine as mcmc list?
Suppose I have multiple .RData file in a folder like sample 1.RData sample 2.RData sample 3.RData sample 4.RData sample 5.RData sample 6.RData sample 7.RData sample 8.RData I would like to load all of...
View ArticleConverting a nested list to a data frame seems to erase some entries
I am trying to convert a nested list (video_details_t) into a data frame. Most of the information in the nested list shouldn't be in the final data frame, just "tags" (and ideally "id"). The nested...
View Articleknit pagedown html_resume to pdf with chrome_print produces error
I would like to produce an HTML and PDF version of a resume with pagedown::html_resume and pagedown::chrome_print.I tried running the following code from the example provided by pagedown:--- title:...
View Articlehighcharter: how can I customize the labels on a column plot
I am trying to make a highcharts plot similar to this (made with ggplot): This code comes close, but I am uncertain how to change the label to indicate the games rather than the win_rate.data =...
View ArticleHorizontal rule in R Markdown / Bookdown causing errors
Suddenly, I run into an error when knitting to PDF in Markdown/Bookdown. Nothing about my system has changed. The error is being caused by a 'horzontal rule' i.e. --- or *** anywhere in markdown,...
View ArticleCollapse strings before empty cell in R
I want to scrape all the content which has the class "content-text__container" inside the tag "p". While scraping, some of the sentences are in the row bellow. I want to collapse, so the paragraph is...
View ArticleWhat is the easiest way to create a stacked bar chart using ggplot2? [duplicate]
My 4x5 tibble (below) is stored in a .csv file:I would like to create a stacked bar chart, where the x-axis represents the three foods and the y-axis represents the percentage points (cumulatively,...
View ArticleIs there a way to sum together lists of data frames within a larger list?
I have a large list (z) containing 3 lists of 10 data frames. I would like to collapse this object into a list of 3 data frames where each data frame is the sum of the 10 prior data frames (think...
View ArticleHow to create a secure API using R?
I am trying to create an interactive app in Slack (something like this), which requires an interactive-endpoint to be created from my end. The documentation provided by plumber is here.They say...
View ArticleObserve event inside loop
I am trying to create a UI matrix of action buttons that increase in value by one when clicked (Counter with a different value for each button through ObserveEvent). I would like to have access to...
View ArticleUse aggregate to create a barplot
The dataset called bodyfat.csv, I attached the data set in plain text for your reference.After reading in bodyfat.csv data file, I generated a variable "bodycat" to categorize "bodyfat" into the three...
View ArticleTrying to install keras & tensorflow on an Amazon AWS Instance
I am running into some problems when trying to install keras and tensorflow on a Ubuntu EC2 Instance.I load in the library and try to install keras.library(keras) library(tensorflow)...
View ArticleCalling other scripts in PyPi package
I have a python package that I have uploaded to PyPi. The script calls two additional R scripts to run. I have verified that the required R scripts are also uploaded to PyPi (by physically downloading...
View ArticleWhy don't my dose-response curves start at zero?
I used ggplot2 for my concentration-response curves on ecotoxicological tests. So, I got 4 graphics but I want to fix 3 of them because these curves don't start at zero like the A1 curve.
View Article