Hi all,
I have a dataframe (512x512). I just want to create a new dataframe from it.
I used the following code. It does not stop running! Could you please help.
Thanks

# Read the text file (512x512)
df<-read.table("out_1_1.txt")

d=NULL
for (i in 0:511){
  for (j in 0:511){
    Myrow<-c(i,j,df[i+1,j+1])
    d=rbind(d,Myrow)
  }
} 




--
View this message in context: 
http://r.789695.n4.nabble.com/Simpe-script-does-not-finish-tp4716161.html
Sent from the datatable-help mailing list archive at Nabble.com.
_______________________________________________
datatable-help mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help

Reply via email to