Displaying 20 results from an estimated 200 matches similar to: "RdbiPgSQL in R 2.4.1"
2006 Oct 03
1
problem installing RdbiPgSQL for 2.4
I just upgraded R to version 2.4.0 and now I can't install packages
RdbiPgSQL. I used the same procedure I did for previous versions of R !
Actually, last time I installed RdbiPgSQL day before upgrading
but now I got:
downloaded 27Kb
* Installing *source* package 'RdbiPgSQL' ...
creating cache ./config.cache
checking for PQconnectdb in -lpq... no
I could not find your PostgreSQL
2005 Sep 14
1
maximum string length in RdbiPgSQL and in R
Because my problem involves the RdbiPgSQL package, I sent a message
similar to this one to the Bioconductor list. But while awaiting
moderator approval of my message (because I am not a member of that
list), it occurred to me to send it to R-help as the problem may be more
general than just RdbiPgSQL.
Here's my situation:
I have been using RdbiPgSQL successfully for a year or two. I
2008 Oct 03
1
3D scatter, groups, RdbiPgSQL...
hello,
I wish to create some 3d scatter diagrams visualising different grouped
data set by a given field in the database. I tried the scatterplot3d
package, as well as the plot3d and scatter3d functions (both within the
rgl resp. Rcmdr package). My first question is, whether is it possibe to
group data in the scatterplot3d and plot3d, because I did not succeed to
use the groups = ...
2003 Nov 10
0
Rdbi/RdbiPgSQL updates
To get the Rdbi/RdbiPgSQL 1.0.1 interface from BioConductor
functional, I would like to suggest some fixes.
Find patches and the updated packages here:
http://mpa.itc.it/markus/tmp/rdbi/
Changes
Rdbi:
- fixed load of RdbiPgSQL (wrong name)
- fixed dbConnectionInfo() (typo)
RdbiPgSQL:
- fixed table export to PostgreSQL
- added make.names() to polish column names for R usage
2003 Dec 10
0
RdbiPgSQL and POSIXct
Hi,
Does the Bioconductor library RdbiPgSQL support the POSIXlt and POSIXct (R
time format)?. I tried to import an R data frame which had also some columns
of class POSIXct into PostgreSQL 7.2.1 with the command dbWriteTable without
success.
>str(jame)
`data.frame': 8123 obs. of 27 variables:
$ kat.st : int 1 2 3 4 5 6 7 8 9 10 ...
$ ime : Factor w/ 7867 levels
2006 Mar 02
1
Curious subsetting behavior
I have a simple vector, called tmp that I want to subset based on another
vector called vec. Everything works as expected except for below where the
subsetting returns something other than the original data. Any ideas?
> vec <- c(1,2,3,4,5,59,60,27,32,21)
> tmp
[1] 1.0 1.1 2.0 2.1 2.2 3.0 3.1 4.0 5.0 5.1 6.0 7.0 8.0 8.1
9.0
[16] 9.1 9.2 10.0 10.1 11.0 12.0 13.0 14.0
2010 Mar 06
2
memory error in for loop
hi,
I have been attempting to run this script and am getting some strange
results. The script connects to a database and retrieves a series of
tables, using sequential sql statements. I have tested all of the sql
statements in the PostGreSQL terminal and they all return the desired
results. I place each table into a list and run a FOR loop for 'i' in
the list. The script generates
2011 Jun 28
2
connecting R and PostgreSQL
Dear R-helpers,
I'm an absolute beginner using both R and PostgreSQL, but now I have to work with both programs. I need to connect R and my Postgres-database, but every attempt so far has failed (I tried using the RpgSQL package as well as RdbiPgSQL, the first, following this manual (http://code.google.com/p/rpostgresql/) didn't find any drivers for the database (step no. 1) whereas the
2009 Jan 09
1
shake rattle() and roll
Graham,
nice package this :-)-O.
It was easy to set up MySQL but I struggled immensely to get the stock
ODBC working with PostgreSQL (8.3), which has been discussed on the
mailing list before (Prof Brian):
Warning messages:
1: In odbcDriverConnect(st, ...) :
[RODBC] ERROR: Could not SQLDriverConnect
2: In odbcDriverConnect(st, ...) : ODBC connection failed
aka (DBD::ODBC in Perl)
Missing
2004 Aug 29
1
R and PostGresQL
Sorry for the simple question:
What is the "standard" package for interfacing with PostGreSQL (most
up-to-date)? There appear to be at least three with different names:
Rdbi.PgSQL
RdbiPgSQL (available as part of BioConductor)
RPgSQL (On the home page, no longer maintained in favor or Rdbi)
The R and database developer page (http://developer.r-project.org/db/) was
last updated in
2010 Feb 21
2
PostgreSQL under Snow Leopard
Hi,
I have nicely used RdbiPgSQL under 10.5 but now that I run 10.6
I can't get this to work.
I am quite sure I will not be the first to have this problem, so
can someone please point me somewhere where this has been described
or let me have a cookbook?
greetings, el
2006 May 19
4
Fast update of a lot of records in a database?
We have a PostgreSQL table with about 400000 records in it. Using
either RODBC or RdbiPgSQL, what is the fastest way to update one (or a
few) column(s) in a large collection of records? Currently we're
sending sql like
BEGIN
UPDATE table SET col1=value WHERE id=id
(repeated thousands of times for different ids)
COMMIT
and this takes hours to complete. Surely there must be a quicker
2004 Mar 05
1
time-series
Dear R helpers
I have a daily rainfall dataset of 5 stations, but the time-series are
of different lengths. Three stations measured precipitation from 1917 to
2004, one from 1930 to 1979, and other from 1975 to 1998. I'd like to
know how to analyse if rainfall is similiar at all stations. Is it
possible to compare time-series like these?
Best Regards!
2009 Sep 13
2
zoo plot: yearly marks on X-Axis
On Sun, 2009-07-26 at 13:17 +0200, Poersching wrote:
> stvienna wiener schrieb:
> > Hi all,
> >
> > I am plotting a financial time series, but I need a more detailed X-Axis.
> >
> > Example:
> > x <- zoo(rnorm(1:6000), as.Date("1992-11-11")+c(1:6000))
> > plot(x)
> >
> > The X-Axis is labeled "1995", "2000"
2006 Jul 24
1
Memory exceeding for split
Hi R-users
I'm working with a data.frame of 40000 x 10, for which I need to apply the
"split" function. The result is very long and cannot be stored in a variable
due to memory exceeding. I've tried to send the result directly to a file
through sink(filename) function, but the problem still occurs. Does anyone
have an idea to solve this issue?
> dim(dados)
[1] 40000 10
2009 Sep 11
1
format (?) problems with data imported from postgres
Good day,
I read some data from a PostgreSQL database by a following script:
library(Rdbi)
library(RdbiPgSQL)
# conn becomes an object which contains the DB connection:
conn <- dbConnect(PgSQL(), host="localhost", dbname="BVS",
user="postgres", password = "*******")
query_duj_kal <- dbSendQuery(conn, "select zdroj as well, cas as date,
fe2,
2004 Jun 23
1
Sphericity test
Hi R-users
Does anybody know if there are functions or packages in R for sphericity
tests like Bartlett's or Mauchly's?
Thanks!
__________________________________________________________
Eng. Agr., M.Sc. Eduardo Dutra de Armas
__________________________________________________________
Centro de Energia Nuclear na Agricultura (CENA/USP)
Laboratório de Ecotoxicologia
Av.Centenário 303,
2004 Jun 05
0
Comparing treatments in Multivariate Analysis
Hi R-users
I'd like to know if there is some packages or functions to do comparison
of treatments after that manova pointed differences between them.
Any suggestions are much appreciated.
__________________________________________________________
Eng. Agr., M.Sc. Eduardo Dutra de Armas
__________________________________________________________
Centro de Energia Nuclear na Agricultura
2004 Jun 16
1
Resolution of plots
Hi R-users
Does anyone know how to increase the resolution of plots to be exported?
I'm exporting some plots but the maximum resolution that I get is 96
dpi. I want to get files with 300dpi.
Thanks!
__________________________________________________________
Eng. Agr., M.Sc. Eduardo Dutra de Armas
__________________________________________________________
Centro de Energia Nuclear na
2007 Oct 31
2
DBI Package
Hello everyone!
Congratulations by this gorgeous software.
My name is Germán Carrillo, I'm writting from Colombia. I don't have much
experience with R, reason why I use the R-GUI (version 2.5.1) on Windows.
I have some problems with DBI package, I want to connect to PostgreSQL
database but I don't know the way to do it.
I was reading the DBI manual and I tried write in my R Console