Re: [R] Is there an easier way to replace the object name in the R code

2010-05-11 Thread Erik Iverson
mam3xs wrote: Hi all, I have a R code with quite a few lines. For instance AA <- read.csv(C:\\AA.txt) AA.diff <- diff(log(AA)) . Now I want to re-define the code with different object, like BB, CC..ZZ(the codes are the same). Thus, I was wondering whether their is an efficient wa

[R] Is there an easier way to replace the object name in the R code

2010-05-11 Thread mam3xs
Hi all, I have a R code with quite a few lines. For instance AA <- read.csv(C:\\AA.txt) AA.diff <- diff(log(AA)) . Now I want to re-define the code with different object, like BB, CC..ZZ(the codes are the same). Thus, I was wondering whether their is an efficient way or automatic w