Skip to content

How to generate dependency file that can be used by gnu make?

2 messages · Peng Yu, Seth Falcon

#
This may not easy to do, when the filename are not hard coded strings.
For example, the variable 'filename' is a vector of strings.

for (i in 1:length(filename)){
do something...
save(....,file=filename[i])
}
On Mon, Nov 16, 2009 at 11:33 PM, Linlin Yan <yanlinlin82 at gmail.com> wrote:
#
On 11/17/09 5:02 AM, Peng Yu wrote:
That's right.  I don't think there is a feasible general solution.  You 
might have more success with a convention-based approach for your 
scripts that would allow a simple parser to identify output files by 
name convention, for example.

+ seth