Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
27 views

How to extract from multiple zip files only the csv files whose name starts with a specific string of characters in r? [duplicate]

Let's consider a folder myfile containing more than a hundred zip files (z001.zip, z002.zip, z003.zip ...) each always including 4 distinct csv files whose names always start with these three letters ...
denis's user avatar
  • 487
1 vote
1 answer
36 views

How to download and read .csv file (daily streamflow) from Water Survey of Canada website?

I'm trying to have R automatically download and read a .csv file (daily streamflow) from Water Survey of Canada website to a local directory. To do this manually, I have to click on the "Download?...
Yang Yang's user avatar
  • 852
0 votes
0 answers
47 views

Exporting TSIBBLE object to CSV (forecasted values with prediction intervals)

I would like to export to CSV the results of my forecast project, summarised by following tsibble object # A tsibble: 7 x 6 [1M] # Key: .model [1] .model Month ...
Mark_'s user avatar
  • 21
0 votes
1 answer
111 views

CSV file is treating commas in string values as delimiters and shifting data into wrong columns. Is there a way to fix this in R?

I have a large csv file that I pulled from an online database that doesn't seem to read well. It looks like it treats commas in a couple of the columns as delimiters and then parses the data into new ...
igm13's user avatar
  • 21
0 votes
0 answers
31 views

Trying to read a .csv0000_000 file from aws into R

I have access to an AWS bucket with a bunch of files I want to read into Rstudio. Bur for some reason the files are all saved as .csv0000_000 types on AWS. When I was working with a few of the smaller ...
kbruh's user avatar
  • 3
1 vote
1 answer
48 views

Uploading certain columns of multiple CSV files in R and putting them into a data frame

So I'm having trouble working this out. I have multiple CSV files with the same two columns: Wavenumber and Intensity. The Wavenumber column for each file is the exact same, so I don't really care ...
Keegan's user avatar
  • 25
-1 votes
2 answers
38 views

Create a kmer database from a huge csv file [closed]

I have a huge csv file (7.5GB) it is structured with three columns (no header), the first it is a string with 7 characters (SSSSDKI), the second is the count (100) and the third represents the length ...
Paulo Sergio Schlogl's user avatar
0 votes
2 answers
80 views

Greek letters in Rstudio, and exporting to csv

I'm reading data from pdf files that contains Greek letters, and it imports as unicode. I want it to: a) display correctly as Greek letters in RStudio, and b) maintain the correctly formatted Greek ...
Phenomniverse's user avatar
0 votes
0 answers
41 views

Why isn't my R script pausing when I ask for a prompt?

I'm writing a script that asks for multiple user inputs using the command: readline(prompt = "Question here") My first attempt at the beginning of the script works correctly. I'm asking for ...
Keegan's user avatar
  • 25
0 votes
2 answers
49 views

How can I rearrange a CSV file with taxonomic data according to to a template list

I am trying to replace the tips of my Phylogenetic tree with the taxa names. I have a CSV file with the tip labels in the first column and the taxa names in the second column. However, the order of ...
Ethan Gates's user avatar
0 votes
2 answers
59 views

How can I save results of multiple R models to a csv?

I was able to create a tibble with results of 12 linear models as lists with the code below. These are linear models between average monthly flow (MMF) and watershed area (DRAINAGE_AREA_GROSS) and the ...
Jacob Bauer's user avatar
0 votes
1 answer
55 views

Trouble Uploading CSV File to Shiny App: Data Not Readable and Column Names Not Recognized

I'm encountering issues when attempting to upload a CSV file into my Shiny app. After saving my Excel data as a CSV file and uploading it to the Shiny app. I tried checking what was happening on https:...
Zoë dK's user avatar
1 vote
0 answers
22 views

Error in merging the columns of multiple .csv files during Multiple Linear regression in R [duplicate]

I am trying to apply multiple linear regression between 4 predictors and 1 response variable using R. All these variables exist in separate .csv files , as there are more than 1000 data points in each ...
tom's user avatar
  • 53
0 votes
0 answers
57 views

Error when uploading CSV file to Shiny app

I want to use a Shiny app where users can upload CSV files for high resolution melting analysis. However, I receive an error when uploading my data in app. How can I resolve this issue? The CSV file ...
Zoë dK's user avatar
2 votes
2 answers
41 views

How can you append multiple data frames to multiple corresponding csv files in R?

I have two dataframes that I have saved to csv: library(readr) df1 <- data.frame(time = c(10,20,30), score = c(4,5,6)) df2 <- data.frame(lane = c(200,500,400), score = c(2,3,8)) write_csv(df1, ...
user3334472's user avatar

15 30 50 per page
1
2 3 4 5
301