search for: winprogressbar

Displaying 14 results from an estimated 14 matches for "winprogressbar".

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 expec...
2010 Feb 10
1
R crashes when setWinProgressBar is give a numeric value for label argument
This problem can be seen by the following commands: > pb <- winProgressBar(max=1000, label='0') > b <- 1 > setWinProgressBar(pb, b, label=b) This set of commands (on windows of course, XP in this case) causes R to crash. This is not strictly a bug since the documentation states that the label argument should be a character string and using as.character(...
2016 Apr 12
2
Procesos paralelos
...uery(canal1,paste("SELECT Count(*) ", " FROM ",tab, sep=""))) #Numero de registros cargados en el momento n total <- as.numeric(0) #Frecuenca de actualizacion de la barra frec <- 0.1 ##Creamos barra de progreso barra <- winProgressBar(title="Subiendo datos a SQL ", label = "Subido el: ", min= 0, max= 1,initial= 0, width = 800) ##Mientras los registros que quedan por subir sean inferiores a los que actualmente hay en la tabla se muestra la barra while ( entabla + asubir > t...
2016 Apr 12
2
Procesos paralelos
...lSave. Un saludo, Carlos J. Gil Bellosta 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...
2013 Feb 12
3
improving/speeding up a very large, slow simulation
...dex vectors for the base, master df ends <- seq(reps+1, size+1, by=reps) begins <- ends-reps index <- cbind(begins, ends-1) #done # next, need to assign the first 6 columns and number of rows = to the number of reps in the simulation to be the given row in the permut.grid matrix pb <- winProgressBar(title="Create base, big loop 1 of 2", label="0% done", min=0, max=100, initial=0) for (i in 1:combinations) { base[index[i,1]:index[i,2],1:permut.col] <- permut.grid[i,] #progress bar info <- sprintf("%d%% done", round((i/combinations)*100)) setWinProgressBar(...
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.
2016 Apr 12
2
Procesos paralelos
...2016, 11:55, > <miguel.angel.rodriguez.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 q...
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 <-
2010 Jun 22
5
Displaying Iteration Count
Hello, I'm running a very long for loop that usually takes hours. For my own piece of mind, it would be nice if I could check periodically and see which iteration the loop is on. A line of code that told R to print the iteration number every 100 or 200 iterations would be perfect. Does anyone know something like this? I've never known how to print anything within a for loop before the
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
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
2013 May 09
0
Barra de progreso en RODBC
...momento y de los registros que quedan por insertar pb <-function( tab,asubir,entabla ,frec ){ canal1 <- odbcDriverConnect( "case=nochange; Driver=SQL Server; Server=X; Database=X; uid=X; pwd=X; wsid=X;") #Conexión RODBC barra <- winProgressBar(title="SUBIENDO DATOS A SQL ", label = "Subido el: ", min= 0, max= 1,initial= 0, width = 800) #Definimos barra de progreso total <- as.numeric(0) #Vble total acumulara el nº registros que...
2008 Apr 22
3
R 2.7.0 is released
...a.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 argument matching if supplied with two arg...
2008 Apr 22
3
R 2.7.0 is released
...a.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 argument matching if supplied with two arg...