Re: R and postgres

Поиск
Список
Период
Сортировка
От TJ O'Donnell
Тема Re: R and postgres
Дата
Msg-id 4550A6B2.3030702@acm.org
обсуждение исходный текст
Ответ на R and postgres  (Reece Hart <reece@harts.net>)
Список pgsql-general
I use RODBC which is available from http://cran.r-project.org/
I'm not sure if this will do what you want, or whether it has
the features of Rdbi you need, but it gets the job done for me.
I can open a "channel", execute a SQL statement (typically a Select)
and read the results back into a R dataframe.
There is a nice way to dump a dataframe back into a table which
is created for you, with columns and datatypes as appropriate.

Hope this helps.

TJ O'Donnell
http://www.gnova.com/

> I'd like to get R to talk to postgresql, but my head's spinning among a
> web of broken links, way outdated web pages, project deprecation
> announcements and a terrible signal:link ratio.
>
> Rdbi and RdbiPgSQL seem to be the answer, despite both being apparently
> defunct projects.
>
> What is the Right Thing for a guy who wants R to talk to postgresql?

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: when to use pfree?
Следующее
От: Ben
Дата:
Сообщение: Re: RE : Re: first steps in PhP and PostgreSQL