<div dir="ltr">I am having trouble importing a structure dataset.  Can someone decipher this error message?<div><br></div><div>import2genind('data.str', onerowperind=F, row.marknames=1, n.ind=296, n.loc=84761, col.lab=1, col.pop=2, ask=F)</div><div><br></div><div>Error in mat[, (ncol(mat) - p +1):ncol(mat)]:</div><div>  only 0's may be mixed with negative subscripts.</div><div><br></div><div>I am able to read the data in R as a data frame and the dimensions are as expected.  The df2genind(data.str) conversion also works ok, except that it reads the file as ONEROWPERIND=1, which is not what I want.</div><div><br></div><div>Thanks</div><div>Vikram</div></div>