s-news
[Top] [All Lists]

object naming

To: s-news@lists.biostat.wustl.edu
Subject: object naming
From: "ming hsu" <hsu@charter.net>
Date: Mon, 31 Mar 2003 06:21:48 -0500
Hi, this is kind of a silly syntax question, but I wasn't able to find the answer in the manual. I have a series of linear models that I wish to creat a summary table for. I tried to loop over the names with the following command

for ( i in 1:Length(files) )
    summary(files[i])

The problem is that SPlus takes files[i] as a string literal instead of a file name. How do I get around that?

Sincerely,
Ming Hsu

<Prev in Thread] Current Thread [Next in Thread>