search for: olddata

Displaying 20 results from an estimated 38 matches for "olddata".

2012 Apr 29
1
CForest Error Logical Subscript Too Long
Hi, This is my code (my data is attached): library(languageR) library(rms) library(party) OLDDATA <- read.csv("/Users/Abigail/Documents/OldData250412.csv") OLDDATA$YD <- factor(OLDDATA$YD, label=c("Yes", "No"))? OLDDATA$ND <- factor(OLDDATA$ND, label=c("Yes", "No"))? attach(OLDDATA) defaults <- cbind(YD, ND) set.seed(47) data.control...
2012 Mar 26
1
assigning vector or matrix sparsely (for use with mclapply)
...ne)) , FUN.ON.ROWS, ... ) ? rv <- do.call("rbind", soln) ?## omits naming. ? if (ncol(rv)==1) rv <- as.vector(rv) ? rv } this works fine, except that what I want to get NA's in the return positions that were not recalculated. then, I can write newdata$y <- ifelse ( is.na(olddata$y), mc.byselectrows( olddata, is.na(olddata$y), fun.calc.y ), olddata$y ) I can do this very inelegantly, of course. I can merge recalclist into data.in and then write a loop that substitutes for the do.call to rbind. yikes. or I could do the recalclist contingency inside the FUN.ON.ROWS, but t...
2010 May 21
3
Concatenation
Hi, I have a dataframe with some 800 rows and 14 columns. Could you please advise how I can concatenate the rows - one after another. Similarly for columns, one below the other. Many thanks. Cheers, Santana [[alternative HTML version deleted]]
2017 Jun 09
2
Extremely slow du
....067s time du -sh /data/aa/bb/cc 3.7G /data/aa/bb/cc real 16m43.735s user 0m1.097s sys 0m5.802s 16m and 7m is too long for a 3.7 G directory. I must mention that the directory contains huge number of files (208736) but running du on same directory on old data gives this result time du -sh /olddata/aa/bb/cc 4.0G /olddata/aa/bb/cc real 3m1.255s user 0m0.755s sys 0m38.099s much better if I run same command again time du -sh /olddata/aa/bb/cc 4.0G /olddata/aa/bb/cc real 0m8.309s user 0m0.313s sys 0m7.755s Is there anything I can do to improve this performance? I would also like hear from some...
2001 Dec 07
2
question
...t: Re: [Rd] question > > > Erich Neuwirth <erich.neuwirth@univie.ac.at> writes: > > > in r 1.3.1, > > i read in data into a dataframe and (erroneously) forgot > to convert text > > into numbers. > > > > the frame was called olddata > > then i could to the following calculation: > > > > vp95<-olddata["vp95"]/olddata["wb95"] > > > > "vp95" and "wb95" are column names. > > > > in r 1.4.0, this does not work any more. > >...
2017 Jun 09
0
Extremely slow du
...ta/aa/bb/cc > real 16m43.735s > user 0m1.097s > sys 0m5.802s > > 16m and 7m is too long for a 3.7 G directory. I must mention that the > directory contains huge number of files (208736) > > but running du on same directory on old data gives this result > > time du -sh /olddata/aa/bb/cc > 4.0G /olddata/aa/bb/cc > real 3m1.255s > user 0m0.755s > sys 0m38.099s > > much better if I run same command again > > time du -sh /olddata/aa/bb/cc > 4.0G /olddata/aa/bb/cc > real 0m8.309s > user 0m0.313s > sys 0m7.755s > > Is there anything I c...
2017 Jun 09
2
Extremely slow du
...;> user 0m1.097s >> sys 0m5.802s >> >> 16m and 7m is too long for a 3.7 G directory. I must mention that the >> directory contains huge number of files (208736) >> >> but running du on same directory on old data gives this result >> >> time du -sh /olddata/aa/bb/cc >> 4.0G /olddata/aa/bb/cc >> real 3m1.255s >> user 0m0.755s >> sys 0m38.099s >> >> much better if I run same command again >> >> time du -sh /olddata/aa/bb/cc >> 4.0G /olddata/aa/bb/cc >> real 0m8.309s >> user 0m0.313s >&...
2014 Aug 13
1
adjust SOA record
...at, I'm getting "The start of authority (SOA) record cannot be updated. The record does not exist." I'm not sure what the correct 4.1.7 samba-tool line should be: > samba-tool dns update <server> <zone> <name> <A|AAAA|PTR|CNAME|NS|MX|SOA|SRV|TXT> <olddata> <newdata> I'm unsure about <olddata> and <netdata>. Here is my current SOA, I should replace <olddata> with this: SOA: serial=3, refresh=900, retry=600, expire=86400, minttl=0, ns=dc1.samba.company.com., email=hostmaster.samba.company.com. (flags=600000f0, seri...
2017 Jun 12
2
Extremely slow du
...t; >>>> 16m and 7m is too long for a 3.7 G directory. I must mention that the >>>> directory contains huge number of files (208736) >>>> >>>> but running du on same directory on old data gives this result >>>> >>>> time du -sh /olddata/aa/bb/cc >>>> 4.0G /olddata/aa/bb/cc >>>> real 3m1.255s >>>> user 0m0.755s >>>> sys 0m38.099s >>>> >>>> much better if I run same command again >>>> >>>> time du -sh /olddata/aa/bb/cc >>>> 4....
2017 Jun 10
0
Extremely slow du
...sys 0m5.802s >>> >>> 16m and 7m is too long for a 3.7 G directory. I must mention that the >>> directory contains huge number of files (208736) >>> >>> but running du on same directory on old data gives this result >>> >>> time du -sh /olddata/aa/bb/cc >>> 4.0G /olddata/aa/bb/cc >>> real 3m1.255s >>> user 0m0.755s >>> sys 0m38.099s >>> >>> much better if I run same command again >>> >>> time du -sh /olddata/aa/bb/cc >>> 4.0G /olddata/aa/bb/cc >>> re...
2017 Jun 16
0
Extremely slow du
...16m and 7m is too long for a 3.7 G directory. I must mention that the >>>>> directory contains huge number of files (208736) >>>>> >>>>> but running du on same directory on old data gives this result >>>>> >>>>> time du -sh /olddata/aa/bb/cc >>>>> 4.0G /olddata/aa/bb/cc >>>>> real 3m1.255s >>>>> user 0m0.755s >>>>> sys 0m38.099s >>>>> >>>>> much better if I run same command again >>>>> >>>>> time du -sh /oldd...
2017 Jun 18
1
Extremely slow du
...ng for a 3.7 G directory. I must mention that the >>>>>> directory contains huge number of files (208736) >>>>>> >>>>>> but running du on same directory on old data gives this result >>>>>> >>>>>> time du -sh /olddata/aa/bb/cc >>>>>> 4.0G /olddata/aa/bb/cc >>>>>> real 3m1.255s >>>>>> user 0m0.755s >>>>>> sys 0m38.099s >>>>>> >>>>>> much better if I run same command again >>>>>> >>&g...
2009 Feb 22
1
split/decompose lines
Dear R users, I have a very simple problem but I can't find the function in R to deal with it. I need to split (or decompose) one line into many lines using one field as a reference. I have a table with the following format: A B Frequency 23 3 2 24 2 5 25 1 3 And need to split each line into several lines according to the frequency to achieve something like this: A B
2023 Mar 22
1
Internal DNS not coming up in 4.18.0
...t; status code 1. > > After much effort, I brought AD component up, but DNS is still down. > > Any help to restore DNS in new samba 4.18.0 is much appreciated. > You could try to update the SOA record with samba-tool: samba-tool dns update <server> <zone> @ SOA "olddata" "newdata" Where <server> is the DC's hostname, or ipaddress, or 127.0.0.1 or localhost <zone> is the forest zone, usually in the format '_msdcs.samdom.example.com' (where samdom.example.com' is your dns domain) "olddata" is what is there now...
2010 Mar 08
1
confused by classes and methods.
Hello, I have a simple class that looks like: setClass("statisticInfo", representation( max = "numeric", min = "numeric", beg = "numeric", current = "numeric", avg = "numeric", obs = "vector"
2017 Jul 11
2
Extremely slow du
...rectory. I must mention that the directory > contains huge number of files (208736) > > but running du on same directory on old data > gives this result > > time du -sh /olddata/aa/bb/cc > 4.0G /olddata/aa/bb/cc > real 3m1.255s > user 0m0.755s > sys 0m38.099s > > much better if I run same command again > >...
2023 Mar 23
2
Internal DNS not coming up in 4.18.0
...After much effort, I brought AD component up, but DNS is still down. >> >> Any help to restore DNS in new samba 4.18.0 is much appreciated. >> > > You could try to update the SOA record with samba-tool: > > samba-tool dns update <server> <zone> @ SOA "olddata" "newdata" > > Where <server> is the DC's hostname, or ipaddress, or 127.0.0.1 or > localhost > > <zone> is the forest zone, usually in the format > '_msdcs.samdom.example.com' (where samdom.example.com' is your dns > domain) > &...
2011 Mar 18
2
How do I delete multiple blank variables from a data frame?
...his problem? If not, what are my alternatives and how do I implement them?2) I have been playing with a single data frame to try to figure out a way of having R go through the columns and see which ones it should delete. I have figured out how to delete rows with missing data (newdata <- na.omit(olddata)) but how do I do it for columns??? Thank you very much for your help and have a great weekend! Rita ________________________________________ "If you think education is expensive, try ignorance"--Derek Bok [[alternative HTML version deleted]]
2012 Jan 19
1
ctree question
...ne. Orig data was my training data. I now have a test data file (testdata), and would like to run the testdata through the above tree to see predictions. I tried using the following function >predict(test.ct,newdata=testdata) but I get the following error: Error in checkData(oldData, RET) : Levels in factors of new data do not match original data I've looked at the testdata file closely and it does not appear to contain any levels of factors that were not in the original. What might I be doing incorrectly, and how can i use the tree that was generated a...
2012 Sep 03
1
select specific rows from regression output
Hello everyone, I have a data set that contains characteristics of 25,000 patients of 92 different hospitals. I have run a regression to capture the probability these patients will have a complication after a certain operation. Now, I actually want to predict the probability per patient, using the outcome of the regression, but I just certain patients involved in the prediction. So, I want to use