## Not run: Within Splus:
# > tmp.test.frame
# tolur1 tolur2 stafir1
# 1 11 0.04625551 a
# 2 12 0.04845815 a
# 3 13 0.05066079 NA
# 4 14 0.05286344 a
# 5 15 0.05506608 a
# 6 16 0.05726872 b
# 7 17 0.05947137 b
# 8 18 NA b
# 9 19 0.06387665 b
# 10 20 0.06607930 b
# > s2pre(tmp.test.frame,file="prufa.pre",na.replace="-1")
# >
#
# From UNIX:
#
# hafbitur/home/reikn/gardar/Papers/Methods95 [435] cat prufa.pre
# linu_nofn tolur1 tolur2 stafir1
# --------- ------ ------ -------
# 1 11 0.04625551 a
# 2 12 0.04845815 a
# 3 13 0.05066079 -1
# 4 14 0.05286344 a
# 5 15 0.05506608 a
# 6 16 0.05726872 b
# 7 17 0.05947137 b
# 8 18 -1 b
# 9 19 0.06387665 b
# 10 20 0.06607930 b
# hafbitur/home/reikn/gardar/Papers/Methods95 [436]
# ## End(Not run)
Run the code above in your browser using DataLab