Displaying 1 result from an estimated 1 matches for "tp23320816p23365295".
2009 Apr 30
2
How to skip rest of code
Dear R users,
Suppose I have 2 R script files: 'test1.R' and 'test2.R' and one R file 'main.R' which sources each of them. I wonder if there is a way to skip rest of code in 'test1.R' once a condition is met but still continue to run rest of script from the 'main'R' file.
A simple example is shown below. I hope only 'message1' and