Re: [ESS] Quit window in ess-rdired-mode

2017-08-10 Thread Igor Sosa Mayor
I press 'q' to quit: the rdired is killed (as far as I see from the code), but the window is still there (I have two windows with the same R buffer). Many thanks in advance. PS: if you as author don't use rdired, may I ask what you are using instead? -- :: Igor Sosa Mayor :: joseleop

[ESS] Quit window in ess-rdired-mode

2017-08-10 Thread Igor Sosa Mayor
Hi, if I open the object view with ess-rutils-objs I would like that pressing 'q' not only kills the buffer (which is what is done, as far as I can see in the code), but that quit-window is executed. What would be the best method to implement it? Many thanks in advance. Best, -- :: Igor Sosa

[R] Results of vcovCL (sandwich) and of cluster() in Stata

2017-08-03 Thread Igor Sosa Mayor
;Wittenberg") # the model m1 <- lm(prot1530 ~ press - 1, data = cities) # the clustered standard errors coeftest(m1, vcov. = vcovCL(m1, cluster=cities$territory)) I tried different types (HC1, HC2, etc), but always the value for the SE is not the same as in the table. Any ideas? Man

Re: [R-es] Porcentajes por grupos

2016-08-17 Thread Igor Sosa Mayor
No tengo tiempo de mirar tu código ahora, pero para esas cosas dplyr suele funcinoar muy bien. https://cran.rstudio.com/web/packages/dplyr/vignettes/introduction.html 2016-08-17 16:31 GMT+02:00 Mauricio Monsalvo : > Hola. > Necesito calcular los porcentajes de un valor

Re: [R-es] Problema con el subset

2014-12-18 Thread Igor Sosa Mayor
, lwd = 1.5, col = colors[i], pch = char[i]) ¿no tendría que ser? lines(as.Date(dfgrupo$fecha), tree, type = b, lwd = 1.5, col = colors[i], pch = char[i]) Saludos, -- :: Igor Sosa Mayor :: joseleopoldo1...@gmail.com :: :: GnuPG: 0x1C1E2890 :: http://www.gnupg.org/ :: :: jabberid

Re: [R-es] VI Jornadas de Usuarios de R [Materiales]

2014-11-04 Thread Igor Sosa Mayor
! -- :: Igor Sosa Mayor :: joseleopoldo1...@gmail.com :: :: GnuPG: 0x1C1E2890 :: http://www.gnupg.org/ :: :: jabberid: rogorido :::: ___ R-help-es mailing list R-help-es@r-project.org https://stat.ethz.ch/mailman

Re: [R-es] NA no es reconocido como NA

2014-08-13 Thread Igor Sosa Mayor
me orienta donde esta el error. he probado con: if (dat[n,1] == NA) if (dat[n,1] == ) if (dat[n,1] == NA) ¿has probado con is.na(x)? Ten en cuenta que devuelve TRUE o FALSE por lo que tendrías que adaptar el código... -- :: Igor Sosa Mayor :: joseleopoldo1...@gmail.com :: :: GnuPG

Re: [R] citation() command doesn't work in R.3.1.1

2014-08-06 Thread Igor Sosa Mayor
with the compilation, since as far as I know, the package `base' should be loaded automatically by starting R... -- :: Igor Sosa Mayor :: joseleopoldo1...@gmail.com :: :: GnuPG: 0x1C1E2890 :: http://www.gnupg.org/ :: :: jabberid: rogorido

Re: [R] Cargar csv 16 GB en R

2014-06-02 Thread Igor Sosa Mayor
laura tomé tomelaur...@yahoo.es writes: Hola, Estoy todavía dando mis primeros pasos en R y una de las cosas que tengo que hacer es trabajar con un csv de 16 GB. Consta de 10 columnas, 7 númericas escribe a la lista en español, que está aquí: https://stat.ethz.ch/mailman/listinfo/r-help-es

Re: [R] Mean of colMeans

2014-05-21 Thread Igor Sosa Mayor
Sosa Mayor :: joseleopoldo1...@gmail.com :: :: GnuPG: 0x1C1E2890 :: http://www.gnupg.org/ :: :: jabberid: rogorido :::: __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] copy the columns based on the code

2012-03-27 Thread Igor Sosa Mayor
-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- :: Igor Sosa Mayor :: joseleopoldo1...@gmail.com :: :: GnuPG: 0x1C1E2890

Re: [R] show and produce PDF file with pdf() and dev.off( ) in function

2012-03-24 Thread Igor Sosa Mayor
-contained, reproducible code. -- :: Igor Sosa Mayor :: joseleopoldo1...@gmail.com :: :: GnuPG: 0x1C1E2890 :: http://www.gnupg.org/ :: :: jabberid: rogorido :::: pgpg4uu6RYbzt.pgp Description: PGP signature __ R

Re: [R] Help with dlply, loop and column names

2012-03-19 Thread Igor Sosa Mayor
=party, value.name=vote) dlply(ast, .(party, tipo), lm, formula=vote~total) or along those lines. This way you don't have to mess around with pasting together expressions to eval and so on... Peter On Sun, Mar 18, 2012 at 12:59 PM, Igor Sosa Mayor joseleopoldo1...@gmail.com wrote: Hi

[R] Help with dlply, loop and column names

2012-03-18 Thread Igor Sosa Mayor
) : objeto 'upyd' no encontrado If I call simply: elecregtipos(upyd) it works perfectly. The problem is the loop, column names, etc., but I'm really confused what I still could try, because I have already tried any possibility. Any hint? Thanks in advance. -- :: Igor Sosa Mayor

Re: [R] How to extend a slot of a class?

2012-03-16 Thread Igor Sosa Mayor
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- :: Igor Sosa Mayor :: joseleopoldo1...@gmail.com :: :: GnuPG: 0x1C1E2890 :: http://www.gnupg.org/ :: __ R-help@r

[R] Manipulate strings reordering some elements

2012-03-13 Thread Igor Sosa Mayor
this article and put it in front of the rest of the name. Any hints? Thanks in advance. -- :: Igor Sosa Mayor :: joseleopoldo1...@gmail.com :: :: GnuPG: 0x69804897 :: http://www.gnupg.org/ :: __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] Manipulate strings reordering some elements

2012-03-13 Thread Igor Sosa Mayor
I have to add some clarification: there are ONLY 4 articles (el,la,los,las) and the structure is always the same: NAMEOFMUNICIPALITY (El) NAMEOFMUNICIPALITY (La) etc. On Tue, Mar 13, 2012 at 10:42:54AM +0100, Igor Sosa Mayor wrote: Hi R-Users, I want to manipulate some strings

Re: [R] Manipulate strings reordering some elements

2012-03-13 Thread Igor Sosa Mayor
explanation of the perl expression you wrote (as far as I can understand, the point is this \\3 \\1...). thx again On Tue, Mar 13, 2012 at 11:12:24AM +0100, Berend Hasselman wrote: On 13-03-2012, at 10:42, Igor Sosa Mayor wrote: Hi R-Users, I want to manipulate some strings in the following

Re: [R] Manipulate strings reordering some elements

2012-03-13 Thread Igor Sosa Mayor
Berend: 1. 1000 thanks for your help. It works perfectly 2. many thanks for the analysis of the expression; i will try to understand it. Perl is really not easy to read thanks again! On Tue, Mar 13, 2012 at 11:51:49AM +0100, Berend Hasselman wrote: On 13-03-2012, at 11:28, Igor Sosa Mayor

Re: [R] R-help-es have reached 500 members!

2012-03-13 Thread Igor Sosa Mayor
__ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- :: Igor Sosa Mayor :: joseleopoldo1