On Mon, 21 Mar 2011, Shaunak Bangale wrote:

Prof Ripley,
Thanks for the first reply. Yes, I am using windows xp.
The problem that I am facing is:
I want to use RPostgreSQL and xtable packages together.
R 2.11.1 has RPostgreSQL but not xtable.  R 2.12.2 has xtable but not 
RPostgreSQL.
I suppose there should be some way to use RPostgreSQL with R 2.12.2.
Sorry if I am sounding naïve, but How do I do the compilation that you just 
mentioned?
With your suggestion I went through RW-FAQs , posting guide.

You still haven't followed them! Where is the 'at a minimum' information asked for in the posting guide?

I ended up at the this page: 
http://cran.r-project.org/bin/windows/contrib/2.12/ReadMe
That says: ' Packages related to many database system must be linked to the 
exact
version of the database system the user has installed, hence it does
not make sense to provide binaries for packages '
PostgreSQL 9.0 is installed on my system which I am trying to integrate with R 
2.12.2.
Please throw some light on what can be done.

You compile from the sources.  See
http://cran.r-project.org/bin/windows/base/rw-FAQ.html#Can-I-install-packages-into-libraries-in-this-version_003f
and the references therein.

It seems unreasonable (and 'naive') to expect the people who gave you the free gift of R *and* wrote the FAQs to search and read them for you.

In any case, you are simply wrong in your premise: xtable does exist for R 2.11.1 and you could very easily install that from the sources or use http://cran.r-project.org/bin/windows/contrib/2.11/xtable_1.5-6.zip


Thanks
Shaunak




-----Original Message-----
From: Prof Brian Ripley [mailto:rip...@stats.ox.ac.uk]
Sent: Friday, March 18, 2011 2:54 PM
To: Shaunak Bangale
Cc: r-help@R-project.org
Subject: Re: [R] help regarding RPostgreSQL and R 2.12.2

You haven't even told us your OS, but it sounds like it might be
Windows.

In any case, RPostgreSQL is (like RMySQL) not distributed in binary
form, and you need to compile it from the sources against your
PostgreSQL version (which does matter, including the compiler used to
build it).

This is all covered in the rw-FAQ, if this is Windows (see the posting
guide).

On Fri, 18 Mar 2011, Shaunak Bangale wrote:

Hi R-team,
While using R 2.12.2, I came across a problem that it doesn't have RPostgreSQL package in 
the list of "install packages".
As my original code was written in R 2.11.1, I could use the RPostgreSQL 
package.
I am moving to R 2.12.2 to use the newly added package "xtable" in newer 
version R 2.12.2.
Please help me to solve this problem and tell me if the RPostgreSQL package can 
be added to R 2.12.2.
Sooner reply will be appreciated.

Thanks in advance.

Regards,
Shaunak

Shaunak Bangale | Innovation Analyst| +91 9986215550| 
www.mu-sigma.com<http://www.mu-sigma.com/> |

--
Brian D. Ripley,                  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to