Re: [R] import text-records and set the fields in a table

2011-06-27 Thread Steven Kennedy
As long as all the fields in each entry are the same, then the following will work df<-data.frame(photo_id=NA,owner=NA,secret=NA,server=NA,farm=NA,title=NA, ispublic=NA,isfriend=NA,isfamily=NA,tags=NA) x<-'' y<-strsplit(x,split="=\"") tmp<-c() for (i in 2:length(y[[1]])){ tmp[i-1

[R] import text-records and set the fields in a table

2011-06-27 Thread mari681
hi! I apologize in advance if this is a newbie dumm question, but I really can't figure it ou. I have lists of sumeric and character data on some URLs, which look like this: ... I have to work with some fields of each record, so I'd need to see this data as a table, but I managed to i