Skip to content
Prev 163899 / 398506 Next

Running R Script on a Sequence of Files

"This is almost a macro problem. It could be done in SAS language using
the WPS product (660 USD) I think. ..." 

OUCH! Why do it the complicated way??? Check out ?dir, ?list.files, and
then ?lapply for a simple start.

Don't give up so soon! When it comes to R there is no need to punt - you
can always keep possession of the ball ... :-)

Cheers,
Jagat

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
On Behalf Of Ajay ohri
Sent: Friday, December 05, 2008 12:59 PM
To: Chris Poliquin
Cc: r-help at r-project.org
Subject: Re: [R] Running R Script on a Sequence of Files

This is almost a macro problem. It could be done in SAS language using
the
WPS product (660 USD) I think.
It is a familiar problem and I would be quite interested in the result.

Is there any concept of Macros in R or a package to do the same.

Regards,

Ajay

On Fri, Dec 5, 2008 at 11:31 PM, Chris Poliquin
<poliquin at sas.upenn.edu>wrote:

            
looked
to
want
what I
numbers
information
database of
R read
______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.