The R Project SVN R

Rev

Rev 80048 | Rev 82703 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 80048 Rev 80079
Line 203... Line 203...
203
withAutoprint({ x <- 1:2; cat("x=",x,"\n"); y <- x^2 })
203
withAutoprint({ x <- 1:2; cat("x=",x,"\n"); y <- x^2 })
204
## x and y now exist:
204
## x and y now exist:
205
stopifnot(identical(x, 1:2), identical(y, x^2))
205
stopifnot(identical(x, 1:2), identical(y, x^2))
206
 
206
 
207
withAutoprint({ formals(sourceDir); body(sourceDir) },
207
withAutoprint({ formals(sourceDir); body(sourceDir) },
208
              max.dep = 20, verbose = TRUE)
208
              max.deparse.length = 20, verbose = TRUE)
209
%% --> tests in  ../../../../tests/eval-etc.R
209
%% --> tests in  ../../../../tests/eval-etc.R
210
}
210
}
211
\keyword{file}
211
\keyword{file}
212
\keyword{programming}
212
\keyword{programming}
213
\keyword{connection}
213
\keyword{connection}