in Education by
__________ prints out the function call stack after an error occurs. (a) trace() (b) traceback() (c) back() (d) traback() The question was posed to me in an interview. The question is from Debugging Tools topic in portion Control Structures, Functions, Scoping Rules, Loop Functions and Debugging of R Programming Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
Right choice is (b) traceback() The best explanation: traceback() does nothing if there’s no error. trace() Interactive tracing and debugging of calls to a function or method.

Related questions

0 votes
    The recover() function will first print out the function call stack when an _______ occurs. (a) Error (b ... Debugging of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    _______ allows you to modify the error behavior so that you can browse the function call stack (a) debug() ... of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    ___________ function gives an error message if the desired package cannot be loaded. (a) Dplyr (b) Require (c ... of R Programming Select the correct answer from above options...
asked Feb 16, 2022 in Education by JackTerrance
0 votes
    __________ function is used in applying a function each level of factors. (a) With() (b) By() (c) To ... and Debugging of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    __________ function takes various parameters like formula, data, subset, labels, etc. (a) Pears (b) Pairs (c ... of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    __________ function is used for reading the .csv file in R language. (a) Write.csv() (b) Read.csv () ... and Debugging of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    Which function in R language is used to find out whether the means of 2 groups are equal to each other ... Debugging of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    ________ function carries out a chi-square test. (a) chisq.test() (b) t.test() (c) prop.test() ... Linear Regression of R Programming Select the correct answer from above options...
asked Feb 10, 2022 in Education by JackTerrance
0 votes
    __________ is the easiest method for reshaping the data before analysis. (a) Transpose() (b) Structure() (c ... of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    The current user defined objects like lists, vectors, etc. is referred to as __________ in the R language. ( ... of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    __________ is the best way for communicating the results of data analysis using the R language. (a) Single ... of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    __________ can contain heterogeneous inputs. (a) Matrix (b) Data Frames (c) Matrix and Data Frames (d) ... Debugging of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    __________ package is used to speed up data frame management code. (a) Data.table (b) Dplyr (c) Table ( ... Debugging of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    __________ is used for selecting regression transformations. (a) gac() (b) gpl() (c) avas() (d) ggc( ... Regression of R Programming Select the correct answer from above options...
asked Feb 11, 2022 in Education by JackTerrance
0 votes
    __________ is used for the analysis of air pollution data. (a) air (b) openair (c) opena (d) openara ... Regression of R Programming Select the correct answer from above options...
asked Feb 10, 2022 in Education by JackTerrance
...