readxl Questions

3

Solved

When running read_xlsx() in my normal .R script, I'm able to read in the data. But when running the .R script with source() in R Markdown, it suddenly takes a long time (> 20+++ mins I always te...
Headlong asked 5/5, 2022 at 8:57

2

currently I am preparing an R-lesson for a customer. We want to read in data from a password protected xlsx file. Thus, I am trying to read this password protected xlsx file into R (unprotecting th...
Toothsome asked 8/2, 2021 at 9:19

2

Solved

I ran a Rshiny app and it works as expected but in console I get the following message: New names: * `` -> `..18` what does it mean? It occurs when I try to do this > data1<-read_exce...
Lexicon asked 16/3, 2019 at 13:23

5

is there a way to read an open excel file into R? When an excel file is open in Excel, Excel puts a lock on the file, such as the reading method in R cannot access the file. Can you circumvent this...
Filmer asked 13/7, 2022 at 8:54

17

Solved

I am using R with readxl package. I try to import an Excel file with the following command: library(readxl) city_codes <- read_excel("./data/file.xlsx", sheet = "city_codes") It says it is a ...
Pilsner asked 18/6, 2017 at 21:13

8

I have multiple .xls (~100MB) files from which I would like to load multiple sheets (from each) into R as a dataframe. I have tried various functions, such as xlsx::xlsx2 and XLConnect::readWorkshe...
Providential asked 6/12, 2019 at 17:51

4

Solved

Consider a file on the internet (like this one (note the s in https) https://evs.nci.nih.gov/ftp1/CDISC/SDTM/SDTM%20Terminology.xls How can the sheet 2 of the file be read into R? The following c...
Orbit asked 28/12, 2016 at 19:39

1

Solved

I have a excel file like this: I try to read it in read.xlsx or read_excel by skipping the second row: library(xlsx) df <- read.xlsx('./data.xls', 'Sheet1') library(readxl) df <- read_excel...
Drooff asked 23/6, 2020 at 7:46

3

Solved

I am trying to link up my excel data set to R for statistical analysis. I am running on OSX Sierra (10.12.6) with R studio (1.0.153) and Java 8 (update 144). The function "read_excel" was able to...
Microcircuit asked 11/10, 2017 at 18:4

2

Solved

Is there any way to read out the color-index of cells from excel files with R? While I can set the cell color with packages like XLConnect or XLSX, I have found no way to extract the color-informa...
Inanna asked 23/3, 2017 at 16:54

3

Solved

How can I import data from a .xlsx file into R so that numbers are represented as numbers, when their original decimal separator is comma not a dot? The only package I know of, when dealing with e...
Hardworking asked 5/1, 2018 at 20:10

1

I'm getting really slow read times using read_excel on a particular machine with a particular xlsm file. Reading the same xlsm file across 2 different machines I get read times of 72 seconds versus...
Outdate asked 29/12, 2018 at 9:8

2

Solved

When I read any of the sheets from the file Posti-Letto-Istat.xls with read_excel from the readxl package I have no problems: library(readxl) pl_istat1 <- read_excel(path = "data/Posti-Letto-Is...
Sempstress asked 30/9, 2017 at 13:57

4

Solved

I have been reading up on how to read and combine multiple xlsx files into one R data frame and have come across some very good suggestions like, How to read multiple xlsx file in R using loop with...
Anthropomorphism asked 5/7, 2016 at 7:33

2

Solved

My questions are: What is the fastest way to read large(ish) .xlsx Excel files into R? 10 to 200 MB xlsx files, with multiple sheets. Can some kind of parallel processing be used, e.g. each core ...
Mexican asked 4/4, 2019 at 10:2

2

Solved

I have been given an excel spreadsheet: column names are in the first row, garbage text is in the second row, and the actual data begins in the third row. I want to use the readxl package to read t...
Banksia asked 3/8, 2018 at 13:9

1

Solved

What I'm trying to do is exactly like what NSaunder's blog has done: Change a coloured cell in Excell into a category. However, I am using the readxl package whereas NSaunder's post uses the xlsx p...
After asked 8/11, 2018 at 14:22

1

I have a 26 mb excel workbook to which I am trying to add a 42 kb worksheet. Using the openxlsx package, I have the following code: wb_object <- loadWorkbook(to_name2) addWorksheet(wb_object, "...
Frustum asked 8/3, 2018 at 20:33

6

I'm importing xlsx 2007 tables into R 3.2.1patched using package readxl 0.1.0 under Windows 7 64. The tables' size is on the order of 25,000 rows by 200 columns. Function read_excel() works a trea...
Cunha asked 26/7, 2015 at 5:15

2

I have date in Excel as follows, first col1 as char and from col2 to col5 is in date format (mm/dd/yyyy) id 1/1/2016 2/1/2016 3/1/2016 4/1/2016 5/1/2016 1 23 545 33 55 66 2 454 536 66 80 11 3 83 5...
Brachium asked 13/3, 2017 at 6:14
1

© 2022 - 2025 — McMap. All rights reserved.