Displaying 2 results from an estimated 2 matches for "andzsin".
Did you mean:
andsin
2010 Feb 03
0
"read.table" and "scan" skips newlines which "count.fields" finds in Thai textfile
...-length row.names)
Its funny NOT to see any complaints about "justkidding" encoding...
(it is so not R-ish :-)
We are using R2.8 -> for a while we are stuck with it.
(I briefly installed R2.10 but did not seem to overcome the problem)
Any kind of help is greatly appreciated.
Best,
andzsin
ps : replacing Thai with Japanese text (same utf-8) had slightly different
results
(only some of the newlines were ignored)
******** Details: *************
name : my.txt
lg : Thai
enc : UTF-8
EOL : CR+LF (0d0a)
content :
??? ????
??? ???
??? ????
[EOF]
HEX : <copy-paste to some pr...
2009 May 15
2
transposing/rotating XY in a 3D array
Dear list,
We have a number of files containing similarly structured data:
file1:
A B C
1 2 3
4 5 6
file2:
A B C
7 8 9
10 11 12
... etc
My part of R receives all these data as an array: 1,2,3... 12 together
with info about dimensions (row,col,fileN) . (
Converting the data into 3D cannot simply done by:
array(x, c(2,3,2))
because breaks the structure (e.g. 1,3,5 is type mismatch)