search for: cons

Displaying 20 results from an estimated 6787 matches for "cons".

Did you mean: const
2015 May 15
2
comportamiento de data.table al hacer calculos por grupos
...graficar los promedios ... > > mmmmm puede que mi explicacion sea algo confusa, espero que me > entiendan. > > Encontre que luego puedo renombrar la columna, pero no lo quiero > hacer, pues pienso que deberia ser estandar poder ponerle el nombre > y que se construya bien el objeto con los promedios inmediatamente. > Ademas el promedio es solo uno de los calculos que debo hacer y los > otros tambien quedan con el nombre V1 en la mismo data.table. > > Alguna idea de como hacerlo ? > > Adjunto archivo con datos. > >...
2013 Sep 06
2
Problema con filtros de datos en un data.frame
Estimados, tengo el siguiente problema: estoy trabajando con un data.frame que tiene 892 filas y 9 columnas, el cual adjunto para que puedan probar. Cuando consulto por las filas que cumplen una cierta condicion, por ejemplo, ... graph[graph$NCar==c("160s"),] obtengo el siguiente conjunto de datos: sol con dia NCar NIns isom area rep tipo 1 con 0.001 1 160s 0 s 0.6083543 1 8 con 0.001 2 160s 0 s 0.6388484 1 &...
2018 May 26
2
Buffering in R 3.5 connections causes incorrect data in readChar
I noticed an issue where readChar does not return the correct value after a call to readline. It appears that readChar is not aware of the buffering, so it reads from the end of the buffer, rather than the current position in the file. This is a significant change of behavior from R-3.4.4. Below is a test case that I used to home in on the problem. --- p<-"test2.txt"
2013 Sep 06
3
Problema con filtros de datos en un data.frame
...> > El día 7 de septiembre de 2013 00:57, neo <ericconchamunoz en gmail.com> escribió: >> Estimados, tengo el siguiente problema: estoy trabajando con un >> data.frame que tiene 892 filas y 9 columnas, el cual adjunto para que >> puedan probar. >> >> Cuando consulto por las filas que cumplen una cierta condicion, por >> ejemplo, ... >> >> graph[graph$NCar==c("160s"),] >> >> obtengo el siguiente conjunto de datos: >> >> sol con dia NCar NIns isom area rep tipo >> 1 con 0.001 1 160s...
2011 Aug 14
3
Not sure how to use aggregate, colSums, by
I have a data frame called test shown below that i would like to summarize in a particular way : I want to show the column sums (columns y ,f) grouped by country (column e1). However, I'm looking for the data to be split according to column e2. In other words, two tables of sum by country. One table for "con" and one table for "std" shown in column e2. Finally at the
2004 Apr 23
0
Sum Sq of SPSS and R different for repeated measures Anova
Dear all, I'm still learning and transitioning from SPSS to R (1.9.0, winXP) and today I have data from two repeated measures experiments. For each of the subjects I've averaged for two within-SS factors (2 x 2, 4 means per subjects). One experiment had 16 subjects, the other one 25 (between-SS factor exp). So I have something like: avg.cond <- read.table('data.txt') #
2015 May 14
3
comportamiento de data.table al hacer calculos por grupos
...;sol,dia,con". Esto no me sirve pues tengo que graficar los promedios ... mmmmm puede que mi explicacion sea algo confusa, espero que me entiendan. Encontre que luego puedo renombrar la columna, pero no lo quiero hacer, pues pienso que deberia ser estandar poder ponerle el nombre y que se construya bien el objeto con los promedios inmediatamente. Ademas el promedio es solo uno de los calculos que debo hacer y los otros tambien quedan con el nombre V1 en la mismo data.table. Alguna idea de como hacerlo ? Adjunto archivo con datos. Saludos y gracias, eric. -- Forest Engineer Mas...
2004 Aug 06
5
Missing headers in Icecast2
Hi Karl, Thanks for your help, About the "Connection:" header, you are right, it's: "Connection: close" and NOT "Connection: keep-alive". The protocol when the SERVER sends the data is http 1.0. It's http 1.1 when the browser requests the data. I don't understand the "Content-Length: 54000000" header either. Also I noticed the flash player on
2013 Sep 10
1
Problema con filtros de datos en un data.frame
...y cuando al > vector de menor longitud se le acaban sus elementos, se recicla... > En cambio, si utilizas %in% lo que haces es buscar qué elementos del primer > vector coinciden con los del segundo. > Un saludo. > > Isidro Hidalgo Arellano > Observatorio Regional de Empleo > Consejería de Empleo y Economía > ihidalgo@jccm.es > http://www.jccm.es > > > > > -----Mensaje original----- > > De: r-help-es-bounces@r-project.org [mailto:r-help-es-bounces@r- > > project.org] En nombre de neo > > Enviado el: sábado, 07 de septiembre de 2013 1:49...
2013 Jan 21
2
how to bread while loop reading from connection with read.csv
Hello, I'm trying to read a file rows at a time, so as to not read the entire file into memory.? When reading the "connections" and "readLines" help, and "R help archive," it seems this should be possible with read.csv and a file connection, making use of the "nrows" argument, and checking where the "nrow()" of the new batch is zero rows.
2006 Oct 09
1
Discussion starter for package level Connection API
...e capability to call close on the connection without updating the original isopen member. Here's a rather restrictive approach whereby the user must know the integer index of the connection. Each function is a wrapper around the related Rconnection member. int R_VfprintfConnection(int idx, const char *format, va_list ap){ Rconnection con = getConnection(idx); if (!con) return -1; /* just like fprintf(3)? */ if(!con->isopen) error(_("connection is not open")); if(!con->canwrite) error(_("cannot write to this connection")); return con-&g...
2002 Dec 05
1
writing to gzfile: segmentation fault (PR#2347)
Full_Name: Vadim Ogranovich Version: Version 1.6.0 (2002-10-01) OS: Red Hat 7.1 Submission from: (NULL) (209.99.241.1) The following sequence of commands crashes my R session. The first weirdness happens after the second command that appears not to change the "foo.gz" file, no error generated. > con <- gzfile("foo.gz", open="w"); cat("goo\n",
2013 May 08
1
getting corrupted data when using readBin() after seek() on a gzfile connection
Hi, I'm running into more issues when reading data from a gzfile connection. If I read the data sequentially with successive calls to readBin(), the data I get looks ok. But if I call seek() between the successive calls to readBin(), I get corrupted data. Here is a (hopefully) reproducible example. See my sessionInfo() at the end (I'm not on Windows, where, according to the man page,
2011 Feb 04
2
Strange behaviour of read and writeBin
To me it seems like writeBin() writes one char/byte more than expected. > con <- file("testbin", "wb") > writeBin("ttccggaa", con) > close(con) > con <- file("testbin", "rb") > readBin(con, what="character") [1] "ttccggaa" > seek(con, what=NA) [1] 9 > close(con) > con <-
2016 Jul 07
2
NetworkManger creates extra bonds; is this a bug?
Hi All, I see an unexpected beahviour from NetworkManager on CentOS 7.1. Using nmcli tool, I create a bond with two slaves as explained in the Red Hat 7.1 Networking guide. I enable slaves and master; bond works as expected. When I restart NetworkManager, it creates a new bond with the same name but not connected to any device. Two bonds with the same name is confusing for my other monitoring
2018 May 29
1
Buffering in R 3.5 connections causes incorrect data in readChar
...Thank you for the explanation. I see in the documentation: "These functions are intended to be used with binary-mode connections." So I see how using it on a text connection is undefined, and not a bug. An error or warning when attempting to use a it on a text connection would be helpful considering how the behavior has changed in R-3.5. On Tue, May 29, 2018 at 3:09 AM, Tomas Kalibera <tomas.kalibera at gmail.com> wrote: > On 05/26/2018 05:15 AM, Aaron Goodman wrote: > >> I noticed an issue where readChar does not return the correct value after >> a >> ca...
2013 Sep 06
0
Problema con filtros de datos en un data.frame
...http://www.datanalytics.com El día 7 de septiembre de 2013 00:57, neo <ericconchamunoz en gmail.com> escribió: > Estimados, tengo el siguiente problema: estoy trabajando con un > data.frame que tiene 892 filas y 9 columnas, el cual adjunto para que > puedan probar. > > Cuando consulto por las filas que cumplen una cierta condicion, por > ejemplo, ... > > graph[graph$NCar==c("160s"),] > > obtengo el siguiente conjunto de datos: > > sol con dia NCar NIns isom area rep tipo > 1 con 0.001 1 160s 0 s 0.6083543 1 > 8 co...
2013 Sep 10
0
Problema con filtros de datos en un data.frame
...elementos de dos vectores, uno a uno, y cuando al vector de menor longitud se le acaban sus elementos, se recicla... En cambio, si utilizas %in% lo que haces es buscar qué elementos del primer vector coinciden con los del segundo. Un saludo. Isidro Hidalgo Arellano Observatorio Regional de Empleo Consejería de Empleo y Economía ihidalgo en jccm.es http://www.jccm.es > -----Mensaje original----- > De: r-help-es-bounces en r-project.org [mailto:r-help-es-bounces en r- > project.org] En nombre de neo > Enviado el: sábado, 07 de septiembre de 2013 1:49 > Para: Carlos J. Gil Bellost...
2007 Aug 14
4
Import of Access data via RODBC changes column name ("NO" to "Expr1014") and the content of the column
Dear all, I have some problems with importing data from an Access data base via RODBC to R. The data base contains several tables, which all are imported consecutively. One table has a column with column name "NO". If I run the code attached on the bottom of the mail I get no complain, but the column name (name of the respective vector of the data.frame) is "Expr1014" instead of "NO". Additionally the original column (type &...
2004 Dec 10
1
subset bug?
I ran into a problem with "subset" while working at home that I am not sure is a bug or not. I defined a custom function to take a data frame of tree positions, sizes, and types (containing the columns TRT, COMP, PLOT, X, Y, DBH and CON) and wanted to make a stem map of the plot using different symbols and colors to represent the different types of tree stems. I copied a bit of the