Re: [R] Newbie in R: Reading .txt files and storing the 'numbers' in a vector

2009-07-31 Thread 1Rnwb
I am also a newbie, but here are the few thing i do eo=read.table(file=path where you have saved your text file/xxx.txt,header=T, ) #this will only read excelfiles saved as *.csv file attach(eo)

[R] Newbie in R: Reading .txt files and storing the 'numbers' in a vector

2009-07-29 Thread Patrick Schorderet
Hello everybody, I'm a newbie in R and just went through an introduction class recently. Here's my problem. I have 2 text files (.txt) with plain numbers ('doubles' for those who know c++) ordered into 2 columns as below: coordinate1 value1 coordinate2 value2

Re: [R] Newbie in R: Reading .txt files and storing the 'numbers' in a vector

2009-07-29 Thread Patrick Connolly
On Wed, 29-Jul-2009 at 10:29AM +0200, Patrick Schorderet wrote: Hello everybody, I'm a newbie in R and just went through an introduction class recently. Did you get the distinction between a vector and a dataframe? Here's my problem. I have 2 text files (.txt) with plain numbers