[R] i'm so stuck with text file and contour plot

Mark Difford mark_difford at yahoo.co.uk
Sun Aug 2 20:10:42 CEST 2009


Hannes,

>> been trying to read a text file that contains heading in the first line
>> in to R but cant.

You want the following:

##
TDat <- read.csv("small.txt", sep="\t")
TDat
str(TDat)

See ?read.csv

Regards, Mark.


hannesPretorius wrote:
> 
> Ok i feel pretty stupid.. been trying to read a text file that contains
> heading in the first line in to R but cant. all i need to do is make a
> contour plot for a friend but after weeks i feel like giving up.. i
> included the first few lines of the file.. any help will be great
> 
> Thanks
> 
> Hannes http://www.nabble.com/file/p24777697/small.txt small.txt 
> 

-- 
View this message in context: http://www.nabble.com/i%27m-so-stuck-with-text-file-and-contour-plot-tp24777697p24780416.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list