Displaying 20 results from an estimated 21 matches for "tkprogressbar".
2008 May 09
1
getWinProgressBar does not return previous value
I am trying to use winProgressBar, however I find that although
setWinProgressBar updates the value on the screen, getWinProgressBar does
not return this value.
E.g
> pb <- winProgressBar()
> setWinProgressBar(pb, 0.2)
> getWinProgressBar(pb)
[1] 0
I tried the same with tkProgressBar, and it is working as I would expect
from the documentation.
> pb <- tkProgressBar()
> setTkProgressBar(pb, 0.5)
> getTkProgressBar(pb)
[1] 0.5
... and I get the same result using txtProgressBar .
Does anyone using winProgressBar find the same behaviour, or know the reason
for it? A s...
2008 Sep 15
2
Cross-platform function availability
Hi all,
Is there any way to determine which functions are available on which
platforms? For example, winProgr essBar (and related functions) are
only available on Windows, but what about tkProgressBar and
txtProgressBar? Is there any way to figure out which functions are
only available on certain platforms, without installing R on that
platform and checking?
Thanks,
Hadley
--
http://had.co.nz/
2013 Jun 19
2
Barra de progreso
...ress-with-a-progress-bar/
library(utils)
total <- 20
# create progress bar
pb <- txtProgressBar(min = 0, max = total, style = 3)
for(i in 1:total){
Sys.sleep(0.1)
# update progress bar
setTxtProgressBar(pb, i)
}
close(pb)
library(tcltk)
total <- 20
# create progress bar
pb <- tkProgressBar(title = "progress bar", min = 0,
max = total, width = 300)
for(i in 1:total){
Sys.sleep(0.1)
setTkProgressBar(pb, i, label=paste( round(i/total*100, 0),
"% done"))
}
close(pb)
sessionInfo()
R version 3.0.1 (201...
2013 Jun 18
3
Barra de progreso
Buenas tardes:
¿Cuál es el modo más adecuado de incorporar una barra de progreso en la ventana de comandos?. Es para acompañar a un proceso de lectura de ficheros de datos...
Necesitaba que la solución fuese multiplataforma.
Gracias.
Un saludo.
Eva
[[alternative HTML version deleted]]
2012 Aug 29
1
Problem Installing a Package
...ray?,
?[[<-.tclArray?, ?$.tclArray?, ?$<-.tclArray?, ?names.tclArray?,
?names<-.tclArray?, ?length.tclArray?, ?length<-.tclArray?, ?tclObj.tclVar?,
?tclObj<-.tclVar?, ?tclvalue.default?, ?tclvalue.tclObj?, ?tclvalue.tclVar?,
?tclvalue<-.default?, ?tclvalue<-.tclVar?, ?close.tkProgressBar? were declared
in NAMESPACE but not found
Error : .onLoad failed in loadNamespace() for 'tcltk', details:
call: fun(libname, pkgname)
error: Tcl/Tk support is not available on this system
Error : package ?tcltk? could not be loaded
ERROR: lazy loading failed for package ?TIMP?
* removi...
2012 Aug 24
1
Error while installing gsubfn_0.6-4.tar.gz for R 2.15.1
...clArray?, ?[[<-.tclArray?, ?$.tclArray?, ?$<-.tclArray?, ?names.tclArray?, ?names<-.tclArray?, ?length.tclArray?, ?length<-.tclArray?, ?tclObj.tclVar?, ?tclObj<-.tclVar?, ?tclvalue.default?, ?tclvalue.tclObj?, ?tclvalue.tclVar?, ?tclvalue<-.default?, ?tclvalue<-.tclVar?, ?close.tkProgressBar? were declared in NAMESPACE but not found
Error : .onLoad failed in loadNamespace() for 'tcltk', details:
call: fun(libname, pkgname)
error: Tcl/Tk support is not available on this system
Error : package/namespace load failed for ?tcltk?
Error : unable to load R code in package ?gsubfn?...
2013 Jun 20
1
Barra de progreso
...- 20
># create progress bar
>pb <- txtProgressBar(min = 0, max = total, style = 3)
>for(i in 1:total){
> Sys.sleep(0.1)
> # update progress bar
> setTxtProgressBar(pb, i)
>}
>close(pb)
>
>library(tcltk)
>total <- 20
># create progress bar
>pb <- tkProgressBar(title = "progress bar", min = 0,
> max = total, width = 300)
>
>for(i in 1:total){
> Sys.sleep(0.1)
> setTkProgressBar(pb, i, label=paste( round(i/total*100, 0),
> "% done"))
>}
>close(pb)
>...
2011 Dec 05
0
Problemas al cargar Rcmdr
...ay?,
?[[<-.tclArray?, ?$.tclArray?, ?$<-.tclArray?, ?names.tclArray?,
?names<-.tclArray?, ?length.tclArray?, ?length<-.tclArray?,
?tclObj.tclVar?, ?tclObj<-.tclVar?, ?tclvalue.default?,
?tclvalue.tclObj?, ?tclvalue.tclVar?, ?tclvalue<-.default?,
?tclvalue<-.tclVar?, ?close.tkProgressBar? were declared in NAMESPACE
but not found
Error: package ?tcltk? could not be loaded
Me queda claro que hay algún problema con tcltk, lo que no sé es que
tengo que instalar en Sabayon para que ande. Si tiro una búsqueda en
Entropy por tcltk me salta una cantidad abultada de paquetes.
Mientras...
2013 Jun 18
0
Barra de progreso
...ress-with-a-progress-bar/
library(utils)
total <- 20
# create progress bar
pb <- txtProgressBar(min = 0, max = total, style = 3)
for(i in 1:total){
Sys.sleep(0.1)
# update progress bar
setTxtProgressBar(pb, i)
}
close(pb)
library(tcltk)
total <- 20
# create progress bar
pb <- tkProgressBar(title = "progress bar", min = 0,
max = total, width = 300)
for(i in 1:total){
Sys.sleep(0.1)
setTkProgressBar(pb, i, label=paste( round(i/total*100, 0),
"% done"))
}
close(pb)
sessionInfo()
R version 3.0.1 (201...
2013 Jun 19
0
Barra de progreso
...create progress bar
> pb <- txtProgressBar(min = 0, max = total, style = 3)
> for(i in 1:total){
> Sys.sleep(0.1)
> # update progress bar
> setTxtProgressBar(pb, i)
> }
> close(pb)
>
> library(tcltk)
> total <- 20
> # create progress bar
> pb <- tkProgressBar(title = "progress bar", min = 0,
> max = total, width = 300)
>
> for(i in 1:total){
> Sys.sleep(0.1)
> setTkProgressBar(pb, i, label=paste( round(i/total*100, 0),
> "% done"))
> }
> close(p...
2012 Feb 03
2
Clear last x entries of R console
Hi All,
I am trying to build in a progress-tracker into my loops that let me have a
sense of their progress. I'd like to be able to output to screen a series of
periods "...." etc. for each completion of the loop, but I <don't> want to
build a pyramid, e.g.
.
..
...
....
etc. So I need to be able to delete <the last line> of the console entry to
accomplish this.
2009 Apr 22
1
Installation fails (PR#13669)
...text html latex example
TkWidgets text html latex example
tclServiceMode text html latex example
tcltk-defunct text html latex
tcltk-package text html latex
tkProgressBar text html latex example
tkStartGUI text html latex
tk_choose.dir text html latex example
tk_choose.files text html latex example
tk_messageBox text html l...
2009 May 21
0
problems building R-2.9.0 on solaris
...text html latex example
TkWidgets text html latex example
tclServiceMode text html latex example
tcltk-defunct text html latex
tcltk-package text html latex
tkProgressBar text html latex example
tkStartGUI text html latex
tk_choose.dir text html latex example
tk_choose.files text html latex example
tk_messageBox text html...
2011 Apr 09
2
A question about "txtProgressBar" function
Hi,
I tried to add a progress bar to my script, but it seems the "txtProgressBar" function will wipe out what I want to print before it(for example - the "Hello" in following script), and the parameters "title" and "label" do not work either. How can I put a title for the progress bar? or is there any other better function I can use?
testit <-
2008 Apr 30
3
How to stop buffering of "cat"
Hi All,
My R code takes very long time to finish the processing. I want to see at
what stage the script is running. So I wrote some output messages using cat.
But instead of displaying the cat messages at different stages they are
buffered and displayed in the end when entire processing is done.
Can you please suggest how to stop this buffering or some alternative way to
display messages
Thank
2016 Apr 12
2
Procesos paralelos
...a
http://www.datanalytics.com
El día 12 de abril de 2016, 11:55,
<miguel.angel.rodriguez.muinos en sergas.es> escribió:
> Hola José Luis.
>
> Te da algún error? o simplemente no aparece la barra de progreso?
>
> ... y si, en vez de usar winProgressBar(), pruebas con la función tkProgressBar() del paquete tcltk ¿?
>
> Un saludo,
> Miguel.
>
>
>
> El 12/04/2016 a las 11:04, Gilsanz, Jose Luis escribió:
>
> Hola:
>
> Vuelvo a la carga con algo que resolv? hace a?os y que ahora me ha dejado de funcionar y no consigo arreglar. A ver si alguien me sugiere al...
2011 Mar 15
2
Feature request: txtProgressBar with ability to write to arbitrary stream
Hi all,
I use txtProgressBar to monitor progress of large computations. What I
miss is the ability to redirect the progress bar to a stream other than
stdout, specifically to the message stream. This would be useful for
running Sweave scripts: When redirected to stderr, the bar could be
visible even though console output is diverted to the output file (and
there would be no cluttering of the
2016 Apr 12
2
Procesos paralelos
Hola:
Vuelvo a la carga con algo que resolví hace años y que ahora me ha dejado de funcionar y no consigo arreglar. A ver si alguien me sugiere algún enfoque o directamente la solucion.
Utilizo R en muchos procesos ETL y la cuestión es que me encuentro con que tengo que hacer inserts en un BBDD de SQL Server de varios miles (a veces millones de registros) que mientras R las realiza parece que
2016 Apr 12
2
Procesos paralelos
...muinos en sergas.es<mailto:miguel.angel.rodriguez.muinos en sergas.es>> escribió:
> > Hola José Luis.
> >
> > Te da algún error? o simplemente no aparece la barra de progreso?
> >
> > ... y si, en vez de usar winProgressBar(), pruebas con la función
> tkProgressBar() del paquete tcltk ¿?
> >
> > Un saludo,
> > Miguel.
> >
> >
> >
> > El 12/04/2016 a las 11:04, Gilsanz, Jose Luis escribió:
> >
> > Hola:
> >
> > Vuelvo a la carga con algo que resolv hace a os y que ahora me ha dejado...
2008 Apr 22
3
R 2.7.0 is released
...(y ~ log(x) + log(z)).
o print(<data.frame>)'s new argument 'row.names' allows to suppress
printing rownames.
o print() and str() now also "work" for 'logLik' vectors longer than
one.
o Progress-bar functions txtProgressBar(), tkProgressBar() in
package tcltk and winProgressBar() (Windows only).
o readChar() gains an argument 'useBytes' to allow it to read a
fixed number of bytes in an MBCS locale.
o readNEWS() has been moved to the tools package.
o round() and signif() now do internal argu...