If your file looks like attached, you should call

read.table("temp.txt", header=TRUE, sep="\t", skip=3, quote="")



On Mon, 2004-07-19 at 09:43, Vincent MUTEAUD wrote:
> Thanks for your quick answer but I don't see the escape character "\n" in 
> "myFile" I see it on the result of my R command.
> 
> This is an extract of myFile:
> 
> # Capsis 4.1.3 generated file - Mon Jul 19 10:39:56 CEST 2004
> 
> 
> varName 
> weighting       id      date    x       y       z       calculated 
> observed
> Date de 
> d�bourrement    0.0     tree1   1998/365a       1.5     1.5     0.0     158 
>      162
> Diam�tre du 
> tronc       0.0     tree1   0/0a    1.5     1.5     0.0 
> 0.0062422542832791805   0.007
> Diam�tre du 
> tronc       0.0     tree1   1998/365a       1.5     1.5     0.0 
> 0.010381871834397316    0.011
> Hauteur totale de 
> l'arbre       0.0     tree1   0/0a    1.5     1.5     0.0     1.0     0
> 
> 
> 
> I don't know why "\n" appears in R.
> 
> 
> A 10:40 19/07/2004 +0200, [EMAIL PROTECTED] a �crit :
> 
> >You should'nt see the escape character "\n" on "myfile".
> >Try deleting with a text editor "\n"
> >A.S.
> >
> >----------------------------
> >
> >Alessandro Semeria
> >Models and Simulations Laboratory
> >Montecatini Environmental Research Center (Edison Group),
> >Via Ciro Menotti 48,
> >48023 Marina di Ravenna (RA), Italy
> >Tel. +39 544 536811
> >Fax. +39 544 538663
> >E-mail: [EMAIL PROTECTED]
> 
>       [[alternative HTML version deleted]]
> 
> ______________________________________________
> [EMAIL PROTECTED] mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
# Capsis 4.1.3 generated file - Mon Jul 19 10:39:56 CEST 2004


varName  weighting      id      date    x       y       z       calculated      
observed
Date de d�bourrement    0.0     tree1   1998/365a       1.5     1.5     0.0     158    
 162
Diam�tre du tronc       0.0     tree1   0/0a    1.5     1.5     0.0     
0.0062422542832791805   0.007
Diam�tre du tronc       0.0     tree1   1998/365a       1.5     1.5     0.0     
0.010381871834397316    0.011
Hauteur totale de l'arbre       0.0     tree1   0/0a    1.5     1.5     0.0     1.0    
 0
______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to