s-news
[Top] [All Lists]

Re: loops & importing files

To: <s-news@wubios.wustl.edu>
Subject: Re: loops & importing files
From: "ONKELINX, Thierry" <Thierry.ONKELINX@inbo.be>
Date: Wed, 18 May 2005 09:56:02 +0200
Thread-index: AcVbEAzSXmvnBVHySNqGtm/S9Q/X1wAbbkQgAABMCxA=
Thread-topic: RE: [S] loops & importing files
I had a similar problem. S+ froze when running a script with multiple
nested loops. I solved it by coding each loop into a separate function.

I hope this helps.

Thierry

--------------------------------------------------------
ir. Thierry Onkelinx
Instituut voor Bosbouw en Wildbeheer / Institute of Forestry and Game
Management
Gaverstraat 4
9500 Geraardsbergen
Belgium
tel. + 32 54 436 185
 
Dit is mijn nieuw e-mailadres / Please note my new email address:
Thierry.Onkelinx@inbo.be
Website: http://ibw.inbo.be
-----Oorspronkelijk bericht-----
Van: s-news-owner@lists.biostat.wustl.edu
[mailto:s-news-owner@lists.biostat.wustl.edu] Namens Joe Cerniglia
Verzonden: dinsdag 17 mei 2005 20:42
Aan: s-news@lists.biostat.wustl.edu
Onderwerp: [S] loops & importing files


I am looking for an efficient way to run a batch of
files through a set of SPLUS functions. 

The for loop seems to freeze SPLUS at approximately
700 files.

My process is as follows:

Start with 1200 text files


I am using a for loop to import each file.
        
I pass the file to a set of functions.  
        
Within those functions there are several for  loops
and calls to other functions

output the file

Move to the next file.


Thanks.

Joe



                
__________________________________ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 
--------------------------------------------------------------------
This message was distributed by s-news@lists.biostat.wustl.edu.  To
unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
the BODY of the message:  unsubscribe s-news

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