I am having trouble running the assignment files from bracket to chrome browser

Ok issue of web browser is resolved, but I am getting this input error of reference error. for which I used the refer post which I just shared with you, at that time I get a different output. Can anyone guide me further?

with the first error, the below image is the error

by using the referred this post Programming Assignment: Breast Cancer Classification error - #3 by James_J_Johnson, I got the below output

Now is my code has error, or something else? I want someone to have a look

Regards
DP