[R] Delete Rows Dynamically Within a Loop

2011-11-17 Thread ftonini
Ok guys, as requested, I will add more info so that you understand why a simple vector operation is not possible. It's not easy to explain in few words but let's see. I have a huge amount of points over a 2D space. I divide my space in a grid with a given resolution,say, 100m. The main loop that I

Re: [R] Passing parameters

2011-11-12 Thread ftonini
Hi Annie, The error is in the R script...you start reading with Args[1] but instead you should start with Args[5] etc. because (I believe) that R --slave --vanilla --args count as [1] [2][3][4] Therefore, Args[5] it's the first argument you use...

[R] Error with Source()

2011-11-10 Thread ftonini
Hi everybody, I started to receive a weird message in R that I have never seen before...also I haven't found anything on google or on this forum about it. Whenever I use the command source(...) to point to one of my scripts, I get the following message: Error in source("myfunctions.R") : myfuncti

[R] Error with Source()

2011-11-10 Thread ftonini
Hi everybody, I started to receive a weird message in R that I have never seen before...also I haven't found anything on google or on this forum about it. Whenever I use the command source(...) to point to one of my scripts, I get the following message: Error in source("myfunctions.R") : myfuncti