try this:
> x <- read.table(textConnection(";this is example
+ ; r help
+ Var1 Var2 Var3 Var4 Var5
+ 0 0.05 0.0112
+ 1 0.04 0.0618A
+ 2 0.05 0.0814
+ 3 0.01 0.0615 B
+ 4
?read.table
Then look at the 'fill' & 'flush' parameters; this may do the trick
On Mon, Apr 4, 2011 at 9:32 AM, Ram H. Sharma wrote:
> Hi R-experts
>
> I have many text files to read and combined them into one into R that are
> output from other programs. My textfile have unbalanced number of ro
Hi R-experts
I have many text files to read and combined them into one into R that are
output from other programs. My textfile have unbalanced number of rows for
example:
;this is example
; r help
Var1 Var2 Var3 Var4 Var5
0 0.05 0.0112
1 0.04
3 matches
Mail list logo