Displaying 1 result from an estimated 1 matches for "inputdta".
Did you mean:
inputdata
2011 Dec 01
2
R code
...ppreciate help. The same loop works with for(i in 1:92) strangely. I
checked the .raw input file and everything is kosher, even Line 547
mentioned in the error message.
I wonder if there is any problem with the paste function.
Thanks very much in advance.
**********************
for(i in 1:93)
{
inputdta<- read.table(file=gsub(" ","",paste("JSR_network_[",i,"].RAW"),
fixed=TRUE), header=TRUE)
colnames(inputdta) <- c("jsrid","firmid","jsrstart","injsr")
print(nrow(inputdta))
}
***************
Message: Error in sca...