Dear all members

I have error with the following code

#Input data set
     thd <- as.matrix(read.table("C:/Users/hp/Desktop/thd.txt"))

    #Input data set
    data<-list(N1=2000,N2=2000,P=9,R=Ro,z1=yo1,z2=yo2,thd)

and the the matrix

-200.000 -2.517 -1.245 -0.444  0.848 200.000
-200.000 -1.447 -0.420  0.119  1.245 200.000
-200.000 -1.671 -0.869 -0.194  0.679 200.000
-200.000 -1.642 -0.869 -0.293  0.332 200.000
-200.000 -1.671 -0.827  0.052  0.756 200.000

thd matrix saved as a text file, i have the following errors

In read.table("C:/Users/hp/Desktop/thd.txt") :
 incomplete final line found by readTableHeader on
'C:/Users/hp/Desktop/thd.txt'

The thd matrix didn't appear in the results, so i hope anyone can help me
to solve this problem.

Many thanks in advance

-- 
Thanoon Y. Thanoon
PhD Candidate
Department of Mathematical Sciences
Faculty of Science
University Technology Malaysia, UTM
E.Mail: thanoon.youni...@gmail.com
E.Mail: dawn_praye...@yahoo.com
Facebook:Thanoon Younis AL-Shakerchy
Twitter: Thanoon Alshakerchy
H.P:00601127550205

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

Reply via email to