How to give line numbers in errors in R

+1 vote
I'm running a very long script and I would like my errors to have numbers to increase the readability. Is this possible?
Nov 8, 2018 in Data Analytics by Ali
• 11,360 points
926 views

1 answer to this question.

0 votes

Use the following command:

options(show.error.locations = TRUE)
answered Nov 8, 2018 by Maverick
• 10,840 points

Related Questions In Data Analytics

0 votes
1 answer

how to run a logistic regression with clustered standard errors in R?

have a look at rms package. lrm is logistic ...READ MORE

answered Nov 6, 2018 in Data Analytics by Kalgi
• 52,350 points
1,750 views
0 votes
1 answer

How to create a line chart in R?

Hi@akhtar, A simple line chart is created using ...READ MORE

answered Oct 30, 2020 in Data Analytics by MD
• 95,460 points
949 views
0 votes
1 answer

How to change y axis max in time series using R?

The axis limits are being set using ...READ MORE

answered Apr 3, 2018 in Data Analytics by Sahiti
• 6,370 points
3,832 views
0 votes
1 answer
0 votes
1 answer

By using dpylr package sum of multiple columns

Basically here we are making an equation ...READ MORE

answered Apr 5, 2018 in Data Analytics by DeepCoder786
• 1,720 points
2,250 views
0 votes
1 answer

How to convert a text mining termDocumentMatrix into excel or csv in R?

By assuming that all the values are ...READ MORE

answered Apr 5, 2018 in Data Analytics by DeepCoder786
• 1,720 points
1,921 views
0 votes
1 answer

In a dpylr pipline how to use sample and seq?

For avoiding rowwise(), I prefer to use ...READ MORE

answered Apr 6, 2018 in Data Analytics by DeepCoder786
• 1,720 points

edited Jun 9, 2020 by Gitika 1,182 views
0 votes
1 answer

How to create a list of Data frames?

Basically all we have to do is ...READ MORE

answered Apr 9, 2018 in Data Analytics by DeepCoder786
• 1,720 points
1,342 views
+1 vote
1 answer

How to read R errors through JRI

You'll be able to perform those R-Expressions, ...READ MORE

answered Nov 8, 2018 in Data Analytics by Maverick
• 10,840 points
1,091 views
+1 vote
1 answer

How do i send R errors from console to standard java output?

R offers a command to save its ...READ MORE

answered Nov 8, 2018 in Data Analytics by Maverick
• 10,840 points
672 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP