One more last try for the R call of example

This commit is contained in:
Ian Bell
2015-07-07 00:46:11 -06:00
parent cb9cf73d5d
commit cf3c11ee6b

View File

@@ -73,7 +73,7 @@ if __name__=='__main__':
subprocess.check_call('cmake ../../../.. -DCOOLPROP_R_MODULE=ON -DCMAKE_VERBOSE_MAKEFILE=ON -DR_BIN=/usr/bin', **kwargs)
subprocess.check_call('cmake --build .', **kwargs)
with open('R/Example.out','w') as fp:
tee_call(r'R Example.R', fp, shell = True, cwd = 'R')
tee_call(r'R -f Example.R', fp, shell = True, cwd = 'R')
copyfiles('R','R')
if not os.path.exists('MATLAB'): os.mkdir('MATLAB')