Displaying 20 results from an estimated 4000 matches similar to: "Connecting R to PostgreSQL via RODBC, on Windows"
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
2003 Feb 14
2
RODBC connection failed
I am trying to restart on R after 2 months stop. Start with previously
functioning procedure:
"ch<-odbcConnect("dBase Files")"
get
"Warning message:
ODBC connection failed in: odbcConnect("dBase Files") "
I have tried unsuccessfully different working directories.
The only change I see is that I am working with a new login account on
the same machine.
2006 Apr 01
4
-newbie | RODBC import query
Greetings -
After 20+ years of using SAS, for a variety of reasons, I'm using [R]
for a bunch of things - while I'm getting a pretty good a handling
[R] for script programming, and statistical analysis, I'm struggling
with 'pulling data into [R]'. For reasons beyond my control, a number
of the files I get sent to 'work with' are in Dbase format (*.dbf).
For
2011 Jul 17
1
ODBC MySql DB: sqlQuery empty
Dear R Beginners, Experts and Users,
I already asked this question on the R-sig-DB mailing list, but sadly
didn't got a reply :-( .
Keeping fingers crossed that I have more luck on the main R mailinglist :) .
I'm trying to connect to a MySQl database via Gnu R using the RODBC
interface. The conenction workes but I get an empty result string.
Gnu R and the MySql DB are running on a 64 bit
2009 Aug 28
2
RODBC: how to set the data-source?
Hello,
I want to try to connect R to PostgreSQL.
I have found that there are three ways:
DBI or RODBC or RPostgreSQL.
I tried around with DBI and RODBC but didn't get it running.
In both cases I'm not clear about how to set the driver/data source.
I get this error:
x > channel <- odbcConnect("rtest", uid="oliver")
x Warning messages:
x 1: In
2013 Feb 14
1
Rcmdr, RODBC and XLConnect conflict cause R to crash
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20130214/ca5c528b/attachment.pl>
2005 Mar 14
1
using postgresql with R/RODBC
Hi, Please excuse these questions if they're obvious. I'm new to R.
I need to access a Postgres db from R. I'm currently trying RODBC as
I spend part of my time on Windows and rdbi.pgsql seems not to support
windows at this time.
I unzipped the RODBC win binary download into my library directory and
tried to load it using
library(RODBC)
I get the following error:
Error in
2008 Jul 30
1
bug in 'margins' behavior in reshape - cast
according to the documentation of the cast function in the reshape function,
I would expect this bit of code from the examples to calculate marginal
means over only the 'diet' variable.
#Chick weight example
names(ChickWeight) <- tolower(names(ChickWeight))
chick_m <- melt(ChickWeight, id=2:4, na.rm=TRUE)
cast(chick_m, diet + chick ~ time, mean, margins="diet")
But,
2008 Jun 17
1
ggplot facet spacing, wrapping
I'm running into some problems with the spacing of some faceted ggplot plots.
I have a number of time series faceted to be one above another, but the
scale labels of the y axes all clobber each other at the bottom/top of each.
for example, try:
qplot(x, y, data = data.frame(x = 1:10, y = 1:10, size = 1:10), facets =
size ~ ., size = size) + scale_x_continuous(breaks = 1:10) +
2015 Feb 03
2
Problem with odbc connector with cdr
Hello,
I'm stuck with getting cdr records stored in MySql database. I have a
working realtime environment and have verified that the db connection works
fine when used via res_config_mysql.conf. I'd appreciate Your help on how
to get the odbc connector working as I think there's something wrong with
its configuration.
The problem presented itself as an error when making a call that
2008 Jun 16
1
sizing non-vector point shapes in ggplot2
Dear all,
With normal plotting, one can size a set of points in a plot using a vector
argument to cex in the points() function. This works whether you are using
one of the standard R symbols (i.e. 19+) or some ascii symbol, such as '/'
eg:
plot(1:10, 1:10, type='n');
points(1:10, 1:10, cex = 1:10, pch = '/')
Trying to make the transition to ggplot2, I find that the
2005 Jun 22
10
How to read an excel data into R?
Hi all,
Does anybody know the easiest way to import excel data into R? I copied
and pasted the excel data into a txt file, and tried read.table, but R
reported that
Error in read.table("data_support.txt", sep = " ", header = T) :
more columns than column names
Thanks!
Ling
2008 Sep 17
3
unix-type commandline keystrokes in the windows RGUI
Hi all,
I am generally quite fond of the unix commandline keystrokes (e.g. searching
back in your history with [CTRL]-R, and cutting/pasting with [CTRL]-K/Y)
which work in the R commandline in *nix. Does anyone know if there's any
way to get similar functionality in the Windows RGUI?
I know that as of now, [CTRL]-A and -E do the same as unix (beginning and
end of line) and [CTRL]-Y does a
2002 Jul 18
2
RODBC and Excel Files
Hello,
I am trying to play with RODBC library and Excel Files. In my file
(doubs.xls) there are 2 spreadsheets:
> library(RODBC)
> connection<-odbcConnect("Excel Files")
> sqlTables(connection)
TABLE_CAT TABLE_SCHEM TABLE_NAME TABLE_TYPE REMARKS
1 F:\\Th?se\\R\\Doubs NA Faune$ SYSTEM TABLE NA
2 F:\\Th?se\\R\\Doubs NA Milieu$
2003 Feb 13
5
ESRI shape file import and time-space models
Dear R user,
I am running R under Windows 2000.
I am looking for a routine for importing
- shape files (ESRI) into R
- dbase files (FOXPRO) into R
and I am looking for time-space models for description and prediction of
Bernoulli-, Binomial- and Poissonvaraibles.
Thank's a lot for a reply.
Sincerely yours,
Ekkehardt Altpeter
Swiss Federal Office of Public
2008 Jan 10
1
RODBC, postgresql on Linux
Dear all,
I facing pbs using RODBC library.
I'm working on a Linux (Ubuntu Gutsy) os, with R version 2.5.1.
I've got Postgresql 8.2.5 installed with the odbc-postgresql package.
I try to connect in a R session to a postgresql database using:
odbcConnect(dsn="thedatabasename",uid="theuser",pwf="thepasswd",case="postgresql")
I get a message error,
2010 Apr 28
2
Rails - associations help
Hi
I have two models .
Dbase
--------
name
vendor
type
port
defuser - default user name
Users
-------
username
password
email
I need to build an association between these two in that the dbase
model''s defuser needs to be present in the users table. I am from a
relational database background so am trying hard to understand rails
associations.
What should I do to associate the
2009 Oct 29
1
Re trieving comments from PostgreSQL tables with RODBC and psqlodbc
I don't know whether this is an RODBC issue, a psqlodbc issue or a PostgreSQL
issue; I've searched the documentation and forums for each, with no success.
I want to list all the tables in a PostgreSQL schema, and return the table
comments as well as the table names. As an example, one table is defined as
follows:
CREATE TABLE scen990.ezone_locationprice_year1
(
ezone integer NOT NULL,
1999 Sep 14
2
DBase File locking issues
Hi All,
I am experiencing issues with the use of DBase files on a Samba 2.0.5a
share, that appear to be due to locking problems. Basically, I have
test programs for both DOS and Win32 that does nothing but append
records to a DBase database (DBF/MDX files). If more than one client
PC is appending to this file, data loss occurs. I get random data
loss, with records lost, and index file
2006 Jun 03
3
Migrating from a legacy Dbase app
All,
My company uses Goldmine as its contact/sales opportunity manager.
(Uses Dbase for it''s DB).
I''m trying to get a Rails app to implement the parts of it we actually use.
I''ve been building my Rails app in MySQL. Now I''m need to start
getting data from Goldmine into my Rails app.
What''s the recommended approach?
A one time transfer of data?