Hi all,
I have the following problem.
Inside R, I am trying to run a loop on several files.
The data are stored in these files in a peculiar way, thus, at the same time I
load the data, I would like to invoke a utility. I do this with pipe. (The
utility I am using is gbget from the package
Try something along these lines assuming that the current
directory is \Program Files\R\R-2.3.1pat. Note use
of paste to create the command line to pass to pipe:
# search for indicated string in each of the files and
# for each match output the file name
Files - c(CHANGES, COPYING, NEWS, NEWS)