Hi:
R Connection makes an easy example using the "lattice" package.
best,
-Matt
sas = SAS Connect(); // local PC SAS
SAS Submit("
libname temp 'c:/temp';
data temp.a;
array laser (5) laser1-laser5;
do x = 1 to 25;
do i = 1 to 25;
laser(i) - ranor(12345)*ranuni(x);
end;
output;
end;
drop x i;
run;
");
dt = sas << Import Data("temp.a");
SAS Disconnect();
Rcon = R Connect();
Rcon << send(dt);
Rcon << Submit("
library(lattice);
splom(dt[c(1,2,3,4,5)], main='Laser Data')
");
plot = RConnection << Get Graphics( png );
New Window ("Laser Plot", Picture Box( plot ) );
Rcon << Disconnect();