Displaying 20 results from an estimated 400 matches similar to: "Importing Access 2007 data with ROBC"
2010 Mar 18
1
Imported tables from Access 2007
Hi all,
I am very new to R and I'm trying to import data from Microsoft Access. So
far, I've managed to do so successfully using the following code:
testdb <- file.path("c:\Databse.accdb")
channel2 <- odbcConnectAccess2007(testdb)
data.table <- sqlFetch(channel2,"data")
This successfully imports a table(?) called "data.table".
But when I try to
2007 May 31
2
Import data from Access
Hi, I want to import some data from Access and I am using the following
codes:
testdb <- file.path("c/../db1")
channel <- odbcConnect("testdb")
sqlFetch(channel,"tbl",colnames = TRUE, rownames = FALSE)
It comes out the error message:
1: [RODBC] ERROR: state IM002, code 0, message [Microsoft][ODBC Driver
Manager] Data source name not found and no default
2015 Apr 27
2
Como conectar R con una base de datos Access en Windows 64-bit (RODBC package)
Hola a tod en s,
Tengo un problema a la hora de conectar una base de datos (*.mdb) de Access
a RStudio utilizando windows 64-bit. Con el paquete RODBC utilizo el
siguiente script que devuelve el error que indico:
mdbConnect <- odbcConnectAccess("C:/Users/database.mdb")
Error in
odbcConnectAccess("C:/Users/Isa/FPI-AZTI/JUVENA/Databases/MEGASCOPE_JUVENA2014.mdb")
:
 
2010 Oct 22
1
RODBC: data base with decimal point ","
Dear R-users,
I am working with R version 2.10.1 and package RODBC Version: 1.3-2 under windows.
Say I have a table "testtable" (in an Access data base) with 3 columns and 1 row that looks like this:
X               Y       Z
0012345 42      42,1
The columns are of these types: X - character, Y - Long Integer, Z - Decimal.
I use RODBC to get these data into R:
> library(RODBC)
>
2012 Jun 14
2
Using Sub
Hi,
I have been trying to get the sub function to work but can't for the life of me figure it out. I tried looking at ?sub but I think there is something that I am just not understanding. 
Example failed attempts
> sub("\\","/","G:\Compensation Audits_Reports\Step Audit\Steps off Step.accdb")
Error: '\C' is an unrecognized escape in character string
2017 Jul 31
1
Access Data Base Reading on Linux Platform
Dear All,
I am really far from a database expert (I do prefer flat files as long as
that is reasonable), but I have to deal with an accdb database (Microsoft
Access new format). It all stems from the fact that I run R almost
exclusively on Debian platforms.
I did a bit of googling
http://r.789695.n4.nabble.com/How-to-load-data-from-accdb-into-R-td4656613.html
2011 Mar 22
2
Loading mdb
Well im thoroughly frustrated after 25 minutes of checking and rechecking my
path.  What do i not know about loading a mdb that is keeping me from
loading my data.  
i have loaded the Hmisc library and pointed it too my data using mdb.get and
continue to get the following error. 
Error in system(paste("mdb-tables -1", file), intern = TRUE) : 
  'mdb-tables' not found
Which i
2002 Oct 16
5
Database newbee problem...
Hi all,
This is a potentially very stupid question about MySQL <-> R
interaction, but I have not been able to solve it.
I'm just trying to connect R to my MySQL databse, and gets this:
> library(RMySQL)
Loading required package: methods 
> m <- dbDriver("MySQL")
> con <- dbConnect(m,group="testdb")
Process R segmentation fault at Wed Oct 16 07:04:30
2006 Jun 18
1
Problem using "rake db:migrate"
Hi all,
I am facing a problem while using rails "migrate" feature for creating
tables in a database.
Following are the details.
I have 2 applications say "app1" & "app2". I want both of them to use same
database say "testdb".
For "app1", I create 3 models which in turn create 3 migration files with
prefix, 001_, 002_ & 003_. Now I
2011 Jul 14
1
SQldf with sqlite and H2
SQldf with sqlite and H2
I have a large csv file (about 2GB) and wanted to import the file into R and do some filtering and analysis. Came across sqldf ( a great idea and product) and was trying to play around to see what would be the best method of doing this. csv file is comma delimited with some columns having comma inside the quoation like this "John, Doe". 
I tried this first 
2005 May 02
2
RMySQL query: why result takes so much memory in R ?
Hi
I just started with RMySQL. I have a database with roughly 12 millions 
rows/records and 8 columns/fields.
 From all 12 millions of records I want to import 3 fields only.
The fields are specified as:id int(11), group char(15), measurement 
float(4,2).
Why does this take > 1G RAM? I run R on suse linux, with 1G RAM and with 
the code below it even fills the whole 1G of swap. I just
2006 Feb 27
4
prepared query with RODBC ?
Dear List,
Would anyone know how to perform prepared queries with ROBC ?
I had a shot with some of the internal (non-exported) functions of the package
but ended up with a segfault, so I prefer asking around before
experimenting further...
Thanks,
Laurent
2012 Nov 26
2
puzzling RODBC error
Dear all,
I'm trying to connect to an MSAccess database (ArcGIS personal geodatabase). I keep getting an error about the channel when using sqlQuery(). However, sqlTables() does not complain about the channel and lists all tables in the database. If I try sqlFetch(), then R crashes.
I'm happy to hear suggestions on how to solve this.
Best regards,
Thierry
> MDB <-
2010 Jan 26
6
Subclassing ActiveRecord::Base
First of all, sorry for the crossposting, but I put this into the Ruby
Forum first of all, but was pointed to this as a more appropriate
location.
I''m using ActiveRecord and ActiveSupport in a non-rails environment
to connect to multiple databases, and I''ve found the following (single
database) to cause me an error. Note that params is my database settings
and omitted for
2010 Sep 26
2
Asterisk ODBC Insert issue
Hi guys, 
Having issues with doing an insert statement using ast 1.4.24: 
[START]
dsn=mssql-asterisk
write=INSERT INTO testdb (callarrival,callerid) VALUES
('${VAL1}','${VAL2}')
SET(ODBC_START()${TIMESTAMP},${CALLERID(num)})
No errors pop up on execute, but nothing gets inserted. 
Read and update work fine, 
Wondering where I'm going off track with this, 
Thanks,
2003 Aug 25
1
ODBC access
Hello everybody,
I have tried to connect to external databases (specifically, to a MS Access database in my computer) from R using the RODBC package. Unfortunatelly I haven't been able to do it, even if I 'followed' the instructions in the manual. COuld someone please help me?
I have a MS Access database in my computer and I went to the control panel in order to create a DSN file
2011 Oct 26
4
Help wanted: pg vs. postgres-pr gems
Hi all,
I installed Rails 3.0 + PostgreSQL 8.4.
Installed the gem postgre-pr
I added " gem ''postgres-pr'' " to my Gemfile
I defined my database.yml with:
# PostgreSQL 8.4
development:
  adapter: postgresql
  encoding: unicode
  database: testdb
  pool: 5
  username: test
  password: ******
I run rails server which starts, but application environment returns
this error:
2012 Dec 14
1
How to import the large dataset into R
HI, R Users,
I met the following problem:
I was trying to import data of one table in .accdb database into my ODBC database for being imported into R. The table contains 1021965 records. 
 I always got the following
error msg even I change the drive:
The query can not be completed. Either the size of the query
result is larger than the maximum size of a database(2GB), or there is not
enough
2010 Jul 12
0
Error in storage.mode(test) <- "logical"
Hi There,
I get the following error from the code pasted below: Error in storage.mode(test) <- "logical" :
  object 'HGBmt12_Natl_Ave_or_Facility' not found
library(RODBC)
library(car)
setwd("c://temp//cms")
a07.connect <- odbcConnectAccess2007("DFC.accdb")
sqlTables(a07.connect) ##provides list of tables##
dataset <-
2011 Dec 04
3
RODBC connect to Excel (64-bit Windows 7)
Hi to all.
 I have a problem to connect to an Excel database using RODBC.
Namely, I am using 64-bit R 2.14.0, under Windows 7 and I tried following:
library(RODBC)
> channel <- odbcConnectExcel("results.xlsx")
Error in odbcConnectExcel("results.xlsx") :
  odbcConnectExcel is only usable with 32-bit Windows       # ok this is
clear why it doesn't work
> channel