OK everything checks out in the command window. Path is set correctly, as is 
R_HOME (as a system variable). I guess this was already evident in the first 
query which retrieves these correctly from plr_environ();

I experimented by trying to run the plr sql scripts but they did not run 
because the functions were already defined. I guess this means the plr 
extension installed correctly. R is working just fine from the directory 
pointed to by R_HOME.  I tried your new variant but that did not work either in 
PgAdmin.

As this problem exists on both my laptop and my workstation (both run windows 
10 and the same versions of postgresql and postgis) I am now at a loss. This is 
a pity as I use R for most of my data analysis and visualisation and it would 
have been nice to do this in one step. Looks like I will have to output to file 
and then retrieve things directly in R. ☹

Many thanks for your help and suggestions.

Darrel






_______________________________________________
postgis-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/postgis-users

Reply via email to