Question: Hello, can someone please help me out with this R coding? I keep on getting this error message but I just can't seem to figure

Hello, can someone please help me out with this R coding? I keep on getting this error message but I just can't seem to figure out why. I have imported a table named "life" and made sure that it is in the same directory as my working directory. I then try to summarise it using the 'summary' function. When I run the code it works but as soon as I try to knit it, this error message shows up. Can someone please tell me how to fix this problem?
Thank you
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
