Displaying 20 results from an estimated 400 matches similar to: "Refreshing the GUI and packing images"
2004 Oct 22
1
building an R package : where and how should my fortran library be loaded ?
Hi ,
I'm currently trying to make available
a few fortran subroutines and R functions
(which make interface to these subroutines),
as an R package.
I'm doing it under linux with R 1.9.0
(but hope to do it for windows too).
I have trouble for loading my fortran code.
Here are the steps involved :
1) In R:
# Create tree for package
2009 Jan 13
3
problem whit Geneland
I do the these passages:
library(Geneland)
set.seed(1)
data <- simdata(nindiv=200,
coord.lim=c(0,1,0,1) ,
number.nuclei=5 ,
allele.numbers=rep(10,20),
IBD=FALSE,
npop=2,
give.tess.grid=FALSE)
geno <- data$genotypes
coord <- t(data$coord.indiv)
path.mcmc <-
2004 Oct 25
5
building a package under windows
Hi,
I have a package of my own which seems to work fine under linux.
I want to make a compiled version for windows.
(I work with windows 2000 and R 2.0)
I have followed the steps described in the file
readme.packages (in the top-level directory of the binary installation)
and I had a trouble at this step (which aim is not documented):
C:\Program Files\R\rw2000\src\gnuwin32>make libR.a
2009 Apr 14
0
disappearing dialog boxes when using tcltk
Dear all,
I'm trying to use tcltk to build a small
user-interface and couter the problem:
It seems that sometimes the dialog box will be
minimized automatically though I want it to be on top
of the screen all the time.
For example, when runing the following code, if you
type in "a1", "a2", "a3", etc when being asked for an
integer, the program is supposed to
2009 Oct 19
1
Problem with geometry manager in TclTK
Hello, everyone.
I have the following problem with TclTk: I create some windows and want to
change their position with geometry manage (sometimes they will be centered,
sometimes not).
If the toplevel is created and its dimensions are gathered via 'tkwinfo', I
get (usually) correct values. However, if this window is created by a
function (in the following example, by 'ask.format')
2008 Jul 18
0
Retrieving data from a tcl /tk function
Hello,
I am sorry if this is an answered question, but I did my homework for a long while and couldn't figure out a way to retrieve data entry from a model dialog. In one of the examples compiled by James Wettenhall:
odalDialog <- function(title, question, entryInit, entryWidth = 20,
returnValOnCancel = "ID_CANCEL") {
dlg <- tktoplevel()
tkwm.deiconify(dlg)
2006 Mar 02
0
tcltk error when calling a dialog
Hello;
I've got several radiobuttons in tcltk with the following sintaxis:
tk2.rd <- /tkradiobutton(/frame4,command=plotDialog1,text="New Q plot", value=2, variable=OUTPLOTtclVar/)/
All the buttons call the same function "plotDialog1". With the objective
of call a dialog to select some plotting options.
When I select one of the radiobuttons and the windows with the
2010 May 29
1
warning In fun(...) : no DISPLAY variable so Tk is not available
I am getting the above warning following loading of Geneland 3.1.5 on
unix , while a simple plot sends output to the pdf file ( see attached
code) no output results from Geneland functions, resulting in empty pdf
files
> library (Geneland)
Loading required package: RandomFields
Loading required package: fields
Loading required package: spam
Package 'spam' is loaded. Spam version
2010 May 20
1
Geneland error on unix: Error in MCMC(........ :, unused argument(s) (ploidy = 2, genotypes = geno)
I am receiving the above error ( full r session output below) the
script runs OK in windows. and "genotypes" and "ploidy" are both
correct arguments
any suggestions would be most welcome
Nevil Amos
MERG/ACB
Monash University School of Biological Sciences
> library(Geneland)
Loading required package: RandomFields
Loading required package: fields
Loading required
2003 Nov 03
0
problem with fix() called from Rcmdr
Dear list members,
I and my students have encountered an intermittent problem using the Rcmdr
package (version 0.9-0) under Windows (with the SDI). The problem occurs
both in versions 1.7.1 and 1.8.0 of R.
The problem seems to occur only in the following context: The "Edit data
set" button is pressed in the Rcmdr GUI. This executes the fix() function
on the active data frame,
2012 Nov 19
6
tcltk freezing using MS Windows for R-2.14+
I am the maintainer of a Bioconductor package (affylmGUI) which uses
tcltk. It freezes inconsistently on MS Windows, but not Mac or Unix. see
details below.
After considerable testing I have reduced the problem from a few
thousand lines of code to 30 lines!
If you paste the following lines of code into an R window:
testGUI <- function(){
require(tcltk)
MainWindow <-
2010 May 31
0
miss.loc function in MCMC Geneland: can't make it work
I am trying to use the function 'filter.NA=TRUE' in Geneland. The function
appears to be set on TRUE by default, as it appears as TRUE in the
'parameter.txt' file output and hence I do not need to enter the function
per se (as it is an 'Unused argument otherwise') . Hence all my missing
data (individuals that I have not yet scored at that specific loci) are
scored as
2007 Jul 20
0
[1124] trunk/wxruby2/samples/bigdemo/wxGauge.rbw: Use Wx::Timer instead of evt_idle to drive Gauge sample, to avoid 100%
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2011 Apr 04
0
Multithreading of Geneland
Hi all,
I would like to multithread that script, to detect structure from multilocus genetic data :
>library(Geneland)
>
>geno = read.table("cot966gen_test.txt") #the file is show after
>MCMC(geno.dip.codom = geno, varnpop=T, npopmax=20, spatial = F, nit=100000, thinnin=100, path.mcmc="./")
>PostProcessChain(path.mcmc="./", nxdom=100, nydom=100,
2008 Oct 22
0
Bug when importing datas with tcltk window (PR#13191)
Full_Name: PREUSS Bastien
Version: R version 2.6.2 (2008-02-08)
OS: mingw32
Submission from: (NULL) (193.51.249.166)
Hello,
I wrote a small function using tcltk to import my datasets.
When I use it, both the tcltk and the R windows closed themselves.
I don't understand why. What is surprising is that it doesn?t happen each time.
Most of the time I can't finish the importation of my 3
2010 Mar 01
0
Multicolumn Listbox selectcommand trouble
Hey folks,
This is my first message to the mailing list so please let me know if I
mess something up.
I'm trying to use the selectcommand for the mclistbox but I'm not very
adept at using functions. Ideally I'd like to change the editor text when
a different list item is selected but any help using the selectcommand
would be appreciated and I think I could get the rest working.
2016 Nov 14
0
getGraphicsEvent() alternative for cairo graphics device?
Hi Paul,
OK I tried not to make the examples too fancy.
Please let me know what you think. They should probably be amended to
support the Windows platform, but I think that task would be much
easier for someone with access to Windows...
By the way I'm Cc'ing Mark O'Connell who shared with me some great
getGraphicsEvent examples - well, I found them useful, perhaps if
these are going
2004 Apr 14
1
Passing a pointer to .C() in Win32
Hi,
Is there any way to pass an integer from R to C and have
it cast as a pointer?
# Win32 Example:
library(tcltk)
tt <- tktoplevel()
hWndString <- tclvalue(tkwm.frame(tt))
# I'll avoid posting code to this function:
source("http://bioinf.wehi.edu.au/folders/james/R/hexStringToDecimalInteger.R")
hWnd <- hexStringToDecimalInteger(hWndString)
system32 <-
2008 Dec 10
1
plot Geneland result in a map
Hello,
anybody know the procedure to plot the geneland result in a map?
thank you
**********************************************************
Vincenzo Landi
Post Doctorate student
Animal genomic and breeding
cell:0039/3395388713
Fax. 075-5857122
[[alternative HTML version deleted]]
2006 May 22
1
rerender tcltk toplevel
Hi everybody,
I am trying to write a simple progress display based on a tcltk
toplevel. My first approach was to use the progressBar widget from the
BWidget library but since this is not available on every system (missing
on at least almost all windows systems, I guess...) I wanted to have a
backup there. So my second strategy was to use a simple toplevel with a
label and update the tclvariable