Dear Petr, 
&nbsp; 
Thank you very much for reply. You cannot read the Chinese characters may be because you don't have install this language. Do you have any idea how solve this problem? Or who can help me? May I install Linux? 
&nbsp; 
Best regards, 
Ms. Márcia Schmaltz 修安琪 Departamento de Português / Department of Portuguese Faculdade de Ciências Sociais e Humanas / Faculty of Social Science and Humanities - UM 澳门大学社会科学及人文学院葡语系 http://www.umac.mo/fsh/ciela/staff/Marcia_Schmaltz.html (+853) 6231-2114 and 8397-8902 -----"Petr Pikal-3 [via R]" &lt;ML-NODE+S789695N4634110H56@N4.NABBLE.COM&gt;wrote: ----- 

To: schmaltz &lt;marcias@umac.mo&gt; From: "Petr Pikal-3 [via R]" &lt;ml-node+s789695n4634110h56@n4.nabble.com&gt; Date: 06/21/2012 09:27PM Subject: Re: Novice question about getting data into R Hi I can read the example you provided without much problem. dput(head(test)) structure(list(n = 0:5, X = c(NA, NA, NA, NA, NA, NA), start = c(11185L, 39530L, 40544L, 109684L, 114629L, 118841L), X.1 = c(NA, NA, NA, NA, NA, NA), dur = c(1L, 2L, 1L, 1L, 0L, 1L), X.2 = c(NA, NA, NA, NA, NA, NA), pause = c(28344L, 1012L, 69139L, 4944L, 4212L, 2558L), X.3 = c(NA, NA, NA, NA, NA, NA), par = c(0, 100, 100, 100, 0, 100), X.4 = c(NA, NA, NA, NA, NA, NA), ins = c(2L, 3L, 2L, 2L, 1L, 2L), X.5 = c(NA, NA, NA, NA, NA, NA), del = c(0L, 0L, 0L, 0L, 0L, 0L), X.6 = c(NA, NA, NA, NA, NA, NA), sid = structure(c(10L, 13L, 16L, 1L, 11L, 12L), .Label = c(" -1", " -1+11+13+15", " -1+110", " -1+16", " -1+26+29", " -1+27+30", " -1+32", " -1+4+5", " -1+48", " 1", " 17", " 18+19", " 2", " 20", " 28", " 3", " 36", " 37", " 38", " 42", " 43", " 45", " 49", " 50", " 53", " 54", " 58", " 59", " 61+64"), class = "factor"), X.7 = c(NA, NA, NA, NA, NA, NA), tid = structure(c(1L, 6L, 20L, 30L, 38L, 39L), .Label = c(" 1", " 10+11+12", " 13+14", " 15+16+17", " 18+19", " 2+3", " 20", " 21", " 22", " 23", " 24+25", " 26", " 27+28+29", " 30+31+32", " 33+34", " 35", " 36+37", " 38", " 39", " 4", " 40", " 41", " 42", " 43", " 44+45", " 46", " 47", " 48", " 49", " 5", " 50", " 51", " 52+93", " 53", " 54", " 55", " 56", " 6", " 7", " 8", " 9"), class = "factor"), X.8 = c(NA, NA, NA, NA, NA, NA), str = structure(c(5L, 6L, 5L, 5L, 4L, 5L), .Label = c(" ,", " ,_", " .", " quot;, " 颯", " 颯quot;, " 颯", " 颯颯", " 颯颯quot;), class = "factor")), .Names = c("n", "X", "start", "X.1", "dur", "X.2", "pause", "X.3", "par", "X.4", "ins", "X.5", "del", "X.6", "sid", "X.7", "tid", "X.8", "str" ), row.names = c(NA, 6L), class = "data.frame") Only Chinese characters are missing and some extra columns appear &gt; str(test) 'data.frame': &nbsp; 41 obs. of &nbsp;19 variables: &nbsp;$ n &nbsp; &nbsp;: int &nbsp;0 1 2 3 4 5 6 7 8 9 ... &nbsp;$ X &nbsp; &nbsp;: logi &nbsp;NA NA NA NA NA NA ... &nbsp;$ start: int &nbsp;11185 39530 40544 109684 114629 118841 121400 128201 129793 131852 ... &nbsp;$ X.1 &nbsp;: logi &nbsp;NA NA NA NA NA NA ... &nbsp;$ dur &nbsp;: int &nbsp;1 2 1 1 0 1 1 1 436 608 ... &nbsp;$ X.2 &nbsp;: logi &nbsp;NA NA NA NA NA NA ... &nbsp;$ pause: int &nbsp;28344 1012 69139 4944 4212 2558 6800 1591 1623 3573 ... &nbsp;$ X.3 &nbsp;: logi &nbsp;NA NA NA NA NA NA ... &nbsp;$ par &nbsp;: num &nbsp;0 100 100 100 0 100 100 100 0 100 ... &nbsp;$ X.4 &nbsp;: logi &nbsp;NA NA NA NA NA NA ... &nbsp;$ ins &nbsp;: int &nbsp;2 3 2 2 1 2 2 2 3 3 ... &nbsp;$ X.5 &nbsp;: logi &nbsp;NA NA NA NA NA NA ... &nbsp;$ del &nbsp;: int &nbsp;0 0 0 0 0 0 0 0 0 0 ... &nbsp;$ X.6 &nbsp;: logi &nbsp;NA NA NA NA NA NA ... &nbsp;$ sid &nbsp;: Factor w/ 29 levels " -1"," -1+11+13+15",..: 10 13 16 1 11 12 1 1 2 4 ... &nbsp;$ X.7 &nbsp;: logi &nbsp;NA NA NA NA NA NA ... &nbsp;$ tid &nbsp;: Factor w/ 41 levels " 1"," 10+11+12",..: 1 6 20 30 38 39 40 41 2 3 ... &nbsp;$ X.8 &nbsp;: logi &nbsp;NA NA NA NA NA NA ... &nbsp;$ str &nbsp;: Factor w/ 9 levels " ,"," ,_"," .",..: 5 6 5 5 4 5 5 5 6 6 ... &gt; sessionInfo() R Under development (unstable) (2012-03-03 r58569) Platform: i386-pc-mingw32/i386 (32-bit) locale: [1] LC_COLLATE=Czech_Czech Republic.1250 &nbsp;LC_CTYPE=Czech_Czech Republic.1250 [3] LC_MONETARY=Czech_Czech Republic.1250 LC_NUMERIC=C &nbsp; [5] LC_TIME=Czech_Czech Republic.1250 Regards Petr &gt; Dear Professor Daalgard, &gt; &gt; I beginning to participate in one research of statiscal modelling of &gt; translators'activity data, and recently install R and try to generate the &gt; one Translation Progress Graph, as my colleagues do (with sucess), but in my &gt; Windows platform was found the error below. According R'FAQs, it seems to be &gt; very common error, as I'm not even familiar with the program R and even with &gt; the ProGra, could you help me? Please! &gt; &gt; Note: the Translation Progress Graph is compost by quintuple data {S, T, A, 
&gt; F, K} for Source and Target Text, Alignment, Fixation and Keyboar data, &gt; respectively. &gt; &gt; &gt; &gt;ReadData("C:/Users/schmaltz/Dropbox/EN-CH/proGra/EN-ZH_P2_T4_T2") &gt; Reading Fixation Units: &gt; C:/Users/schmaltz/Dropbox/EN-CH/proGra/EN-ZH_P2_T4_T2 .fu &gt; Reading Production Units: &gt; C:/Users/schmaltz/Dropbox/EN-CH/proGra/EN-ZH_P2_T4_T2 .pu &gt; Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, : &gt; line 38 did not have 10 elements &gt; &gt; Note: We try to delete the line 38, and the program results in another line &gt; error. Even delete all lines after, the some error occur. I think is not one 
&gt; encoding error, due the fact my colleague use Linux, and I Windows. &gt; &gt; Sample of file above: &gt; n &nbsp; start &nbsp; dur &nbsp; pause &nbsp; par &nbsp; ins &nbsp; del &nbsp; sid &nbsp; tid &nbsp; str &gt; 0 &nbsp; 11185 &nbsp; 1 &nbsp; 28344 &nbsp; 0 &nbsp; 2 &nbsp; 0 &nbsp; 1 &nbsp; 1 &nbsp; 撠賜恣 &gt; 1 &nbsp; 39530 &nbsp; 2 &nbsp; 1012 &nbsp; 100.00 &nbsp; 3 &nbsp; 0 &nbsp; 2 &nbsp; 2+3 &nbsp; 銝 &gt; 2 &nbsp; 40544 &nbsp; 1 &nbsp; 69139 &nbsp; 100.00 &nbsp; 2 &nbsp; 0 &nbsp; 3 &nbsp; 4 &nbsp; 賢振 &gt; 3 &nbsp; 109684 &nbsp; 1 &nbsp; 4944 &nbsp; 100.00 &nbsp; 2 &nbsp; 0 &nbsp; -1 &nbsp; 5 &nbsp; 喃 &gt; 4 &nbsp; 114629 &nbsp; 0 &nbsp; 4212 &nbsp; 0 &nbsp; 1 &nbsp; 0 &nbsp; 17 &nbsp; 6 &nbsp; 銝 &gt; 5 &nbsp; 118841 &nbsp; 1 &nbsp; 2558 &nbsp; 100.00 &nbsp; 2 &nbsp; 0 &nbsp; 18+19 &nbsp; 7 &nbsp; 韐怠 &gt; 6 &nbsp; 121400 &nbsp; 1 &nbsp; 6800 &nbsp; 100.00 &nbsp; 2 &nbsp; 0 &nbsp; -1 &nbsp; 8 &nbsp; 鈭箸 &gt; 7 &nbsp; 128201 &nbsp; 1 &nbsp; 1591 &nbsp; 100.00 &nbsp; 2 &nbsp; 0 &nbsp; -1 &nbsp; 9 &nbsp; 鈭 &gt; 8 &nbsp; 129793 &nbsp; 436 &nbsp; 1623 &nbsp; 0 &nbsp; 3 &nbsp; 0 &nbsp; -1+11+13+15 &nbsp; 10+11+12 &nbsp; 游末 &gt; 9 &nbsp; 131852 &nbsp; 608 &nbsp; 3573 &nbsp; 100.00 &nbsp; 3 &nbsp; 0 &nbsp; -1+16 &nbsp; 13+14 &nbsp; 暑 &gt; 10 &nbsp; 136033 &nbsp; 1202 &nbsp; 1309 &nbsp; 100.00 &nbsp; 5 &nbsp; 0 &nbsp; -1+4+5 &nbsp; 15+16+17 &nbsp; 霂渲 臭誑 &gt; 11 &nbsp; 138544 &nbsp; 468 &nbsp; 3682 &nbsp; 100.00 &nbsp; 3 &nbsp; 0 &nbsp; -1 &nbsp; 18+19 &nbsp; 圾 &gt; 12 &nbsp; 142694 &nbsp; 359 &nbsp; 10811 &nbsp; 0 &nbsp; 2 &nbsp; 0 &nbsp; 20 &nbsp; 20 &nbsp; ,_ &gt; 13 &nbsp; 153864 &nbsp; 0 &nbsp; 2121 &nbsp; 0 &nbsp; 1 &nbsp; 0 &nbsp; -1 &nbsp; 21 &nbsp; 雿 &gt; 14 &nbsp; 155985 &nbsp; 1 &nbsp; 2838 &nbsp; 100.00 &nbsp; 2 &nbsp; 0 &nbsp; -1 &nbsp; 22 &nbsp; 嗅 &gt; 15 &nbsp; 158824 &nbsp; 1 &nbsp; 1435 &nbsp; 100.00 &nbsp; 2 &nbsp; 0 &nbsp; -1 &nbsp; 23 &nbsp; 靽 &gt; 16 &nbsp; 160260 &nbsp; 421 &nbsp; 3619 &nbsp; 87.65 &nbsp; 3 &nbsp; 0 &nbsp; -1 &nbsp; 24+25 &nbsp; 臬 &gt; 17 &nbsp; 164300 &nbsp; 1 &nbsp; 1075 &nbsp; 100.00 &nbsp; 2 &nbsp; 0 &nbsp; 28 &nbsp; 26 &nbsp; 蝏 &gt; 18 &nbsp; 165376 &nbsp; 1108 &nbsp; 1030 &nbsp; 100.00 &nbsp; 4 &nbsp; 0 &nbsp; -1+26+29 &nbsp; 27+28+29 &nbsp;  臭 &gt; 19 &nbsp; 167514 &nbsp; 1466 &nbsp; 8440 &nbsp; 54.98 &nbsp; 4 &nbsp; 0 &nbsp; -1+27+30 &nbsp; 30+31+32 &nbsp; 脩 . 
&gt; 20 &nbsp; 177420 &nbsp; 906 &nbsp; 4023 &nbsp; 100.00 &nbsp; 4 &nbsp; 0 &nbsp; -1+32 &nbsp; 33+34 &nbsp; 賑敹◆ &gt; 21 &nbsp; 182349 &nbsp; 1 &nbsp; 1622 &nbsp; 100.00 &nbsp; 2 &nbsp; 0 &nbsp; 36 &nbsp; 35 &nbsp; 曌 &gt; 22 &nbsp; 183972 &nbsp; 2 &nbsp; 1573 &nbsp; 100.00 &nbsp; 3 &nbsp; 0 &nbsp; 37 &nbsp; 36+37 &nbsp; 銝 &gt; 23 &nbsp; 185547 &nbsp; 1 &nbsp; 15381 &nbsp; 100.00 &nbsp; 2 &nbsp; 0 &nbsp; 38 &nbsp; 38 &nbsp; 賢振 &gt; 24 &nbsp; 200929 &nbsp; 1 &nbsp; 1934 &nbsp; 100.00 &nbsp; 2 &nbsp; 0 &nbsp; 42 &nbsp; 39 &nbsp; 拙 &gt; 25 &nbsp; 202864 &nbsp; 1 &nbsp; 5864 &nbsp; 100.00 &nbsp; 2 &nbsp; 0 &nbsp; 43 &nbsp; 40 &nbsp; 蝏輯 &gt; 26 &nbsp; 208729 &nbsp; 1 &nbsp; 4383 &nbsp; 100.00 &nbsp; 2 &nbsp; 0 &nbsp; -1 &nbsp; 41 &nbsp; 璊◤ &gt; 27 &nbsp; 213113 &nbsp; 0 &nbsp; 1497 &nbsp; 0 &nbsp; 1 &nbsp; 0 &nbsp; 45 &nbsp; 42 &nbsp; , &gt; 28 &nbsp; 214610 &nbsp; 1 &nbsp; 2963 &nbsp; 100.00 &nbsp; 2 &nbsp; 0 &nbsp; -1 &nbsp; 43 &nbsp;  &gt; 29 &nbsp; 217574 &nbsp; 906 &nbsp; 5085 &nbsp; 100.00 &nbsp; 4 &nbsp; 0 &nbsp; -1+48 &nbsp; 44+45 &nbsp; 蝘 &gt; 30 &nbsp; 223565 &nbsp; 0 &nbsp; 1575 &nbsp; 0 &nbsp; 1 &nbsp; 0 &nbsp; 49 &nbsp; 46 &nbsp; , &gt; 31 &nbsp; 225140 &nbsp; 1 &nbsp; 2683 &nbsp; 100.00 &nbsp; 2 &nbsp; 0 &nbsp; 50 &nbsp; 47 &nbsp; 撟嗡 &gt; 32 &nbsp; 227824 &nbsp; 1 &nbsp; 2136 &nbsp; 100.00 &nbsp; 2 &nbsp; 0 &nbsp; 53 &nbsp; 48 &nbsp; 撣桀 &gt; 33 &nbsp; 229961 &nbsp; 1 &nbsp; 6613 &nbsp; 100.00 &nbsp; 2 &nbsp; 0 &nbsp; -1 &nbsp; 49 &nbsp; 摰賑 &gt; 34 &nbsp; 236575 &nbsp; 1 &nbsp; 6068 &nbsp; 100.00 &nbsp; 2 &nbsp; 0 &nbsp; 54 &nbsp; 50 &nbsp;  &gt; 35 &nbsp; 242644 &nbsp; 1 &nbsp; 2635 &nbsp; 100.00 &nbsp; 2 &nbsp; 0 &nbsp; -1 &nbsp; 51 &nbsp; 臬 &gt; 36 &nbsp; 245280 &nbsp; 343 &nbsp; 8315 &nbsp; 100.00 &nbsp; 3 &nbsp; 0 &nbsp; -1+110 &nbsp; 52+93 &nbsp; 瘙⊥ &gt; 37 &nbsp; 253938 &nbsp; 1 &nbsp; 1653 &nbsp; 100.00 &nbsp; 2 &nbsp; 0 &nbsp; -1 &nbsp; 53 &nbsp; 游 &gt; 38 &nbsp; 255592 &nbsp; 0 &nbsp; 25381 &nbsp; 0 &nbsp; 1 &nbsp; 0 &nbsp; 58 &nbsp; 54 &nbsp; . &gt; 39 &nbsp; 280973 &nbsp; 1 &nbsp; 1809 &nbsp; 100.00 &nbsp; 2 &nbsp; 0 &nbsp; 59 &nbsp; 55 &nbsp; 銝鈭 &gt; 40 &nbsp; 282783 &nbsp; 1 &nbsp; 16878 &nbsp; 100.00 &nbsp; 2 &nbsp; 0 &nbsp; 61+64 &nbsp; 56 &nbsp; 賢振 &gt; &gt; Thank you very much! &gt; &gt; Marcia &gt; &gt; -- &gt; View this message in context: http://r.789695.n4.nabble.com/Novice- &gt; question-about-getting-data-into-R-tp866806p4633954.html &gt; Sent from the R help mailing list archive at Nabble.com. &gt; &gt; ______________________________________________ &gt; [hidden email]  mailing list &gt; https://stat.ethz.ch/mailman/listinfo/r-help &gt; PLEASE do read the posting guide http://www.R-project.org/posting-guide.html &gt; and provide commented, minimal, self-contained, reproducible code. ______________________________________________ [hidden email]  mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. 



If you reply to this email, your message will be added to the discussion below: http://r.789695.n4.nabble.com/Novice-question-about-getting-data-into-R-tp866806p4634110.html  
To unsubscribe from Novice question about getting data into R, click here . NAML  


--
View this message in context: http://r.789695.n4.nabble.com/Novice-question-about-getting-data-into-R-tp866806p4634116.html
Sent from the R help mailing list archive at Nabble.com.
	[[alternative HTML version deleted]]

