[R] Making a series of similar, but modified .r files - suggested method(s)?

2010-08-21 Thread Laura S
Dear all: Any suggestions are much appreciated. I am looking for a way to make a series of similar, but slightly modified, .r files. My issue is automating making 320 .r files that change the for(i in 1:x) in my base .r file (as well as other elements, e.g., the load(...), setwd(...)). For

[R] R algorithm/package for creating spatial autocorrelation of uniformly distributed landscape values

2010-05-10 Thread Laura S
Dear all: I would like to create a landscape of environmental values that follow a uniform frequency distribution and also have spatial autocorrelation in the landscape. I was wondering if there is an algorithm and/or package out there that creates autocorrelation of values that are distributed

[R] Creating artificial environmental landscape with spatial autocorrelation

2010-04-21 Thread Laura S.
Dear all: Does anyone have any suggestions on how to make a spatially explicit landscape with spatial autocorrelation in R? In other words, a landscape where all cells have a spatial reference, and the environment values that are closer in space are more similar (positive spatial

[R] Displaying function arguments using a Windows R console

2009-07-31 Thread Laura S.
I am relatively new to R, and would appreciate any suggestions you may have. I noticed on a Mac the functions' arguments are listed at the bottom of the R console. Is it possible to add such a feature to a Windows R console? I have Windows XP if that helps. I know function arguments can be