Re: [R] Reading the non delimited file with no particular patterns in the data to R

2015-07-10 Thread Clint Bowman
Is this what your are expecting? test <- read.fwf("test.dat", width = c(10, 4, 1, 4, 9, 12,26,1,1,1,1,1,1,3,8)) test V1 V2 V3 V4 V5 V6 V7 V8 V9 V10 V11 V12 V13 V14 V15 1 1 2015 1 4 0.766696 1 1 0 0 0 0 0 0 0 10 2 2 2015 1 4 1.458186 1 1 0 0 0 1 0 0

[R] Reading the non delimited file with no particular patterns in the data to R

2015-07-10 Thread jagadishpchary
I am beginner in R and I want to read a ASCII file to R environment. However, the ASCII file is a non delimited and the data is not continuous (have some blank spaces between the variables) so in order to read the data i have used the below syntax i.e test <- read.fwf("D:/R_process/ASCII.txt", widt