encode character vectors too
merge

Merge branch 'testing' into write

Conflicts:
	R/read.R
Fix compress option.