similar to: help awk y shells en R

Displaying 20 results from an estimated 400 matches similar to: "help awk y shells en R"

2015 Jun 08
2
help awk y shells en R
Al final resulto más fácil de lo esperado. Hay que instalar cywin y utilizar los comandos de la siguiente manera system('C:/cygwin/bin/wc -l var_risco_2012.csv') Esto en principio funciona El 8 de junio de 2015, 17:41, Carlos Ortega <cof en qualityexcellence.es> escribió: > Hola, > > Mira esto: > >
2012 Apr 18
1
Help with creating conditional categorical variables in R
Hi, I am stuck with creating a conditional categorical variable in R If my dataframe data_2 has 3 variables A,B,C I want to create variable D which would be something like : data_2$D <- ifelse(data_2$A < data_2$B & promotion_ind =="N",1,0), this throws up an error "In Ops.factor(data_2$A,data_2$B) : < not meaningful for factors I have tried converting the
2017 Oct 13
1
comparing two strings from data
Combining and completing the advice from Greg and Boris the complete solution is two lines: data_2 <- read.csv("excel_data.csv", stringsAsFactors = FALSE) match_list <- match( data_2$data1, data_2$data2 ) The vector match_list will have the matching position when it exists and NA's otherwise. Its length will be the same as the length of data_2$data1. You should get
2017 Oct 12
0
comparing two strings from data
It's generally a very good idea to examine the structure of data after you have read it in. str(data2) would have shown you that read.csv() turned your strings into factors, and that's why the == operator no longer does what you think it does. use ... data_2 <- read.csv("excel_data.csv", stringsAsFactors = FALSE) ... to turn this off. Also, the %in% operator will achieve
2016 Jan 11
2
tftp-hpa features?
On Fri, Jan 8, 2016 at 5:46 PM, Geert Stappers via Syslinux <syslinux at zytor.com> wrote: > On Fri, Jan 08, 2016 at 03:40:37PM -0600, Matt Zagrabelny via Syslinux wrote: >> Greetings, >> >> Is this list (a|the best) place to make feature requests for tftp-hpa? > > Yes, it is. > from email header List-Id: For discussion of Syslinux and tftp-hpa
2017 Sep 04
1
Merge by Range in R
Hi,? I have two big data set.? data _1 :? > dim(data_1) [1] 15820 5 > head(data_1) ? ?Chromosome ?????Start????????End????????Feature GroupA_3 1: ? ? ? ????????chr1 521369 ?750000 ????chr1-0001 ? ?????0.170 2: ? ? ? ????????chr1 750001 ?800000 ????chr1-0002 ? ????-0.086 3: ? ? ? ????????chr1 800001 ?850000 ????chr1-0003 ? ?????0.006 4: ? ? ? ????????chr1 850001 ?900000 ????chr1-0004 ?
2017 Oct 12
4
comparing two strings from data
Hi, I have two columns that contain numbers along with letters (as shown below) and have different lengths. Each entry in the first column is likely to be found in the second column at most once. For each entry of the first column, if that entry is found in the second column, I would like to get the corresponding index. For instance, if the first entry of the first column is 5th entry in the
2012 Apr 04
2
extract data
HI, I would like to extract data in a specific way.  For example, the rainfall data 0,0,1.5,0,0, 3,1,2.5,0,0,0,0, 2.3,0,0,0, 2.1,1.4,0,0,0, 3,2,1,0,0,0... data_1: 1.5, 2.3               ( a single nonzero data between zeros data) data_2: 3.1, 2.5, 2.1,1.4   ( two nonzero data between zeros data) data_3: 3,1,2.5, 3,2,1       ( three nonzero data between zeros data) Thank you so much for any
2010 Nov 06
4
Using changing names in loop in R
Hello everybody, I have usually solved this problem by repeating lines of codes instead of a loop, but it's such a waste of time, I thought I should really learn how to do it with loops: What I want to do: Say, I have several data files that differ only in a number, e.g. data points (or vector, or matrix...) Data_1, Data_2, Data_3,... and I want to manipulate them e.g. a simple sum of
2008 May 21
2
Medieval 2 Total War
Good evening! So, I have a problem with installing this game on ubuntu-linux. I tried it with Wine which turned out not to be able to set the doublebuffer in the configuration menu. First there were no problems, but after having installed quite half of the game there was an issue: Though the Error came in German (cause the game in German - anyway, I am a German guy ^^) The
2009 Dec 01
1
Multiple grouping on the X axis.
I am trying to plot data with multiple logical and physical groups using R. Below is a sample of the kind of data I am working with and the desired output. We have a jmp script that can do the same thing, but at ~$200 a year the licensing is counterproductive. Thanks for any help. Data input: Loaded from a CSV file. Physical_1 Logical_1 Logical_2 Data_1 Data_2 x Y Z2
2016 Jan 11
0
tftp-hpa features?
On 01/11/16 08:09, Matt Zagrabelny via Syslinux wrote: > > I would like to propose a feature request of adding filespace ACLs to tftpd-hpa. > > Example: > > I serve data out of /srv/tftp. I only want clients 192.168.1.0/24 to > have read access to /srv/tftp/data_1 and only want clients > 192.168.2.0/24 to have read access to /srv/tftp/data_2. > > Configuration:
2016 Jun 15
5
Hadoop
Hola buenas, me preguntaba si alguno usa hadoop Spark en su día día y si me podíais recomendar un buen curso para empezar. Estuve en la charla de meetup de madrid hace unos meses de Rspark y estuvo bien, ahora me preguntaba si es posible profundizar. Pero me gustaría tener recomendaciones de cualquier material que podáis recomendar, cursos de coursera que hayais hecho, libros que hayais leido,
2012 Nov 09
6
help: Función solve
Hace poco me ha pasado una cosa curiosa y soy incapaz de arreglara. Utilizando la función solve A <- matrix(c(1, 1, 1, 1, 1, 4, 5, 6, 7, 8, 0, 0, 0, 1,-1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0 ), nrow=5,byrow=T ) b <- c(40+1, 208, 0, 2, 14) # Jugar con los dos utlimos parametros hasta encontrar la solución x <- solve(A,b) > x[1] 14 16 7
2016 Jan 08
2
tftp-hpa features?
Greetings, Is this list (a|the best) place to make feature requests for tftp-hpa? If not, would you point me in the right direction, please? Thanks much! -m
2013 Jan 10
4
help: Alienware
Hace poco me compré un ordenador alienware(submarca de Dell) bajo SO widnow 7 64 bits, Ram 16Gb Procesador i7 El problema es que Rstudio de vez en cuando deja de funcionar cuando lo utilizo. En principio tengo un ordenadro parecido en el trabajo, que es de marca Acer y en principio mucho peor SO widnow 7 64 bits, Ram 4Gb Procesador i5 En ambos ordenadores me funciona la versión estandar de R,
2014 Sep 01
3
help: shiny leer ficheros desde google drive
Hola, no suelo usar dropbox para dejar ficheros de datos pero no he tenido ningún problema para descargar un dataset (respondiendo a una consulta en un foro linkedin). Por ejemplo: file_url = "https://www.dropbox.com/s/1j0pdi02asc3g20/BigDataE1.csv?dl=1" kk <- read.table(file_url, header = TRUE, sep = ';', quote = "\\")
2016 Jan 11
1
tftp-hpa features?
Hi hpa, On Mon, Jan 11, 2016 at 10:28 AM, H. Peter Anvin <hpa at zytor.com> wrote: > On 01/11/16 08:09, Matt Zagrabelny via Syslinux wrote: >> >> I would like to propose a feature request of adding filespace ACLs to tftpd-hpa. >> >> Example: >> >> I serve data out of /srv/tftp. I only want clients 192.168.1.0/24 to >> have read access to
2007 Nov 25
2
rowMean, specify subset of columns within Dataframe?
I would like to calculate the mean of tree leader increment growth over 5 years (I1 through I5) where each tree is a row and each row has 5 columns. So far I have achieved this using rowMeans when all columns are numeric type and used in the calculation: Data1 <- data.frame(cbind(I1 = 3, I2 = c(0,3:1, 2:5,NA), I3 =c(1:4,NA,5:2),I4=2,I5=3)) Data1 Data1$mean_5 <- rowMeans(Data1, na.rm =T)
2015 Oct 26
3
help: Rstudio no responde
Hola buenas, hace unos días el Rstudio me dejó de funcionar en una de mis maquinas Windows8. No puedo volver a un estado anterior así que mal y tampoco me vale reinsatalarlo ( aunque reinstale ambos programas R y Rstudio) porque sigue sin funcionar. No tengo muy claro que hacer. ¿Alguna ayuda? ¿Esto es una duda de R? Muchas gracias por adelantado PD a continuación os muestro mis errores Mi R