Re: [R] Script analysing

2011-12-12 Thread Paul Hiemstra
On 12/12/2011 10:39 AM, Alexander wrote: > Hello, > I am trying to write a script to analyse R scripts, which contain only > functions. Therefor, I want to test the R script if it contains onyl correct > code. Is there a nicer and more efficent function than > > test <- try(source("someRscript")) >

Re: [R] Script analysing

2011-12-12 Thread Paul Hiemstra
On 12/12/2011 10:39 AM, Alexander wrote: > Hello, > I am trying to write a script to analyse R scripts, which contain only > functions. Therefor, I want to test the R script if it contains onyl correct > code. Is there a nicer and more efficent function than > > test <- try(source("someRscript")) >