Description Usage Arguments Value Author(s) Examples
from2colTo3 reads a file with 2 columns (hex, tag) and saves it as 3 columns (hex, utf8, tag)
1 | from2colTo3(file2cols, file3cols)
|
file2cols |
UTF-8 file with tags in two columns |
file3cols |
UTF-8 file with tags in three columns |
character
Jose' Gama
1 2 3 4 5 6 7 | ## Not run:
x <- matrix( c('000BC', '\frac14','000BD','\frac12','000BE','\frac34'),3,2,byrow=FALSE)
write(x, file='2cols.tab',ncolumns =2, sep ='\t')
from2colTo3('2cols.tab', '3cols.tab')
read.table('3cols.tab')
## End(Not run)
|
V1 V2 V3
1 000BC <U+00BC> \frac14
2 000BD <U+00BD> \frac12
3 000BE <U+00BE> \frac34
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.