| Subject: | XploRe: Learning Guide |
| See XploRe: |
| Quantlet: | iofmt01 | |
| Description: | Read and write simple data files. | |
| Download: | iofmt01.xpl |
library("xplore")
;
x=read("geo") ; read numeric data
x ; print x
;
x=readm("popul") ; read mixed text/numeric data
names(x) ; check components
x.type ; print types
x ; print x
;
x=(1:4)~(2:5)
write(x,"mydata.dat") ; write numeric data
;
x="alpha"|"beta"
write(x,"mydata.dat") ; write text data
| Subject: | XploRe: Learning Guide |
| See XploRe: |