similar to: split string into individual valus while reading in R

Displaying 20 results from an estimated 500 matches similar to: "split string into individual valus while reading in R"

2007 Apr 04
2
selection of character
Hi all, I have a simple question: I have a character vector like this [1] "10_1" "1_1" "11_1" "2_1" "3_1" "4_1" "5_1" "6_1" "7_1" "8_1" [11] "9_1" "1_3" "2_3" "3_3" "4_3" "1_4" "2_4" "3_4"
2009 Apr 08
2
factor, as.factor and levels
Dear All, to my surprise as.factor does not accept a levels argument. Maybe I did not read the documentation well enough. See the example below. I wanted to use ch1 as factor in the newdata argument of survfit, so I assumed that I could write as.factor(ch1, levels=ch1), since the order should be kept. But as.factor(ch1, levels=ch1) results in the error: Error in as.factor(ch1, levels = ch1)
2003 Mar 10
2
WINS servers and browsing
Well, I've asked a couple times already but I will ask one more, since I still havent' managed to get any further. We have several sites. Each site has it's own network and domain. We are connected via a WAN. Is the best practice to have one WINS server for each site? Or is a single WINS server for the WAN the way to go? Right now I have a single WINS server for the WAN. I CAN NOT
2000 May 22
1
Bus Error crash (PR#551)
Full_Name: Kjetil Kjernsmo Version: 1.0.1 OS: osf1 Submission from: (NULL) (129.240.28.227) Ouch, another obscure bug... I just had a bus error crash, with a core dump, a small one this time. Usual <URL:http://www.astro.uio.no/~kjetikj/tmp/core>. I had done a few simulations, and done a chisq.test() on them. These simulations also write about 190MB's to file, but I have no idea whether
2014 Oct 27
2
como pasar de data.frame -> cast -> data.frame
Fabulosa comunidad, tengo el siguiente problema: 1. Tengo un data.frame no muy grande, de 575 filas x 8 columnas. En este df, las primeras 7 columnas identifican el dato que va en la columna 8. A las primeras 7 col se las podria considerar como datos categoricos y la columna 8 es un dato numerico. El df luce algo asi: sol con dia rep nca nin iso are 1 con 0 1 1 16 0 s
1999 Apr 06
1
seg fault with strsplit (PR#158)
Try the following with R 63.3: test <- function(z){ ch1 <- deparse(z,width=500) ch <- NULL for(i in 1:length(ch1))ch <- paste(ch,ch1[i],collapse=" ") a <- gsub("(\\[(0|1|2|3|4|5|6|7|8|9|:|,)+\\])|([][+*/^():!<>%&|~,{}\"\\\=-])|( [0-9]+)|(^[0-9]+)"," ",ch) print("here") strsplit(a," ") } test(glm) Jim
2013 Jan 09
1
problem adding curve/abline
Hey, I'm stuck on something I already did before (just a different kind of database), and whatever I try, it doesn't work anymore. So thanks for your help. Here's how my data approximately looks like: year season replicate size freq weight 2000 summer ch1 6 1 45 2000 summer ch1
2011 Aug 08
1
read in cel file by ReadAffy and read.celfile
Hi there, I got a problem when trying to read in a .cel file using ReadAffy(). R codes: require(affy) ReadAffy(filenames="CH1.CEL") It failed and I got the error, Error in read.celfile.header(as.character(filenames[[1]])) : Is CH1.CEL really a CEL file? tried reading as text, gzipped text, binary, gzipped binary, command console and gzipped command console formats Also, I tried
2007 Jan 25
2
Do I need a CH1 licence for Cisco Phones ?
I've got a question regarding Cisco IP Phones and licencing. When using a third party PBX like asterisk is a licence required for the Cisco phones ? Has anyone got anything in writing from Cisco to clarify this ? Eg can I just use CP-7961G or do I need CP-7961G-CH1 even though I'm not using Cisco Callmanager ? HYPERLINK
2010 Jul 07
2
how to define method for "+" function in a new class
Dear R developers, I have a new class, which I called "Molecule", and have tried to define = a "+" operation for 2 objects of this class. This is what I have written so far, although the method is not complete = (I'm trying to look at it at intermediate stages): setMethod( f=3D"+", signature(x=3D"Molecule",y=3D"Molecule"),
2017 Mar 11
2
Replication with a self-signed certificate
On Sat, 2017-03-11 at 13:39 +1300, Andrew Bartlett via samba wrote: > On Fri, 2017-03-10 at 16:17 -0600, Mircea Husz via samba wrote: > > > > Hello, > > > > I just configured a three-site DCs setup with Samba 4.6.0, and > > replication worked great. > > But then I added a custom cert to one of the DCs to authenticate > > various apps against it. I
2000 Jan 25
1
core dump involving function closure (PR#402)
A user has crashed R90.1 on MS Windows by succesive calls to two of my formula/function interpretors in an order that I had not foreseen. I have checked and this also occurs with Intel RH5.2. I have distilled the problem down to its bare bones as the following set of instructions: func <- function(.mu){ .ch1 <- deparse(.mu,width=500)[-1] .fn <-
2014 Oct 27
2
como pasar de data.frame -> cast -> data.frame
Hola Carlos, quiero graficar el valor de cada celda, por ejemplo, 10 (en 1,1) clasificado de acuerdo a las etiquetas de encabezado de fila y columna. Me explico: Necesito un panel para cada etiqueta del titulo de la fila (con, dec ... ) y en el eje X de cada panel va la concentracion, que son los numeros del 0 al 5 en el encabezado de cada columna. El eje Y de cada panel es un porcentaje. Es el
2006 Sep 06
1
How to get multiple partial matches?
Hi, I'm very new to R, and am not at all a software programmer of any sort. I appreciate any help you may have. I have figured out how to get my data into a dataframe and order it alphabetically according to a particular column. Now, I would like to seperate out certain rows based on partial character matches. Here is an (extremely) abreviated example of my data set Probe Ch1
2017 Mar 06
1
DC site replication issue ?
All, I'm migrating a samba3 domain to a new samba4 AD version 4.5.5. Did a fair amount of testing on isolated vlans including two sites and replication between two domain controllers. I'm now rolling out DCs intended to become production shortly. One is in Chicago, the other in NY, and each is configured in its own timezone with NTP synching up. I am looking at a potential replication
2017 Mar 06
2
DC site replication issue ?
-------------------------------------------- On Mon, 3/6/17, lingpanda101 via samba <samba at lists.samba.org> wrote: Subject: Re: [Samba] DC site replication issue ? To: samba at lists.samba.org Date: Monday, March 6, 2017, 9:20 AM On 3/6/2017 9:56 AM, Mircea Husz via samba wrote: > All, > > I'm migrating a samba3 domain to a new samba4 AD version 4.5.5. Did a fair
2005 Dec 13
2
scsi tape device support
I'm trying to get a scsi tape device (Sony SDX-D500V) working on my dell 2450 running centos 4.2. I can see the device (ch1, id2) using the dell bois raid utility, but once booted into linux I can't see any mention of it in the logs or dmesg. Do you know if the generic kernel (2.6.9-22.0.1.ELsmp) supports this tape device? Can anyone give me any pointers in getting this device working.
2014 Oct 28
2
como pasar de data.frame -> cast -> data.frame
Gracias Olivier por tu sugerencia ... uso "cast" porque me permite hacer facilmente algunas operaciones con los datos antes de graficarlos, por ejemplo, calcular el promedio de los datos que cumplan un conjunto de condiciones. Por ejemplo, graficar el promedio de la variable "are" que cumplan: sol=="dol" , dia==1, con==5 y asi ... tambien lo hacia de otra forma q
2008 Dec 28
3
php's __call for ruby? or better approach?
Hi Rubyists! I''m quite new to Ruby/Rails thing, so please be patient with me :) -------- (skip to next -------- if you want to quickly see the problem) I am learning by creating something like timetable application (like in school). There are days 1-5 and lessons 1-8. I have to db tables, subjects, which is the list of subjects, and subject_lessons, which is assocation of a subject to
2010 Jan 04
1
NV_PFIFO_INTR_DMA_PUSHER
Hello, Could someone briefly describe (or point me to the documentation) what can be a reason for getting NV_PFIFO_INTR_DMA_PUSHER status (nouveau_fifo_irq_handler). This started happening immediately after I set the nouveau_vram_pushbuf flag to TRUE ,it's 100% repetitive and causes fences not to be signaled. Below is the debug log from moment of creation of fifo 1 to some point in time