Displaying 2 results from an estimated 2 matches for "650519".
2012 Apr 02
1
get data from Perl arrays
Hi,
a very simple doubt, but I do not know how to manage this.
I want to plot a histogram for all data in 'datos.txt'.
a) by using R:
datos<-scan("datos.txt")
pdf("xh.pdf")
hist(datos)
dev.off()
b) How could I invoke R inside Perl to do the same??
#!/usr/bin/perl
open(DAT,"datos.txt");
while (<DAT>) {
chomp;
push(@datos,$_);
}
#now I want a
2006 Dec 19
1
Sloooooow pop3 downloads
...{fd=18,
events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}, {fd=16,
events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL, revents=POLLIN}, {fd=20,
events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}, {fd=29,
events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}], 17, 15) = 1
14:18:06.650474 gettimeofday({1165868286, 650519}, {360, 0}) = 0
14:18:06.650582 recvmsg(16, {msg_name(0)=NULL,
msg_iov(1)=[{"\1\0\0\0\1\0\0\0\356Z\0\0\1\0\0\0\n\0\0\0\0\0\0\0\0\0\0"...,
56}], msg_controllen=16, {cmsg_len=16, cmsg_level=SOL_SOCKET,
cmsg_type=SCM_RIGHTS, {19}}, msg_flags=0}, 0) = 56
14:18:06.650783 fcntl64(19, F_GETFD)...