Re: [R] Rlanguage plr and loadiing climatol package

2010-11-21 Thread David Potts
Thank to everybody that helped. I have a working bit of code :-) > > On Nov 20, 2010, at 3:25 PM, David Potts wrote: > >> >> Hi List >> >> I am trying to call the R library function rosavent from the climatol >> package via the plr interface package to the postgres database. >> >> My code is a fo

Re: [R] Rlanguage plr and loadiing climatol package

2010-11-20 Thread Joe Conway
On 11/20/2010 12:55 PM, David Winsemius wrote: > On Nov 20, 2010, at 3:25 PM, David Potts wrote: >> I am trying to call the R library function rosavent from the climatol >> package via the plr interface package to the postgres database. >> # select w_graph(); >> ERROR: R interpreter expression ev

Re: [R] Rlanguage plr and loadiing climatol package

2010-11-20 Thread David Winsemius
On Nov 20, 2010, at 3:25 PM, David Potts wrote: Hi List I am trying to call the R library function rosavent from the climatol package via the plr interface package to the postgres database. My code is a follows create or replace function w_graph() returns text as ' str <- pg.spi.exec("selec

[R] Rlanguage plr and loadiing climatol package

2010-11-20 Thread David Potts
Hi List I am trying to call the R library function rosavent from the climatol package via the plr interface package to the postgres database. My code is a follows create or replace function w_graph() returns text as ' str <- pg.spi.exec("select n,nne,ne,ene,e,ese,se,sse,s,ssw,sw,wsw,w,wnw,nw,nn