Dear all,
I have a variable called thres and before I run a script I set it to a value
like
thres<- -10
at the end of the execution I am issuing a save(variablename,file='Results')
which will end up with a file saved at the current directory with the name Results
 
I would like though to use thres value and do the followingg
save at the directory called 10 so to get ./10/Results, (yes I want this in a relative order)
 
My question is how I can also check if the directory exists R to create it?
 
I would like to thank you in advance for your help
 
B.R
Alex
	[[alternative HTML version deleted]]

