Displaying 20 results from an estimated 2000 matches similar to: "Absolute path in gdata library"
2009 Aug 18
2
(no subject)
Dear all,
I have a problem with the function read.xls from the gdata package, error message see below. Two examples:
First, I try to read my data, which does not work;
Secondly, I tried the example code/data with the Iris data, which worked
Any idea?
Thanks,
Lars
> path<-"I:/subProjects/bh/HPGD/"
>
> setwd(path)
>
> xls <- "Platten_Liste_090421.xls"
2010 Feb 05
2
number of Excel worksheets
Dear All,
I would like to count or list the names of the existing worksheets
within an .xls file. Any hints?
Thaks,
Gabor
--
Pozsgai G?bor
www.coleoptera.hu
www.photogabor.com
2009 Mar 12
1
read.xls and name of worksheet
Hi,
I would like to some excel files with some worksheets. I tried this with
the following R script:
library(gdata)
i<-1
rc<-0
while(rc != "try-error") {
wksh<-try(read.xls("cluster-microarray-FW.xls",sheet=i,verbose=TRUE,perl="perl"))
rc<-class(wksh)
print(sprintf("------- i=%2d rc=%s ---------------",i,rc))
if (rc !=
2010 Apr 22
1
packages gdata / gtools - installation in R 2.11.0
Dear R-list members,
I have just downloaded R version 2.11.0. Then I installed
package gdata. At the end of the installation, a warning message
said that package gtools could not be found. Package gdata
was, after the installation, included in the "Package Index"
in the help files. Messages during installation (which was made
through the menu Packages / Instal package(s), choosing the
2013 Apr 02
1
gdata selectively not working
I can use gdata to successfully read in the example Excel file, but not any
other excel files. Why might this be the case? It seems that the problem
has something to do with opening the database but no indication as to what
the problem is. So i'm at a loss of how to fix it.
> library(gdata)
gdata: read.xls support for 'XLS' (Excel 97-2004) files ENABLED.
gdata: read.xls support
2007 Nov 17
2
Rename Variable and package gdata
Dear R-helpers,
I hope someone can help me with the following problem:
I derived a variable from many others and produced data.frame: toktempo
When I look at the variable name I get:
names(toktempo)
[1] "otok.V5"
But I want the variable name to be Tempo so I googled around to find info
about renaming variables.
I found a webpage which seemed to indicate to me that there was a
2010 Feb 11
1
gdata
Hi
Using R 2.10.1 on a mac os 10.6.2, I have have a problem with gdata package.
When I use the command read.xls, I get this error-message:
Erreur dans xls2sep(xls, sheet, verbose = verbose, ..., method = method, :
Unable to read translated csv file
'/var/folders/gb/gbzQ4sqTF-KK3D5m6v-IJE+++TI/-Tmp-//Rtmp3Hprw9/file10d63af1.csv'.
Erreur dans file.exists(tfn) : argument 'file'
2013 May 01
1
Trouble with methods() after loading gdata package.
Greetings to r-help land.
I've run into some program crashes and I've traced them back to methods()
behavior
after the package gdata is loaded. I provide now a minimal re-producible
example. This seems bugish to me. How about you?
dat <- data.frame(x = rnorm(100), y = rnorm(100))
lm1 <- lm(y ~ x, data = dat)
methods(class = "lm")
## OK so far
library(gdata)
2010 Nov 28
3
Where is gdata?
Hi folks,
Win 7 64 bit
R 32 bit
> install.packages("gregmisc")
Installing package(s) into ‘C:\Users\satimiswin764\Documents/R/win-library/2.12’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
also installing the dependency ‘gmodels’
trying URL
'http://cran.ms.unimelb.edu.au/bin/windows/contrib/2.12/gmodels_2.15.0.zip'
Content type
2014 Feb 24
3
Error gdata and gplots packages
Hi, I just installed Ubuntu 12.04.4. I installed R by following
instructions from CRAN after modification into my /etc/apt/sources.list file
sudo apt-get update
sudo apt-get install r-base
sudo apt-get install r-base-dev
When I try to load library(gdata) ou library(gplots), I have error
message :
library(gdata)
gdata: read.xls support for 'XLS' (Excel 97-2004) files
2012 Jan 09
2
RODBC vs gdata
Hi
one col in my Excel file contains many numbers. But on line 3000 and
some other lines are strings like "FG 1". "RODBS" seems to omit this
lines. "gdata" works, but is much slower.
Is this a bug of RODBC or do I apply it wrong?
Example with the same "file.xlsx"
library(RODBC); excel <- odbcConnectExcel2007("file.xlsx")
tab <-
2011 Dec 04
2
a weird question about gdata:::
Dear R People:
If I put in:
> findPerl
Error: object 'findPerl' not found
But if I use:
> gdata:::findPerl
function (perl, verbose = "FALSE")
{
errorMsg <- "perl executable not found. Use perl= argument to
specify the correct path."
if (missing(perl)) {
perl = "perl"
}
perl = Sys.which(perl)
if (perl == "" ||
2011 Jul 07
2
gdata read.xls() values format problem
Dear All,
When I use read.xls() in gdata package to read xls files, I noticed an issue
and couldn't find any solutions after I serched all previous posts.
In the excel file, the number value, for example, is actually 2.3456789 but
formatted as 2.3 (Format Cells ---> Decimal places:1). After I use
read.xls() to import the excel file, I found that, in R, this number is read
as the formatted
2010 Nov 12
1
issue with ... in write.fwf in gdata
Dear R-list
This is just message to inform that the there is an issue with write.fwf in the gdata library (from version 2.5.0 on). It does not seem to accept further arguments to write.table like "eol" as the help file indicates as it stops when executing tmp <- lapply(x, format.info, ...).
Great package though - I use it a lot except for this function :)
See example below.
>
2008 Oct 30
1
trying to figure out reorder.factor in gdata
I'm trying to make a factor with levels for day of week, appear as
Monday-Sunday, rather than alphabetically. I'm using reorder.factor
from gdata package, but obviously not using it properly. What am I
doing wrong? Thanks.
>data <- read.table("DataEarly2008.txt", sep=" ", header=T, as.is=1:2)
>str(data)
'data.frame': 7953 obs. of 9 variables:
$
2008 Dec 18
1
Help: Some problem with "gdata" package when using Dates
Dear List:
I encountered this strange problem. I want to read dates in a R program.
This is a sample data:
Dates
12/12/08
14/12/08
18/01/08
28/02/08
16/06/08
19/07/08
28/09/08
If I save these dates in a .csv file, and read it in R using "read.csv", I
can perfectly read the data, and the commands "months(Dates)", "days(Dates)"
work perfectly fine. On the other hand,
2011 Sep 06
1
read.xls (gdata) problem
I've suddenly started seeing a consistent problem with read.xls.
No matter what xls file I try I always get an error message of this type:
Error in xls2sep(xls, sheet, verbose = verbose, ..., method = method, :
Intermediate file
'/var/folders/cb/vvshkpm90lx_y2n69qlyw4z40000gn/T//RtmpK50r4g/file546a2722.csv'
missing!
In addition: Warning message:
running command
2010 Apr 07
1
behaviour of xls2sep when running read.xls (package gdata) sinceupgrade of R
Hello eveRybody (and probably special regards to Gabor G....),
I recently upgraded from R-2.9.2-win32 to R-10.1.0-win32, and I'm using
Windows XP Professional 2002 with service pack 3 on a PC with IntelCore
Duo CPU@ 3.00 GHz.
Last time I used it (some weeks ago, before upgrading), one of my
scripts (including the two lines cited below) used to run OK.
When I ran it yesterday evening (after
2014 Aug 15
2
leer ficheros excel en R en Ubuntu
offline? te lo envío a tu email, pq no creo que a toda la lista sea buena
idea.
El 15 de agosto de 2014, 9:47, Jorge I Velez <jorgeivanvelez en gmail.com>
escribió:
> De nada, Miguel. Es posible que me envies el archivo offline? --JIV
>
>
>
> 2014-08-15 17:45 GMT+10:00 Miguel Fiandor Gutiérrez <
> miguel.fiandor.gutierrez en gmail.com>:
>
> Gracias
2014 Aug 15
2
leer ficheros excel en R en Ubuntu
Gracias Jorge por contestar tan rápido.
Con gdata hago eso del path, y directamente con el fichero, lo vi en una
web, y he intentado todas las opcioens que he visto.
En vez de install.packages('rJava', type = 'source')
he hecho install.packages('rJava')
Ahora probaré, y lo mismo con scan y readLines.
He visto en stackoverflow que mi problema puede ser actualizar java,