search for: readxl

Displaying 20 results from an estimated 74 matches for "readxl".

Did you mean: readl
2010 Dec 08
3
ReadWrite.xls problem
...home, but have a problem reading the Data from the file. I have installed and loaded the Package xlsReadWrite so far. I have also "Changed directory". This is what I have entered daten=read.xls("Daten A2") This is my Error-Message in its German original: Fehler in .Call("ReadXls", file, colNames, sheet, type, from, rowNames, : Falsche Anzahl von Argumenten (11), erwarte 10 f?r ReadXls This is my Error-Message in its english translation: Error in .Call("ReadXls", file, colNames, sheet, type, from, rowNames, : Wrong Number of Arguments (11), expect 1...
2017 Nov 17
3
Dataframe is character
Hi everybody, Question: why are my dataframe and numeric variables a character? I read an excel file via readxl but my dataframe is a character, and numeric variables, eg "yi", are also a character. My excelfile is in English numeric Sometimes the dataframe was indeed a dataframe, but I do not know why it did sometimes. Thank you in advance, Roberto PS I used "guess". The problem is not s...
2011 Aug 24
3
Importing data from MS EXCEL (.xls) to R XXXX
...function from the xlsReadWrite package, however, I have been wrestling with it all afternoon long with no success. I continue to receive the following error message: > {widge<-read.xls("F:\\Classes\\Z1.Data\\stat.3010\\WidgeOne.xls", + colNames=TRUE,sheet=1)} Error in .Call("ReadXls", file, colNames, sheet, type, from, rowNames, : Incorrect number of arguments (11), expecting 10 for 'ReadXls' Any insight/suggestions/assistance is appreciated. Thank you, Dan [[alternative HTML version deleted]]
2017 Nov 17
0
Dataframe is character
class("dat") is different from class(dat), which is what you actually want. On 17-11-17, P. Roberto Bakker wrote: > Hi everybody, > > Question: why are my dataframe and numeric variables a character? > > I read an excel file via readxl but my dataframe is a character, and > numeric variables, eg "yi", are also a character. > My excelfile is in English numeric > Sometimes the dataframe was indeed a dataframe, but I do not know why it > did sometimes. > Thank you in advance, Roberto > PS I used "gue...
2012 Mar 15
2
Importing multiple worksheets from one Excle/ csv file into R
...; and created a 3 sheets example (e.g. 3 sheets in one Excle file, saved at 'Z:/WORK_2012/Data/' on my PC and is called 'test.xls' ) But my code failed to work. ----------------- library(xlsReadWrite) data1<-read.xls("Z:/WORK_2012/Data/test.xls") Error in .Call("ReadXls", file, colNames, sheet, type, from, rowNames, : Incorrect number of arguments (11), expecting 10 for 'ReadXls' ------------------ By reading the error message I thought the error message trys to tell me that I need to set some arguments, so I found all the arguments from http://...
2016 Nov 18
2
problem with normalizePath()
...taff who can judge and test such bugs and bug fixes? --> I'm BCC'ing this to one place at least. Best, Martin Maechler ETH Zurich > On Thu, Nov 17, 2016 at 2:28 PM, Laviolette, Michael < > Michael.Laviolette at dhhs.nh.gov> wrote: >> The packages "readxl" and "haven" (and possibly others) >> no longer access files on shared network drives. The >> problem appears to be in the normalizePath() >> function. The file can be read from a local drive or by >> functions that don't call normalizePath...
2016 Nov 30
1
problem with normalizePath()
...el < Michael.Laviolette at dhhs.nh.gov> wrote: > In researching another issue, I discovered a workaround: the network drive > folder needs to be mapped to the local PC. > > setwd("//Hzndhhsvf2/data/OCPH/EPI/BHSDM/Group/Michael Laviolette/Stat > tools") > df1 <- readxl::read_excel("addrlist-4-MikeL.xls", 2) > # fails, throws same error > df2 <- readxl::read_excel("Z:/Stat tools/addrlist-4-MikeL.xls", 2) # > works > > -----Original Message----- > From: Martin Maechler [mailto:maechler at stat.math.ethz.ch] &g...
2011 Jan 25
1
Importing xls from a http://
I know a lot of people asked similar questions like this. I have tried using read.xls () Error in .Call("ReadXls", file, colNames, sheet, type, from, rowNames, : Incorrect number of arguments (11), expecting 10 for ReadXls read.table or read.csv (Wrong table format) odbcConnectExcel have problem with the URL I want to import this excel file (http://www.econ.yale.edu/~shiller/data/ie_data.xls) fr...
2012 Dec 04
1
error reading xlsm file with read.xls
...ile using read.xls. I executed: read.xls("resultados.xlsm", colNames = TRUE, sheet = 1, type = "data.frame", from = 1, rowNames = NA, colClasses = "character", checkNames = TRUE, dateTime = "numeric", naStrings = NA, stringsAsFactors = F) Error: Call("ReadXls", file, colNames, sheet, type, from, rowNames, : Incorrect number of arguments (11), expecting 10 for 'ReadXls' If I just write read.xls("resultados.xlsm") It give me the same error. Regards, Sebastián. [[alternative HTML version deleted]]
2017 Jul 30
0
How export data set (available in the package) from R?
I also suggest you Hadley's optimized package for interoperating xls files with R: https://github.com/tidyverse/readxl https://cran.r-project.org/web/packages/readxl/index.html
2017 Sep 20
2
Keep on getting message errors when trying to install and load packages
...\Documents\R\win-library\3.4\haven? package ?readstata13? successfully unpacked and MD5 sums checked Warning: unable to move temporary installation ?C:\Users\PaulBernal\Documents\R\win-library\3.4\file2f741507f27\readstata13? to ?C:\Users\PaulBernal\Documents\R\win-library\3.4\readstata13? package ?readxl? successfully unpacked and MD5 sums checked Warning: unable to move temporary installation ?C:\Users\PaulBernal\Documents\R\win-library\3.4\file2f74271b1a7a\readxl? to ?C:\Users\PaulBernal\Documents\R\win-library\3.4\readxl? package ?RcmdrMisc? successfully unpacked and MD5 sums checked Warning: un...
2016 Nov 17
2
problem with normalizePath()
The packages "readxl" and "haven" (and possibly others) no longer access files on shared network drives. The problem appears to be in the normalizePath() function. The file can be read from a local drive or by functions that don't call normalizePath(). The error thrown is Error: path[1]="\\Hznd...
2012 Dec 04
6
leer .xlsm con read.xls
...ead.xls("resultados.xlsm", colNames = TRUE, sheet = 1, type = "data.frame", from = 1, rowNames = NA, colClasses = "character", checkNames = TRUE, dateTime = "numeric", naStrings = NA, stringsAsFactors = F) Pero me da el siguiente error: Error en .Call("ReadXls", file, colNames, sheet, type, from, rowNames, : Incorrect number of arguments (11), expecting 10 for ''ReadXls'' Si utilizo directamente: read.xls("resultados.xlsm") Me da el mismo error. ¿Cuál será el problema? Saludos, Sebastián. [[alternative HTML vers...
2016 Nov 30
0
problem with normalizePath()
In researching another issue, I discovered a workaround: the network drive folder needs to be mapped to the local PC. setwd("//Hzndhhsvf2/data/OCPH/EPI/BHSDM/Group/Michael Laviolette/Stat tools") df1 <- readxl::read_excel("addrlist-4-MikeL.xls", 2) # fails, throws same error df2 <- readxl::read_excel("Z:/Stat tools/addrlist-4-MikeL.xls", 2) # works -----Original Message----- From: Martin Maechler [mailto:maechler at stat.math.ethz.ch] Sent: Fri...
2017 Jul 30
5
How export data set (available in the package) from R?
"Data set flchain available in the survival? package". ?How can?I get?it (from R)? as Excel file? Thanks! [[alternative HTML version deleted]]
2011 Oct 11
5
help to ... import the data from Excel
Hi every one ,,,, i have problem in R program to import the data from excel , I have done the following: 1. install.packages("xlsReadWrite") 2. library(xlsReadWrite) 3. z<- read.xls("ReadXls",LTS,colNames=FALSE,sheet,type,form,rowNames=FALSE) and i got on the result: Error in read.xls("ReadXls", LTS, colNames = FALSE, rowNames = FALSE) : object 'LTS' not found also i tried to done < data(LTS, package = "xlsReadWrite") and we got on : Warning...
2017 Sep 21
0
Keep on getting message errors when trying to install and load packages
...3.4\haven? > package ?readstata13? successfully unpacked and MD5 sums checked > Warning: unable to move temporary installation > ?C:\Users\PaulBernal\Documents\R\win-library\3.4\file2f741507f27\readstata13? > to ?C:\Users\PaulBernal\Documents\R\win-library\3.4\readstata13? > package ?readxl? successfully unpacked and MD5 sums checked > Warning: unable to move temporary installation > ?C:\Users\PaulBernal\Documents\R\win-library\3.4\file2f74271b1a7a\readxl? > to ?C:\Users\PaulBernal\Documents\R\win-library\3.4\readxl? > package ?RcmdrMisc? successfully unpacked and MD5 sums...
2017 Sep 21
2
Keep on getting message errors when trying to install and load packages
...eadstata13? successfully unpacked and MD5 sums checked > > Warning: unable to move temporary installation > > ?C:\Users\PaulBernal\Documents\R\win-library\3.4\ > file2f741507f27\readstata13? > > to ?C:\Users\PaulBernal\Documents\R\win-library\3.4\readstata13? > > package ?readxl? successfully unpacked and MD5 sums checked > > Warning: unable to move temporary installation > > ?C:\Users\PaulBernal\Documents\R\win-library\3.4\ > file2f74271b1a7a\readxl? > > to ?C:\Users\PaulBernal\Documents\R\win-library\3.4\readxl? > > package ?RcmdrMisc? successf...
2017 Sep 21
0
Keep on getting message errors when trying to install and load packages
...ully unpacked and MD5 sums checked >> > Warning: unable to move temporary installation >> > ?C:\Users\PaulBernal\Documents\R\win-library\3.4\file2f74150 >> 7f27\readstata13? >> > to ?C:\Users\PaulBernal\Documents\R\win-library\3.4\readstata13? >> > package ?readxl? successfully unpacked and MD5 sums checked >> > Warning: unable to move temporary installation >> > ?C:\Users\PaulBernal\Documents\R\win-library\3.4\file2f74271 >> b1a7a\readxl? >> > to ?C:\Users\PaulBernal\Documents\R\win-library\3.4\readxl? >> > package...
2023 Mar 31
1
Extraer texto de una columna en Excel
...omentario. Muchas gracias. On Fri, 31 Mar 2023 at 12:03, Carlos Ortega <cof en qualityexcellence.es> wrote: > Hola, > > Como no sé lo que querías, veo dos alternativas... > Yo suelo usar "stringi" en vez de "stringr" > > #----------------- > library(readxl) > library(stringi) > datos <- read_excel("Agrologia.xlsx") > toextract <- unlist(stri_extract_all_fixed(datos$CARACTERIS, "textura")) > > #--- Si quiero un dataframe completo donde CARACTERIS tenga "textura" o > "texturas" > lineas...