Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3690814
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T04:04:39+00:00 2026-05-19T04:04:39+00:00

I had some help in the past with getting the coordinates of a network

  • 0

I had some help in the past with getting the coordinates of a network graph plotted in tkplot here. Now I am stumped again.

Here is the output from a new session.

> g <- graph.data.frame(edges, directed=T, vertices=vert)
> summary(g)
Vertices: 436 
Edges: 1856 
Directed: TRUE 
No graph attributes.
Vertex attributes: name.
No edge attributes.
> tkplot(g, vertex.label=vert$label)
Loading required package: tcltk
Loading Tcl/Tk interface ... done
[1] 1

but when I try this, I am getting and error:

> lay <- tkplot.getcoords(1)
Error in eval(expr, envir, enclos) : object 'tkp.1' not found

I am sure this is due to my lack of knowledge on the topic, but what am I missing?

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T04:04:40+00:00Added an answer on May 19, 2026 at 4:04 am

    Are you sure the last command was run just after calling the tkplot function and the Graph plot is still open? The number, given back before by tkplot, is really 1?

    As I do not know anything about your datas, I could play just with the demo datasets, but the following syntax should work for you I suppose:

    lay <- tkplot.getcoords(tkplot(g, vertex.label=vert$label))
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've had some help from a friend (who is now away on holiday) but
Need some help with this problem in implementing with XSLT, I had already implemented
we had some demands here in my job that include working with asp. We
I had some experience of android but know almost nothing of GCC Makefile. Here
Probably a simple one, but I need some help. I had some radio buttons
I had some help and some suggestions on how to remove a class name.
Ok, so a little while back I had some help writing some PHP voting
I had some help today with a need and this is what I have
I had some code that constructed an object: function gridObjConst(id, itemName, itemPrice, itemListPrice, width,
I had some issues with XPTemplate vim plugin. Sometimes it yields with errors, and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.