Please help me to check R input

I have input data into R but the program run with error.
I would like to calculate Betweenness, Closeness, and Eigen Vector

Please help me check this input. You may revise my file and send it back to me.
Be noted that I cannot attach my R file. How can I send my file?

Thank you very much

Please construct a self-contained minimal example that illustrates the problem. See http://sscce.org/ for guidance, as well as the links here: Minimal working example - Wikipedia Then someone might be able to spot the problem.

Attaching source files is not possible. I’m afraid that asking for help with pieces of code that do not fit into a single post are out of scope for this forum.