[postgis-users] FW: [Plr-general] Compiling PL/R under VC++ 2005

Paragon Corporation lr at pcorp.us
Wed Jan 27 04:36:27 PST 2010


Thought some people on this list might be interested in plr.  This version
works under the Enterprise Db packaged 8.4 releases.

Recall prior versions only worked on mingw compiled PostgreSQL.

Thanks,
Regina 

-----Original Message-----
From: Joe Conway [mailto:mail at joeconway.com] 
Sent: Wednesday, January 27, 2010 1:25 AM
To: Paragon Corporation
Cc: plr-general at pgfoundry.org
Subject: Re: [Plr-general] Compiling PL/R under VC++ 2005

On 01/24/2010 11:40 AM, Paragon Corporation wrote:
> We've been trying to compile PLR under the PostgreSQL VC+ version so 
> it will work with the one-click installer Windows versions for 8.3/8.4

Thanks for bugging me ;-). It finally seems that I have gotten over the
major roadblocks with respect to PL/R on Windows.

Please find plr.dll here:
   http://www.joeconway.com/plr/plr.zip

It was compiled with VC 2005, against Postgres 8.4.x and R-2.10.x. and is
reported to work against somewhat older versions of R, but will not work
with earlier PostgreSQL. I'll have to build a binary for 8.3.x specifically.
Before I do anything more, however, I was hoping some people might test
this. (Note to Regina -- plr_environ() now works)

There is presently no installer. Drop plr.dll in your $libdir directory
-- typically that will be somewhere similar to:

C:\Program Files\Postgresql\8.4\lib

The zip also includes plr.sql which must be run to load plr into your
database, and a doc folder with html and pdf documentation.

Please let me know if you test -- successful or not.

Thanks,

Joe






More information about the postgis-users mailing list