Displaying 20 results from an estimated 30000 matches similar to: "importing large objects"
2004 Feb 27
2
importing S-Plus data files
I have some data in the Linux version of S-Plus, which I can not use
anymore. The program is just broken and won't run. I'm trying to
find a way to import that data to either Windows version of S-Plus
(which I have running on my other machine) or R (Linux or Windows,
it doesn't matter).
Unfortunately, nothing seems to work.
Windows S-Plus seem to ignore files from Linux .Data
2013 Jul 16
2
Importing data by odbcConnectExcel in 64 bit
I have probably an old question.
I have R.3.0.1 installed in 64 bit windows 7. The odbcConnectExcel in RODBC
library does not work. Tried odbcConnectExcel2007 still does not work.
Any ideas.
Thanks
Melissa<-sqlFetch(odbcConnectExcel2007("F:\\Cotton2012\\validation.xlsx"),sqtable
= "Sheet3",
+ na.strings = "NA", as.is = TRUE)
Error in
2002 May 10
2
RODBC for importing dbf
Hi
I know that it is very easy to import data from a dbf file to R, by
saving the data as csv, for instance.
However, I have several hundreds of files to do that. So, I thought of
using RODBC to read the dbf files and save it as data.frame. However, I
cannot even start (this is my first time using such package):
> library(RODBC)
> bdades <- odbcConnect("prova.DBF")
Warning
2005 Jun 08
1
RODBC question: problem importing series with blank cells
Hello,
I have an excel file that I load through RODBC. Some of my columns are
blank. They are equity time series and the stocks did not exist at the
earlier dates. My problem is that the whole column becomes <NA> even though
there are numbers at later dates.
Here's my excel file
http://www.tradebit.com/download.php/35699
<http://www.tradebit.com/download.php/35699>
And
2002 Nov 09
2
importing data from Excel using RODBC
Hi,
I used RODBC to import data from an Excel spreadsheet "*.xls", but some
columns were returned as zeros. When I looked at these columns in Excel, I
found that thery are results of formula calculations and not entry. My
question is: Is there any parameter or command I need to use in order to
overcome this problem?
Thank you
Ahmad Abu Hammour
2010 Mar 30
1
dataframe in loop
hello all:
I would like to thank those who helped me out of the string
problem..but now I got another problem.
I used R to query from SQL and got a list of crsp_fundno of G-style mutual
funds which is still alive. I use the following codes and got what I want:
library(RODBC)
channel<-odbcConnect("CRSPFUND")
g.crspfundno<-sqlQuery(channel,"select crsp_fundno from Fund_style
2010 Mar 24
3
string problems in R
Hello all
I have been working on my thesis using R. I am a newbie to R and met a problem
that bothered me for a while due to my lack of acquaintance of R.
I am using R to query from SQL. I got a list of crsp_fundno of G-style mutual
funds which is still alive. I use the following codes and got what I want:
library(RODBC)
channel<-odbcConnect("CRSPFUND")
2005 Aug 13
1
retrieving large columns using RODBC
Hi,
I have a large table in Postgresql (result of an MCMC simulation, with 1
million rows) and I would like to retrive colums (correspond to variables)
using RODBC. I have a column called "index" which is used to order rows.
Unfortunately, sqlQuery can't return all the values from a column at once
(RODBC complains about lack of memory). So I am using the following code:
2010 Aug 04
1
Question regarding S4 objects and reading in excel data with RODBC
L.S.
I am trying to get data from an excel sheet using the RODBC library, quite
like the example on page 34 of the 'Data manipulation with R' book written
by Phil Spector. It seems very straightforward, yet I get the same error
everytime I try it, with different excel sheets and trying to tweek the code
a bit. This is what I do:
library(RODBC)
sheet='X:\\example.xls'
2008 Dec 22
2
Treatment of Date ODBC objects in R (RODBC)
Dear all,
Retrieving an Oracle "Date" data type by means of RODBC (version
1.2-4) I get different classes in R depending on which operating
system I am in:
On MacOSX I get "Date" class
On Windows I get " "POSIXt" "POSIXct" class
The problem is material, as converting the "POSIXt" "POSIXct" object
with as.Date() returns one
2010 Dec 17
2
RODBC for 64-bit R with 32-bit Access
Hello Folks,
I do hope this is the correct place to post (and not in R-SIG-DB). I have
spent the better part of a day searching for an answer to this question, and
have yet to resolve it.
I am trying to query an .accdb Access database (with 32-bit Office 2007
currently residing on the machine) with 64-bit R via RODBC. There seem to
be some conflicting accounts as to whether or not this is
2002 Aug 09
1
asking for help (was RE: nnet trouble, continued)
> From: Sirotkin, Alexander [mailto:demiurg at ti.com]
>
> P.S. Anybody who finds my postings insulting, please write a
> mail filter
> for my address. Although I can not understand why it may insult
> anybody.
>
> P.P.S. Must be related to cultural differences, I guess...
It's not insulting to me, personally, but quite possibly to the author of
that
2010 Jan 28
1
Problem associated with importing xlsx data file (Excel 2007)
Hi all,
I have imported xlsx file (Excel 2007) into R using the following scripts.
*library(RODBC)
*
*setwd(".......") *
*query <- odbcConnectExcel2007(xls.file = "GI 2010.xlsx", readOnly = TRUE)
dat <- sqlQuery(query, "select * from [sheet1$]", as.is = TRUE, na.strings =
"exp")*
*dat* contain one column consisting of intergers and characters
2010 Oct 11
1
importing numeric types via sqlQuery
Hi everyone,
I am using the sqlQuery function (in RODBC library) to import data from a database into R. My table (called temp) in the database looks like this:
category numabc 54469517.307692307692def 36428860.230769230769
I used the following R code to pull data into R:data <-sqlQuery(channel, "select category, num from temp;")
However, the result is that "num" gets all its
2009 Aug 06
1
creating MS Access query objects using RODBC
Hi -
I'm trying to use R to create an MS Access query object. In particular, I
would like to pass a given sql statement to a variety of Access files and
have that sql statement saved as an Access Query in each db. Is this
possible using R?
I'm aware that I could use RODBC sqlQuery and write sql to make a table or
that I could run the sql, extract it to R, and then use sqlSave to save the
2006 Nov 17
2
Large data Problem
Hi R-Experts,
I'm having a problem with reading a large data file which is
in .csv format and size is 120 MB (app.). I was trying to use RODBC
package but I found RODBCconnectExcel function only. And can I convert
this file to .dbf format? How can I read this file? And also let me
know if this was a file in .sas7bdat format, what should I do? Thanks in
advance.
2007 Jun 30
1
Importing an Excel file that has merged cells
Dear all,
I have a problem with importing an excel file into R. I can open the
file easily (either saving it as a CSV or using RODBC). But the
original file is using merged cell in its first column, which gives
the name of the observation. (I am dealing with repeated measurements
for the same observation)
So when I open the dataframe in R it looks like this
Col1 Col2 Col3
name1 val1 val2
2003 Oct 16
4
R memory and CPU requirements
Thanks for all the help on my previous questions.
One more (hopefully last one) : I've been very
surprised when I tried to fit a model (using aov())
for a sample of size 200 and 10 variables and their
interactions.
It turns out that even 2GB of RAM is not anough for
aov() with this sample size, which does not seem so
big for me. Am I doing something wrong or this is
considered a normal
2007 Aug 14
4
Import of Access data via RODBC changes column name ("NO" to "Expr1014") and the content of the column
Dear all,
I have some problems with importing data from an Access data base via
RODBC to R. The data base contains several tables, which all are
imported consecutively. One table has a column with column name "NO". If
I run the code attached on the bottom of the mail I get no complain, but
the column name (name of the respective vector of the data.frame) is
"Expr1014" instead
2009 May 28
4
Read & name multiple excel sheets using RODBC
I'd like to be able to read multiple sheets from an excel workbook and use
the sheet name to name the resulting dataframe using RODBC. at the moment
i've figured out how to do it the long way (see below) but feel sure that
there is a speedier & possibly automatic way to do it in R. i've tried to
run a loop using sqlTables but it seemed to break the connection. unless
i've