Thanks Sarah, you are right. In perl, "cut" serves the function of eliminating a block of code from being executed in a script. When "=cut" is placed above and below the code that you do not wish to execute then the interpreter will skip over the code. There are lots of ways to solve the problem, but cut is a handy solution.
Thanks. On Wed, Dec 1, 2010 at 6:31 PM, Sarah Goslee <sarah.gos...@gmail.com> wrote: > It would help if you told us what you wanted this function to do, > and provided an example. Not everyone speaks Perl. > > Sarah > > On Wed, Dec 1, 2010 at 6:10 PM, Jonathan Flowers > <jonathanmflow...@gmail.com> wrote: > > Does anyone know of a command in R that is equivalent to the =cut > function > > in Perl? > > > > Thanks. > > > > Jonathan > > > > -- > Sarah Goslee > http://www.functionaldiversity.org > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.