pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe Conway <mail@joeconway.com>
To: Misa Simic <misa.simic@gmail.com>
Cc: Aram Fingal <fingal@multifactorial.com>
Cc: Postgres-General General <pgsql-general@postgresql.org>
Subject: Re: crosstab
Date: Tue, 04 Sep 2012 16:59:47 -0700
Message-ID: <504695F3.6000705@joeconway.com> (raw)
In-Reply-To: <CAH3i69k2FA06Wu6CCm+vLkNLfSuK0Rf5nCSVYxsRBU3Ymb6gNA@mail.gmail.com>
References: <1346773199616-5722632.post@n5.nabble.com>
	<1346784707.8977.6.camel@asus-1001PX.home>
	<73FF0C6A-965B-4456-BA90-2B8FD1CBC118@multifactorial.com>
	<504655DD.4030701@joeconway.com>
	<09AE4623-B1E5-4F8D-AC55-EF5906A6411C@multifactorial.com>
	<50465CD9.3050809@joeconway.com>
	<E94F6D87-BC3F-4A8B-A167-9FF8BF0BB8DD@multifactorial.com>
	<50466D5B.3060101@joeconway.com>
	<CAH3i69k2FA06Wu6CCm+vLkNLfSuK0Rf5nCSVYxsRBU3Ymb6gNA@mail.gmail.com>

On 09/04/2012 04:45 PM, Misa Simic wrote:
> Hi Joe,
> 
> Do you maybe know, is it possible inside PL/R to call another PL/R
> function - but take result as R object (whatever R function returns)?

Mmmm, what about using plr_modules table?

It creates native R functions that get installed into your R interpreter
when R is first initialized.

http://www.joeconway.com/plr/doc/plr-module-funcs.html

Joe




-- 
Joe Conway
credativ LLC: http://www.credativ.us
Linux, PostgreSQL, and general Open Source
Training, Service, Consulting, & 24x7 Support






view thread (25+ messages)  latest in thread

Message-ID: <504695F3.6000705@joeconway.com>
Permalink:  ../504695F3.6000705@joeconway.com/
Also on:    postgresql.org/message-id/504695F3.6000705@joeconway.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: mail@joeconway.com, misa.simic@gmail.com, fingal@multifactorial.com
  Subject: Re: crosstab
  In-Reply-To: <504695F3.6000705@joeconway.com>
  References: <1346773199616-5722632.post@n5.nabble.com> <1346784707.8977.6.camel@asus-1001PX.home> <73FF0C6A-965B-4456-BA90-2B8FD1CBC118@multifactorial.com> <504655DD.4030701@joeconway.com> <09AE4623-B1E5-4F8D-AC55-EF5906A6411C@multifactorial.com> <50465CD9.3050809@joeconway.com> <E94F6D87-BC3F-4A8B-A167-9FF8BF0BB8DD@multifactorial.com> <50466D5B.3060101@joeconway.com> <CAH3i69k2FA06Wu6CCm+vLkNLfSuK0Rf5nCSVYxsRBU3Ymb6gNA@mail.gmail.com> <504695F3.6000705@joeconway.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox