Hi all,
I am getting problem with "read.csv()"
command
the problem is
I have one file which is saved in "ANSI"
while I am trying to open with R-Project its opend and all the cloumn names
are comming proper like
for the command
names(kk)
"FILEID" "UNIQUEID" "LATESTFLG"
"ACTIVEFLG"
"PROJROLEID" "IDENTIFIER"
"TREATMTSTDATE" "TITLE"
"SOURCE" "PLANSUB" "STENDDATE"
"STSTARTDATE"
"NOOFGROUPS" "SLOTNO" "PREPPERIOD"
"STREPORTDATE"
"COMPLETIONDATE" "ARCHIVEDATE" "HOUSINGNAME"
"NOOFGEN"
"NOOFANIMALS" "SPECIES" "SPDID"
"STRAIN"
"STDID" "STUDYTYPE" "SDID"
"DOSETYPE"
"DOSDID" "SEXPARTICIPANTS" "SOPDID"
"X"
this is correct
but if I am converting those files to "UTF-8" formate and after
loading
to R-project Object and again I checked for
coloumn names then its giving like
"ï..FILEID" "UNIQUEID" "LATESTFLG"
"ACTIVEFLG"
"PROJROLEID" "IDENTIFIER"
"TREATMTSTDATE" "TITLE"
"SOURCE" "PLANSUB" "STENDDATE"
"STSTARTDATE"
"NOOFGROUPS" "SLOTNO" "PREPPERIOD"
"STREPORTDATE"
"COMPLETIONDATE" "ARCHIVEDATE" "HOUSINGNAME"
"NOOFGEN"
"NOOFANIMALS" "SPECIES" "SPDID"
"STRAIN"
"STDID" "STUDYTYPE" "SDID"
"DOSETYPE"
"DOSDID" "SEXPARTICIPANTS" "SOPDID"
"X"
here the problem is while loading for the first coloumn name R-project
adding special charecters like "ï.."
can any one help me how to read these "UTF-8" files with out these
extra
charectors
thanks in advance
kiran
[[alternative HTML version deleted]]