Re: [Rd] manage R function and data dependencies like 'make'

2007-02-07 Thread Paul Gilbert
I use make to do things like you describe. Here is an example target from one of my Makerules files: $(T:%=compare.R$(REP).T%):compare.%: compare.R estimates.% @echo making $(notdir $(PWD)) $@ because $? changed ... @(cd $(subst compare.,,$@) ; \ echo "z <- try( sourc

Re: [Rd] manage R function and data dependencies like 'make'

2007-02-07 Thread Prof Brian Ripley
R-devel has file_test() in utils (earlier versions had a private version in tools). That has a '-nt' op to do what you need. file.info() accesses modification dates. Having said that, I would use 'make' as for example R's own test suites do. On Wed, 7 Feb 2007, Lutz Prechelt wrote: > Dear R-

[Rd] manage R function and data dependencies like 'make'

2007-02-07 Thread Lutz Prechelt
Dear R-devels, I am looking for a package (or some other infrastructure) for the following situation: I am doing a larger data evaluation. I have several dozen data files and do not want to keep the persistent data in the R workspace (for robustness reasons). I have several dozen R files, some fo