#!/usr/local/bin/perl # s2gnu.p # reads S-compatible files produced by bugs and prints # out desired bits in simple column format # list(x = c(-0.8,-0.4,0.0,0.4,0.8,-0.8,-0.4,0.0,0.4,0.8), # t = c(1,3,3,3,5, )) # the bugs.out file contains # iteration value # # and the variables are indicated by the bugs.ind file # alpha 1 1000 (line numbers) # beta 1001 2000