Displaying 3 results from an estimated 3 matches for "nsew".
Did you mean:
new
2012 Aug 07
0
Trying to build up a user interface with the R tcltk package
...ys a simple tk window when run from tclsh, is as follows:
#! /usr/bin/tclsh
package require Tk
ttk::frame .c -padding "3 3 12 12"
ttk::frame .c.f -borderwidth 5 -relief sunken -width 200 -height 100
ttk::label .c.namelbl -text Name
grid .c -column 0 -row 0 -sticky nsew
grid .c.f -column 0 -row 0 -columnspan 3 -rowspan 2 -sticky nsew
grid .c.namelbl -column 3 -row 0 -columnspan 2 -sticky nw -padx 5
Do you have any comments on this?
Thanks,
--Sergio.
--
View this message in context: http://r.789695.n4.nabble.com/Trying-to-build-up-a-user-interface-wi...
2023 Mar 13
1
tcl tk: set the position button
Dear Rodrigo,
Try tkwm.geometry(win1, "-0+0"), which should position win1 at the top
right.
I hope this helps,
John
--
John Fox, Professor Emeritus
McMaster University
Hamilton, Ontario, Canada
web: https://socialsciences.mcmaster.ca/jfox/
On 2023-03-12 8:41 p.m., Rodrigo Badilla wrote:
> Hi all,
> I am using tcltk2 library to show buttons and messages. Everything
> work
2005 Sep 14
4
Converting coordinates to actual distances
Hello,
I've been searching for a method of converting Lat/Lon decimal
coordinates into actual distances between points, and taking into
account the curvature of the earth. Is there such a package in R? I've
looked at the GeoR package, but this does not seem to contain what I am
looking for. Ideally the output would be a triangular matrix of
distances.
Thanks in advance,
Paul Brewin