sql - PostgreSQL: PL/R does not work as expected -
using this tutorial of bostongis, installed pl/r extension in postgresql 9.5 (x64) db @ windows 7 enterprise (x64) machine. after installation, tested pl/r running:
select * plr_environ(); and returned environment information. then, ran:
select load_r_typenames(); and command took 5 minutes (and counting..) , never executed completely. unsure if messed or how long query should take. thus, in sql editor, tried following piece of code (source: here):
create or replace function plr_fn() returns float8 $body$ x <- 10 4/3*pi*x^3 $body$ language 'plr' then, called function using:
select plr_fn(); again, query took forever , never completed. bit puzzled went wrong in pl/r installation followed steps , set environment variables. can me understand wrong pl/r installation?
Comments
Post a Comment