involves understanding what sorts of
social networks were created among
users of the software I created; using a
CRAN project called statnet, such analysis
becomes relatively easy to do.
Installing PL/R is possibly the hardest
part of working with PL/R, although it
has gotten significantly easier since the
creation of the “extension” system in
PostgreSQL. First, make sure you have
installed the latest versions of both R
and PostgreSQL. Earlier versions will
work, but particularly in the case of
PostgreSQL, a modern version will be
better, thanks to the extension system.
I assume in this article that you are
using PostgreSQL 9.1.
Now, you need to set the R_HOME
environment variable. This variable will
tell the PL/R compilation and extension
mechanism where to find R’s header
and library files. On my Ubuntu server,
after installing R via apt-get, I set
R_HOME to /usr/share/R:
Once you’ve set that up, you can
download the PL/R source code. At the
time of this writing, the latest version is
8. 3.0 and is available from the PL/R home
page. Then, as the instructions indicate,
go into the plr directory that results from
opening the .tar.gz, and type:
USE_PGXS=1 make install
Note that this doesn’t install PL/R
into any of your PostgreSQL databases.
Rather, it makes the PL/R extension
available, such that you then can create
the PL/R extension inside any database
that would like to benefit from it.
After installing the extension, I went
into my personal PostgreSQL database
2. 6 KERNEL System on Module The SoM-3517 uses the same small SODIMM form-factor utilized by other EMAC SoM modules and is the ideal processor engine for your next design. All of the ARM processor core is included on this tiny board including: Flash, Memory, Serial Ports, Ethernet, SPI, I2C, I2S Audio, CAN 2.0B, PWMs, Timer/Counters, A/D, Digital I/O lines, Video, Clock/Calendar, and more. The SoM-3517M additionally provides a math coprocessor, and 2D/3D accelerated video with image scaling/rotation. Like other modules in EMAC's SoM product line, the SoM-3517 is designed to plug into a custom or off-the-shelf Carrier board containing all the connectors and any additional I/O components that may be required. The SoM approach provides the flexibility of a fully customized product at a greatly reduced cost. Contact EMAC for pricing & further information. OVER 27 YEARS OF SINGLE BOARD SOLUTIONS ince 1985 Phone: ( 618) 529-4525 · Fax: (618) 457-0110 · Web: www.emacinc.com http://www.emacinc.com/som/som3517.htm New - SoM-3517 ŸTI ARM Cortex-A8 600 MHZ Fanless Processor ŸUp to 512 MB of DDR2 SDRAM ŸUp to 1GB of NAND Flash ŸUp to 2GB of eMMC Flash Ÿ2 High Speed USB 1.1/2.0 Host ports Ÿ1 High Speed USB 2.0 OTG port Ÿ4 Serial Ports, 2 I2C and 2 SPI ports ŸProcessor Bus Expansion Ÿ10/100 Base T Fast Ethernet ŸCAN 2.0 B Controller ŸNeon Vector Floating Point Unit Ÿ24-bit DSTN/ TF T LCD Interface Ÿ2D/3D Accelerated Video w/ Resistive Touch ŸSmall, 200 pin SODIMM form factor ( 2. 66 x 2.375”) EQUIPMENT MONITOR AND CONTROL