Some R code that used to work to download and unzip .gz files from PubMed is no longer working. Here's a reproducible example: filez = "pubmed22n1148.xml.gz" ur
I'd like to know if there is a way to speed up a code built with purrr package. I tried to convert it into furr and use the multisession option, but it is even
I am using CAT command in R to get following output. The Output in knitted PDF file is different to what I get in console. How can I get similar output in PDF a
I'm reading tables from an odbc driver on an amazonaws server. I am using R 4.0.0 on a 64 bit windows computer. Working from home and using company's VPN so my
I use Iris dataset to build a neuralnet model. My goal is to use the caret package from R to predict the species class of various Iris flowers. I try to train m
I find out an interesting and strange difference between the same chart in ggplot and ggplotly income_gap_chart <- ggplot(income_gap, aes(x = Country, y = Pe
I have multiple data frames with information about listed companies from the year 2000 So I want to put them in a list (lets call it df) because I want to do re
I have created a factorial function which is then used to create a function for the binomial coefficient. My factorial function works but the binomial function
I try to use tidymodels to tune the workflow with recipe and model parameters. When tuning a single workflow there is no problem. But when tuning a workflowsets
I have NAM wind models that I create map from but I am struggling to add average wind direction vectors. How do I convert the U and V vectors so they give avera
I have one quest (pretty short). I shoud recode variebles with function(). I tried some, but it doesn't work still. It should work with this: recode.numeric(x =
I am trying to get predictions of a multiple variables model, its eplt, its made of 7 scores and one final exam score moy_exam2, I want to predict the later usi
I am running corr.test() to look at potential correlations between genes and bacteria in a dataframe using this code: spearman=cor.test(FullSet$counts.Bac, Full
I am new to working with APIs and especially MS Graph API so please excuse my ignorance. I work with data in R which is similar to Python, I have a data frame w
I have been having problems finding old packages for new nersion of R, any help appreciated > install.packages('NBZIMM') Warning in install.packages : pack
I have a complex shiny app with a lot of inputs, a leaflet map etc ... The problem I have is when the app is busy making some calculations, the users keep on cl
I am trying to transform a dataset: [1]: https://i.stack.imgur.com/09Ioo.png To something like this: [2]: https://i.stack.imgur.com/vKKu2.png How can I do this
everyone I generated 2 ggplot figures and I would like now to add them into the same figure, to do that I simply add the +. So I have 2 plots : (1 ggtree and 1
I am trying to create a simple map of the total number of collisions by county. I will pool the collision across species and then make the fill color dependent
I am using R in order to create a graph for my Tukey Test after my ANOVA analysis. This is the code: TukeyHSD(my.anova) Tukeytest <- TukeyHSD(my.anova) plot(