search for: ek

Displaying 20 results from an estimated 235 matches for "ek".

Did you mean: elk
2007 Feb 12
17
NFS/ZFS performance problems - txg_wait_open() deadlocks?
Hi. System is snv_56 sun4u sparc SUNW,Sun-Fire-V440, zil_disable=1 We see many operation on nfs clients to that server really slow (like 90 seconds for unlink()). It''s not a problem with network, there''s also plenty oc CPU available. Storage isn''t saturated either. First strange thing - normally on that server nfsd has about 1500-2500 number of threads. I did
2004 Sep 22
3
problems with cvs version and vpopmail
...e I have two auth paragraphs, one for passwd authentication and one for vpopmail-auth: auth vpopmail { mechanisms = plain userdb = vpopmail passdb = vpopmail user = vpopmail } But the vpopmail dosn'nt work. I got the folowing in the log: Info: auth(vpopmail): vpopmail(stoffer at test.ek.dk): unknown user (stoffer at test.ek.dk) When I ktrace the dovecot process, it seams that it is trying to access the mysql db, but it ignores the settings in ~vpopmail/etc/vpopmail.mysql If I use the ports version of dovecot it works, but of course without the multiple auth capability since it i...
2007 Apr 17
10
storage type for ZFS
The paragraph below is from ZFS admin guide Traditional Volume Management As described in ?ZFS Pooled Storage? on page 18, ZFS eliminates the need for a separate volume manager. ZFS operates on raw devices, so it is possible to create a storage pool comprised of logical volumes, either software or hardware. This configuration is not recommended, as ZFS works best when it uses raw physical
2018 Jan 08
2
Replace NAs in split lists
Thank you Jeff. Your code works, as usual , perfectly. I am just wondering why if i put the whole code in one line, i get an error message. sdf2 <- lapply( sdf, function(z){z$Value <-ifelse(is.na(z$Value),z$Value[!is.na(z$Value)][1],z$Value)z}) error. unexpected symbol in sdf2 Thanks again EK On Mon, Jan 8, 2018 at 3:12 AM, Jeff Newmiller <jdnewmil at dcn.davis.ca.us> wrote: > Upon closer examination I see that you are not using the split version of > df1 as I usually would, so here is a reproducible example: > > #---- > df1 <- read.table( text= > "ID I...
2018 Jan 08
4
Replace NAs in split lists
...- split(df1,df$ID) lapply(sdf, function(z) ifelse(is.na(z$Value),z$Value[!is.na(z$Value)],z$Value)) result: $ a: num [1:3] 2 2 2 $ b: num [1:2] 5 5 How could I put these two lists back in the split data frame, sdf1? Then I could use do.call to reassemble a data frame from the split lists, Thanks, EK
2018 Jan 08
0
Replace NAs in split lists
I don't know. You seem to be posting in HTML so your code is mangled. Can you post plain text and use the reprex package to make sure it produces the errorin a clean R session? -- Sent from my phone. Please excuse my brevity. On January 8, 2018 8:03:45 AM PST, Ek Esawi <esawiek at gmail.com> wrote: >Thank you Jeff. Your code works, as usual , perfectly. I am just >wondering why if i put the whole code in one line, i get an error >message. >sdf2 <- lapply( sdf, function(z){z$Value ><-ifelse(is.na(z$Value),z$Value[!is.na(z$Value)][1...
2018 Jan 08
1
Replace NAs in split lists
...t; wrote: > I don't know. You seem to be posting in HTML so your code is mangled. Can you post plain text and use the reprex package to make sure it produces the errorin a clean R session? > -- > Sent from my phone. Please excuse my brevity. > > On January 8, 2018 8:03:45 AM PST, Ek Esawi <esawiek at gmail.com> wrote: >>Thank you Jeff. Your code works, as usual , perfectly. I am just >>wondering why if i put the whole code in one line, i get an error >>message. >>sdf2 <- lapply( sdf, function(z){z$Value >><-ifelse(is.na(z$Value),z$Valu...
2018 Jan 08
0
Replace NAs in split lists
I just came up with a solution right after i posted the question, but i figured there must be a better and shorter one.than my solution sdf1[[1]][1,4]<-lapplyresults[[1]] sdf1[[2]][1,4]<-lapplyresults[[2]] EK On Sun, Jan 7, 2018 at 10:13 PM, Ek Esawi <esawiek at gmail.com> wrote: > Hi all-- > > I stumbled on this problem online. I did not like the solution given > there which was a long UDF. I thought why cannot split and l/s apply > work here. My aim is to split the data frame, us...
2018 Jan 08
3
Replace NAs in split lists
...just reassemble the parts as a new data frame and use that going forward in your calculations? That is generally the preferred approach in R so you can re-do your calculations easily if you find a mistake later. -- Sent from my phone. Please excuse my brevity. On January 7, 2018 7:35:59 PM PST, Ek Esawi <esawiek at gmail.com> wrote: >I just came up with a solution right after i posted the question, but >i figured there must be a better and shorter one.than my solution >sdf1[[1]][1,4]<-lapplyresults[[1]] >sdf1[[2]][1,4]<-lapplyresults[[2]] > >EK > >On Sun,...
2017 Nov 22
1
assign NA to rows by test on multiple columns of a data frame
OPS, Sorry i did not read the post carfully. Mine will not work if you have zeros on columns A and B.. But you could modify it to work for specific columns i believe. EK On Wed, Nov 22, 2017 at 8:37 AM, Ek Esawi <esawiek at gmail.com> wrote: > Hi *Massimo,* > > *Try this.* > > *a <- mydf==0mydf[a] <- NAHTHEK* > > On Wed, Nov 22, 2017 at 5:34 AM, Massimo Bressan < > massimo.bressan at arpa.veneto.it> wrote: > >> &...
2018 Jan 08
0
Replace NAs in split lists
...data frame and use that going > forward in your calculations? That is generally the preferred approach > in R so you can re-do your calculations easily if you find a mistake > later. > -- > Sent from my phone. Please excuse my brevity. > > On January 7, 2018 7:35:59 PM PST, Ek Esawi <esawiek at gmail.com> wrote: >> I just came up with a solution right after i posted the question, but >> i figured there must be a better and shorter one.than my solution >> sdf1[[1]][1,4]<-lapplyresults[[1]] >> sdf1[[2]][1,4]<-lapplyresults[[2]] >>...
2018 May 01
2
v2.3.1: Event leaked (parent=(nil)): http-client.c:137 and 439
...asic functionality seems to work - mails are received by the client. However, the GUI clients display an "internal server error" message window on each refresh. Some other clients do not create any issues: * MailDroid (Android) * getmail Anybody got a similar behaviour? -- Milan Kn??ek | knizek.confy at gmail.com -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: dovecot.conf URL: <https://dovecot.org/pipermail/dovecot/attachments/20180501/8ac90634/attachment.conf>
2017 Aug 09
2
Fill in empty spaces modified
...may not work well for large files. I am trying to solve the new example with base R functions only. I thought of splitting the first column to multiple lists and use one of the apply functions, but was not successful. Would apprecaite some hints on how to go about it. Thanks as always in advance?EK The posted data frame from the original posting: names val 1 Mandy 1 2 2 3 John 2 4 2 My modified data frame: val <- c(1,2,3,4,5,6,7,8) nam <- c("mandy","", "John","","","","Zara","") df1 &l...
2018 Jan 22
2
substr gives empty output
In y <- substr(x, i, 1) your third integer needs to be the location not the number of digits, so change it to y <- substr(x, i, i) and you should get what you want. Cheers, Tim > Date: Sun, 21 Jan 2018 10:50:31 -0500 > From: Ek Esawi <esawiek at gmail.com> > To: Luigi Marongiu <marongiu.luigi at gmail.com>, r-help at r-project.org > Subject: Re: [R] substr gives empty output > Message-ID: > <CA+ZkTxubYDSZ3iqsg_=be9HBA2_3-TE95=mXbh4atvG- > ri_ixQ at mail.gmail.com> > Content-Type...
2018 Jan 08
0
Replace NAs in split lists
Because you need to separate the instructions with a ; (semi-colon). Hope this helps Rui Barradas Enviado a partir do meu smartphone Samsung Galaxy.-------- Mensagem original --------De: Ek Esawi <esawiek at gmail.com> Data: 08/01/2018 16:03 (GMT+00:00) Para: Jeff Newmiller <jdnewmil at dcn.davis.ca.us>, r-help at r-project.org Assunto: Re: [R] Replace NAs in split lists Thank you Jeff. Your code works, as usual , perfectly. I am just wondering why if i put the whole co...
2013 Jan 12
1
add categorical labels in plot
Hello I want to draw a plot using the code below. Further, I want to add labels (White, Yellow, Red) to x-axis. Please kindly advise how to add the categorical labels, by modifying the code. Thank you. Elaine Code dataN <-read.csv("H:/skin_color.csv",header=T, row.names=1) dim(dataN) dataN[1,] str(dataN) obs.group<-dataN$skin_color
2018 Jan 08
2
Replace NAs in split lists
...ab FALSE 2 3 a ac FALSE 2 4 b aa TRUE 5 5 b ab FALSE 5 Cheers Petr > -----Original Message----- > From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Jeff > Newmiller > Sent: Monday, January 8, 2018 9:13 AM > To: r-help at r-project.org; Ek Esawi <esawiek at gmail.com> > Subject: Re: [R] Replace NAs in split lists > > Upon closer examination I see that you are not using the split version of > df1 as I usually would, so here is a reproducible example: > > #---- > df1 <- read.table( text= > "ID ID_2...
2017 Oct 29
1
Count non-zero values in excluding NA Values
...owing Year Month A B C D E 2005 July 0 *4* NA NA *1* 2005 July 0 NA NA 0 *9* 2005 July NA *4* 0 *1* 0 2005 July *4* 0 *2* *9* NA I try to count non-zero values which are not NA values for every *column* *Sincerely* *Engin YILMAZ* 2017-10-29 15:01 GMT+03:00 Ek Esawi <esawiek at gmail.com>: > Since i could not see your data, the easiest thing comes to mind is court > values excluding NAs, is something like this > sum(!is.na(x)) > > Best of luck--EK > > On Sun, Oct 29, 2017 at 6:25 AM, Engin YILMAZ <ispanyolcom at gmail.com&g...
2013 Dec 02
2
plus/minus +/- in factor; not plotmath not expression
...n-text-td874239.html and subsequently http://www.fileformat.info/info/unicode/char/00b1/index.htm, is: junk<- "\u00B1" print(junk) # This works very nicely. For instance: junk<-data.frame(gug=c( rep( "\u00B1 1.2", 10) , rep( "\u00B1 2.3", 10) ) ) junk$eks<-1:nrow(junk) junk$why<-with(junk, as.numeric(gug) + eks) print(summary(junk)) library(ggplot2) print( ggplot(data=junk, mapping=aes(x=eks, y=why)) + geom_point() + facet_grid(. ~ gug) ) This works very nicely on my system, but I just wanted to enquire: Is this machine-independent an...
2017 Jun 21
3
Counting with multiple criteria using data table
...I want to: all months to show on the output including those that they have zero value I want the three statements combined in on if possible so the output will be one data table; that is the outputs are next to each other as manually illustrated on the last part (desired output). Thanks--EK > Test Color Grade Value Month Day 1: yellow A 20 May 1 2: green B 25 June 2 3: green A 10 April 3 4: black A 17 August 3 5: red C 5 May 5 6: orange D 0 June 13 7: orange E 12 April 5 8:...