Displaying 20 results from an estimated 1400 matches similar to: "Clear last x entries of R console"
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()
>
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 <-
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
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
--
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
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
Hola, ¿qué tal?
Si la base de datos de destino es SQL Server, ¿por qué no pruebas con
la función dbBulkCopy del paquete
https://github.com/agstudy/rsqlserver? Debería poder cargar millones
de registros en segundos. Al menos, en una única transacción en lugar
de múltiples como con sqlSave.
Un saludo,
Carlos J. Gil Bellosta
http://www.datanalytics.com
El día 12 de abril de 2016, 11:55,
2009 Jul 09
9
Population pyramids
Hi, I hope somebody can help me with this issue: I am doing population pyramids using the barplot command, so in the left side I have male age structure and in the right side the female age structure. To plot the male age structure I put the data in negative numbers. Now, I want to change the sign in the bar plot in such way that I have no-sign numbers, both in left and right side of the graph. I
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]]
2010 Feb 13
4
Labels on a pyramide
I am using pyramid.plot() from the plotrix package.
I have something like this
############################################
xy.pop<-dados$masfr
xx.pop<-dados$femfr
#agelabels<-dados$femlab
xycol<-color.gradient(c(0,0,0.5,1),c(0,0,0.5,1),c(1,1,0.5,1),11)
xxcol<-color.gradient(c(1,1,0.5,1),c(0.5,0.5,0.5,1),c(0.5,0.5,0.5,1),11)
xylab<-dados$maslab
xxlab<-dados$femlab
2012 Apr 12
2
pyramid.plot in plotrix, axis labelling
Hi, I've been looking at ways to make pyramid plots in R. I like the pyramid.plot method in plotrix as it seems the simplest to use and building them in ggplot looks a bit more code intensive than I'd like, being as I'm new to R. This package does pretty much what I need it to do, however I can't seem to scale the x axis labels. The other labels scale fine with labelcex.
I
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(b) does work
2013 Jun 19
2
Barra de progreso
Gracias, Daniel!.
No veo claro cómo adaptarlo (en mi caso se trata de un apply de tal modo que para cada item de la lista leo el fichero de datos cuyo nombre se indica, y en total leo tantos ficheros como elementos hay en la lista). Le daré una vuelta a ver si consigo aplicarlo bien y si no en tal caso os consulto.
Saluditos!
Eva
________________________________
De: daniel
2009 Jul 30
1
Transparency and pyramid.plot
Hi all
Another question related to my earlier -- how might I get transparency to work
with pyramid.plot in library(plotrix)? I can't figure it out, and the help page
says it is there but doesn't give an example.
Thanks!
2011 Nov 14
1
Confused with an error message related to "plotrix" library in the newer versions of R.
Dear R Users,
Greetings!
I am confused with an error message related to "plotrix" library in the
newer versions of R.
I used to run an R script without fail in the earlier versions (R 2.8.1) of
R; but the same script is now throwing up an error message in the newer
versions (Now I have R 2.13.0 & R 2.14.0).
Herewith I am furnishing the same code for your perusal. It would
2009 Dec 09
3
Population Histogram
How would I make a population histogram in R from an excel file? Thanks
[[alternative HTML version deleted]]
2016 Apr 12
2
Procesos paralelos
Estimado Gilsanz
Algo que puede ser, ¿tiene instalado tcltk en Windows?
Yo ante un problema parecido lo solucioné realizando un contador, en mi caso conozco la cantidad de consultas, entonces simplemente ?imprimo? en pantalla 1 de 100, 2 de 100, etc. No es gráfico, pero R me informa dos cosas, que está trabajando y cuánto falta, feo a la vista pero muy simple.
Javier Rubén Marcuzzi
De:
2010 Nov 22
8
Router for SOHO network - hardware considerations
Hi,
Last week I finished installing a small network in a private school :
one server (an old IBM X225), seventeen desktops (Fujitsu Siemens PIV
2.4 GHZ, 512 MB RAM, 40 GB HD), all running CentOS 5.5.
One extra machine is acting as a router, in that it is installed between
the DSL modem and the network, with two Ethernet cards, and it's taking
care of DHCP, DNS, NTP and also acts like a
2012 May 22
2
getting a Likert plot from a data frame
I'm creating a stacked bar chart using the likert command in the HH package. My data are in a data frame, with two numeric variables and a categorical variable, I can't get likert to use the column containing the categorical variable as a my y axis label.
Here is a quick example:
library(HH)
#my data are:
2012 Sep 24
1
Adding textbox to multiple panels in lattice
Dear R-users,
I am trying to add some text in a textbox to all panels in the following
example file. Using the panel-function, I can add a white rectangle with
panel.rect but then I have to fit in the text into the box by hand and it
will not automatically be centered. Does anyone know how to add the text
centered with a white box around it automatically? Is there something like
panel.textbox for