[R] reading data

Ashta sewashm at gmail.com
Tue Jun 13 23:09:27 CEST 2017


Hi all,

I am using R to extract  data on a regular basis.
However, sometimes using the same script and the same data I am
getting different observation.
The library I am using and how I am reading  it is as follows.

library(stringr)
namelist <- file("Adress1.txt",encoding="ISO-8859-1")
Name <- read.fwf(namelist,
colClasses="character", skip=2,sep="\t",fill=T,
                          width =c(2,8,1,1,1,1,1,1,9,5)+1,col.names=ccol)

Can some one suggest me how track the issue?
Is it the library issue or Java issue?
May I read as free format instead of fixed format?

Thank you in advance



More information about the R-help mailing list