xlconnect Questions

5

Solved

I have loaded a workbook into R and read in the worksheets using xlConnect, but I was wondering if there was a way of extracting the names of the sheets perhaps in a vector? So far my code is: da...
Vitiate asked 30/7, 2013 at 10:39

12

I understand that XLConnect can be used to read an Excel worksheet into R. For example, this would read the first worksheet in a workbook called test.xls into R. library(XLConnect) readWorksheetFr...
Thinkable asked 18/10, 2012 at 1:6

5

I'm installing XLConnect library in R studio but, unable to do so. I know that this package has java dependency and my R software and java both are 64 bit. Also, both have configured correctly. I h...
Ibbie asked 14/4, 2021 at 7:30

1

Since I updated RStudio last day I cannot get Rstudio to drop it's hold on my excelfiles. I've tried the following to no avail: unlink(fileName, recursive = TRUE) file.info(fileName) file.remove...
Hyperventilation asked 6/8, 2020 at 8:10

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

2

Solved

I'm trying to download an .xlsx file from the eia and getting the following error. The error is: "Error: ZipException (Java): invalid entry size (expected 2385 but got 2390 bytes)" I have tried ...
Floccus asked 4/3, 2015 at 17:14

2

Solved

I am trying to write a R data frame to Excel and want to add additional cells/columns that have Excel formulas and/or data validation values (e.g. using the Data/Validation menu in Excel to provide...
Fenn asked 27/4, 2015 at 14:17

3

I'm a bit impressed because I couldn't find an answer so far. I have a small R script that is loading data from one source and writing a few dozens Excel files from it. The problem now is: those f...
Hornet asked 23/6, 2016 at 12:16

2

Solved

I am trying to read value from a .xlsx file using openxlsx package in R. In simple words, I need to write a row of data, which then populates some output cell that has to be read back in R. I will ...
Erivan asked 24/10, 2017 at 15:21

4

Solved

I am trying to import an excel sheet into r. I used the following code: x <- loadWorkbook("x.xlsx") b <- readWorksheet(x, sheet="b") The first line works fine, however, running the second ...
Monomer asked 27/10, 2014 at 12:31

0

Part 1: I am trying to rename worksheets in a list of workbooks using lapply and XLConnect (I need to rename them for the next part of the code to run properly, more on this in part 2): library(X...
Gladdie asked 12/12, 2016 at 19:17

2

Solved

I'm relatively new to R (and programming). I have an Excel workbook with 36 sheets, but suppose that I don't know how many sheets there are and I want my code to find that out for me. I have tried ...
Houstonhoustonia asked 11/11, 2016 at 11:35

1

Solved

I am using the function readWorksheet from the package XLConnect to import Excel sheets in R. These sheets contain special characters (e.g., ø, õ, ú) which R does not handle very well. As far as I ...
Camass asked 7/11, 2016 at 10:56

2

I am trying to use XLConnect library in R. If I execute library(XLConnect) I get the following error message: JAVA_HOME cannot be determined from the Registry To resolve this problem I set fi...
Terramycin asked 11/11, 2015 at 17:12

1

Solved

A couple of months ago I found on the Internet information about an R package to connect R with Excel and the other way around (doing basically what xlsx and XLConnect do). However, the main diffe...
Clarinda asked 25/3, 2015 at 11:12

1

I have to read a file in a list of folders and save data in R. I use following code for my test data and it works. When I use the code for the actual data then I get this error Error: OutOfM...
Refund asked 26/11, 2014 at 16:16

1

Solved

Has anyone tried using the download handler in R Shiny to download a freshly created Excel file with XLConnect? In the ui.R there is the unremarkable line: downloadButton('downloadData', 'Downloa...
Fianna asked 27/1, 2014 at 14:43

1

I have a collection of excel files which I am importing into R. The files contain hidden data which I would like to disregard -- eg, simply not importing it, or importing it with a flag indicatin...
Silda asked 2/10, 2013 at 15:18

1

XLConnect is, as the manual describes it, "a package that allows for reading, writing and manipulation of Microsoft Excel files from within R". Installation on Windows and Linux is straightforward...
Aphra asked 8/3, 2013 at 21:52

1

I'm running into a problem with JVM memory using XLConnect (Mirai Solutions) in R. Data loads into R just fine using loadWorkbook or readWorksheetFromFile, but larger data (data frames about 3MB)...
Fornix asked 1/8, 2012 at 20:21
1

© 2022 - 2024 — McMap. All rights reserved.