R: Equivalent command to Matlab's keyboard function? -


does r provide similar command debugging matlab's keyboard?

this command provides interactive shell , can used in function. gives access variables allowing 1 verify input data should (or test why it's not working expected).

makes debugging lot easier (at least in matlab...).

it sounds you're looking browser().

from description:

a call ‘browser’ can included in body of function. when reached, causes pause in execution of current expression , allows access r interpreter.

it sounds you're new debugging in r might want read hadley's wiki page on debugging.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -