bst365体育投注网址大全

Questions tagged [r]

R is a free, open-source programming language and software environment for statistical computing, bioinformatics, visualization, and general computing. Please provide minimal and reproducible example(s) along with the desired output. Use `dput()` for data and specify all non-base packages with `library()` calls. Do not embed pictures for data or code, use indented code blocks instead. For statistics related questions, use https://stats.stackexchange.com.

Filter by
Sorted by
Tagged with
0
votes
0answers
3 views

sparklyr won't start or produce an error message

sparklyr was working on my EC2 machine, but after a security update it no longer starts. When I running the following code the operation never completes, times out, or produces an error message: > ...
0
votes
0answers
5 views

fastest way to conduct arithmentic on large rasters

I have a large number of large rasters (global extent, 250 m resolution; around 1e10 floating point cells)-- the filenames are in a vector deltaX.files. I want to add each of these to another raster, ...
0
votes
0answers
6 views

Creating a new variable based on conditions in others variables in a data frame in R

There are 100 delivery trucks and new trucks are added to the fleet regularly while the old trucks are removed regularly as well. A new truck takes 5 days to reach regular throughput like the current ...
0
votes
0answers
5 views

Is it possible to connect o MySQL running on Netgear readynas from my personal PC

I am a data analyst, not a DBA. Please excuse the lack of knowledge on DBA basics. I have tried researching the netgear community for information on how to set up a MYSQL server on the netgear ...
0
votes
0answers
17 views

n_distinct within a grouped tibble running slow in dplyr 1.0.0

I am running n_distinct within a grouped tibble, it seems to be running far slower in dplyr 1.0.0 than it was in previous versions of dplyr. For example, using a machine with dplyr 0.8.5: > library(...
0
votes
0answers
12 views

Using two nested foreach parallel loops where foreach is part of a function

In R, I try to run two nested parallel foreachloops. The first foreach loop is embedded in a function f which runs a number of tasks in parallel. The results are combined by a function. The function f ...
0
votes
0answers
8 views

Save unicode characters to .pdf in R

I would like to save specific unicode characters to a pdf file with ggsave. Example code library(ggplot2) ggplot() + geom_point(data = data.frame(x=1, y=1), aes(x,y), shape = "\u2191") + ...
0
votes
0answers
4 views

How to use the prediction function in robumeta

I'm doing a multivariate metanalysis in R using the robumeta package. I'm stuck at using the prediction argument: predict.robu produces the predicted mean and confidence interval of a fitted robumeta ...
0
votes
0answers
8 views

r vs. conda-forge: which channel do you install R packages from?

I recently bumped into an issue where I had accidentally installed some R packages from the r channel and others from the conda-forge channel in the same conda environment. This caused conflicts that ...
0
votes
2answers
17 views

Remove rows in data.frame when the entire row values match a regex, or match a group of values

I have a data frame like this (correct values ​​are just an example): df <- data.frame(a=c(" ","NO_DATA"," "," ",NA,NA,3), b=c("...
-1
votes
2answers
20 views

Is there a way to make a line plot that connects emperical pairs of words with ggplot2?

Im not sure what the correct name for this type of plot would be, but lets say we have a list of names (or letters here): data <- data.frame(letters[1:10]) Lets also say that we want to illustrate ...
0
votes
0answers
5 views

Function turning Factiva-HTML into a tidy-dataframe

Using the tm.plugin.factiva-package I want to create a function that can read Factiva-html files, and return them as a dataframe. So far I've managed to create a function that can read these files, ...
0
votes
0answers
4 views

Connecting to SFTP using RCurl - connection closes immediately

I'm trying to upload a file using SFTP... library(RCurl) ftpUpload(what = "C:/some/file.txt", to = "sftp://username:password@ftp.address.com:22/file.txt",debugfunction = ...
0
votes
1answer
15 views

Match factors in merged dataframes

I have dataframes DF1 and DF2: DF1 <- data.frame(color = factor(c("Blue", "Brown", "Blue", "Brown", "Blue", "Brown", "Blue", &...
0
votes
0answers
10 views

Stack graph in plotly with values displaying

with the below dataframe can we make a plotly stack graph df App u1 u2 u3 Total Grand total B 2 5 10 17 25 C 6 8 12 26 35 D 3 7 2 12 20 Expected output(...

15 30 50 per page
1
2 3 4 5
23642