Re: [R] Error message for .csv file

2013-02-07 Thread vkent
Hi Torrey Yes - it turned out that it wasn't a problem with the .csv file it was a problem with SPACECAP. I was trying to use too small a pixel size for the home range centres. The smallest pixel size that SPACECAP can handle is 0.25 sq km. Hope this helps Vivien On 07/02/2013 05:14, twrodger

Re: [R] Error message for .csv file

2011-09-12 Thread David Winsemius
You are asking a question about a package that seldom appears on rhelp, leading me to infer that there is not a large user community that reads this mailing list. You are also not providing the data needed to reproduced the problem. You would be better off taking the time to contact the pac

Re: [R] Error message for .csv file

2011-09-12 Thread vkent
I am using the package SPACECAP which provides an interface for R. I used this interface to import the csv file into R as well as the other two csv files that are required. This is the output I get when querying the error message Error in NN[i, 1:length(od)] <- od : subscript out of bounds > str(

Re: [R] Error message for .csv file

2011-09-12 Thread Sarah Goslee
Go to your R session. First off, tell the R-help list how you got your csv file into R as NN. read.csv() ? read.table()? Then tell us exactly what code you're using. Where did i come from? Also type in exactly the commands I gave you (four lines), and share the output with the R-help list. str(

Re: [R] Error message for .csv file

2011-09-12 Thread Sarah Goslee
Hi, On Mon, Sep 12, 2011 at 11:07 AM, vkent wrote: > I would be grateful if anyone could tell me what the error message: > > Error in NN[i, 1:length(od)] <- od : subscript out of bounds It means that either i ends up being larger than the number of rows in NN, or that length(od) ends up being la