search for: adata

Displaying 20 results from an estimated 27 matches for "adata".

Did you mean: data
2011 Oct 26
6
sometimes removing NAs from code
Sometimes I have NA values within specific columns of a dataframe (in this example, the first two columns can have NAs). If there are NA values, I would like them to be removed. I have been using the code: y<-c(NA,5,4,2,5,6,NA) z<-c(NA,3,4,NA,1,3,7) x<-1:7 adata<-data.frame(y,z,x) adata<-adata[-which(apply(adata[,1:2],1,function(x)any(is.na(x)))),] This works well if there are NA values, but when a dataset doesn't have NA values, this code messes up the dataframe. I was trying to pick apart this code and could not understand why it didn't wo...
2013 Feb 26
0
Replicated Volume Crashed
...PU cores and each of them was maxxed out. The servers log looks like this: http://pastebin.com/rv0WQ14E The client log looks like this: http://filebin.ca/YLiU6yxURKd/client-log.txt The most interesting parts from the server log are: 2013-02-25 19:48:01.672143] W [socket.c:195:__socket_rwv] 0-tcp.adata-server: writev failed (Connection reset by peer) [2013-02-25 19:48:01.742239] I [server-helpers.c:474:do_fd_cleanup] 0-adata-server: fd cleanup on /files/random-file.dat [2013-02-25 19:48:01.749871] E [server.c:176:server_submit_reply] (-->/usr/lib/glusterfs/3.3.1/xlator/features/marker.so(marke...
2012 Apr 12
3
writing spdiags function for R
Dear R-list, I am in the process of translating a long function written in Matlab into R (mainly because I am a big of fan of R, and folks will not have to pay to use it :). In the translation of this function I got stack because they use spdiags, which, as far as I can tell it is not available in R. I have explored the Matrix package, from which I borrowed some of the functions (e.g.,
2007 Feb 26
1
2 data frames - list in one out put , matrix in another ??
...seems to be that bdata variables are labelled. About now I really don't care which I get but I would like them to be the same. Can anyone suggest what I am doing wrong or should be looking at? Windows XP , R 2.4.1 Using Hmisc and gtools as well as the basic R installation. Problem load(adata) fn1 <- function(x) {table(x)} jj <-apply(adata[,110:127], 2, fn1) OUTPUT jj is aa list of 18 tables Examine a variable: > typeof(adata$act.toy) [1] "integer" > class(adata$act.toy) [1] "integer" load(bdata fn1 <- function(x) {table(x)} kk <-apply(bda...
2003 Feb 21
1
Help Var passing in function
First thanks to the fast answer regarding the "Clustplot problem"... Regarding a new problem: for (i in 1:5) { z <- clara(adata, i) plot(z) } in the above code in the plot screen I get something like: clusplot(clara(x=adata,i)) in title in the 2nd type of plot I get silhouete plot of clara(x=adata,k=i,samples=50) How can I pass the real value to the i? What kind of command "transform&q...
2003 Feb 21
0
Var problem
> Regarding a new problem: > for (i in 1:5) { z <- clara(adata, i) plot(z) } > in the above code in the plot screen > I get something like: clusplot(clara(x=adata,i)) as title; > in the 2nd type of plot I get > silhouete plot of clara(x=adata,k=i,samples=50) > > How can I pass the real value to the i? >...
2010 Jul 16
3
Help with Sink Function
iterations <- 100 nvars <- 4 combined <- rbind(scaleMiceTrain, scaleMiceTest) reducedSample <- combined reducedSample <- subset(reducedSample, select = -pID50) reducedSample <- subset(reducedSample, select = -id) for (i in 1:iterations) { miceSample <- sample(combined[,-c(1,2)],nvars, replace=FALSE) miceSample$pID50 <- combined$pID50 miceTestSample <-
2017 Mar 19
2
"isolinux.bin missing or corrupt" when booting USB flash drive in old PC
...inux wrote: > David Christensen wrote: >> Is there a way I can build live 32-bit Debian GNU/Linux USB images without >> isohdpfx.S and syslinux.bin? > > You could try > https://www.debian.org/releases/jessie/i386/ch04s03.html.en#usb-copy-flexible This is how I prepared an ADATA USB Flash Drive 4 GB: # cat /etc/debian_version 8.7 # uname -a Linux hd-tracy 3.16.0-4-686-pae #1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07) i686 GNU/Linux # dmesg | tail -n 17 [ 3427.672019] usb 5-2: new high-speed USB device number 2 using ehci-pci [ 3427.807674] usb 5-2: New USB device found,...
2016 Jan 14
0
[PATCH] nv50/ir: only use FILE_LOCAL_MEMORY for temp arrays that use indirection
...if (src.getFile() == TGSI_FILE_BUFFER) { info->io.globalAccess |= (insn.getOpcode() == TGSI_OPCODE_LOAD) ? @@ -1434,6 +1453,7 @@ private: DataType srcTy; DataArray tData; // TGSI_FILE_TEMPORARY + DataArray lData; // TGSI_FILE_TEMPORARY, for indirect arrays DataArray aData; // TGSI_FILE_ADDRESS DataArray pData; // TGSI_FILE_PREDICATE DataArray oData; // TGSI_FILE_OUTPUT (if outputs in registers) @@ -1637,7 +1657,7 @@ Converter::getArrayForFile(unsigned file, int idx) { switch (file) { case TGSI_FILE_TEMPORARY: - return &tData; + return...
2017 Mar 19
3
"isolinux.bin missing or corrupt" when booting USB flash drive in old PC
On 03/18/2017 03:02 PM, Thomas Schmitt via Syslinux wrote: > Hi, > > David Christensen wrote: >> I use this USB flash drive for bootable installer images; I do not >> attempt to mount it. I don't know that I could, even if I wanted to: > > mkdir /mnt/iso > mount /dev/sdc /mnt/iso > > or, because partition 1 starts at block 0, you may mount it too >
2019 Sep 17
4
CentOS7 sometimes don't detect NIC after reboot
I have brand new PC with this components: CPU Intel? Pentium G5400, LGA1151 motherboard ASUS PRIME B360M-C 16 GB RAM HDD 2x ADATA SSD 256GB XPG GAMMIX S11, PCIe Gen3x4 M.2 2280 (RAID1) NIC Intel X550-T1 Ethernet Converged Network Adapter I installed CentOS 7 and two NICs were detected: eno1 (on motherboard) enp1s0 (Intel X550-T1) When I restart the machine sometimes enp1s0 is missing. It is not detected during boot. It loo...
2015 Mar 05
1
Possible Error in rsync 3.0.9
Hi I was using rsync with the following options rsync -aPH --exclude-from=/var/tmp/ignorelist /home/me/ /run/media/me/ADATA\ #2/rsync-me/ and I was creating a copy of a home directory on my Linux machine. It went along for sometime (some 30,000 files) when it stopped with the following message. ---> Desktop/OSme/Web-Site-Backups/backup-5.4.2014_15-11-43_linux014.tar.gz 4288446464 78% 32.15MB/s 0:00:36 rsy...
2019 Sep 17
1
CentOS7 sometimes don't detect NIC after reboot
...;> On Tue, Sep 17, 2019 at 7:06 AM Miroslav Geisselreiter <mg at intar.cz> wrote: >>>> I have brand new PC with this components: >>>> CPU Intel? Pentium G5400, LGA1151 >>>> motherboard ASUS PRIME B360M-C >>>> 16 GB RAM >>>> HDD 2x ADATA SSD 256GB XPG GAMMIX S11, PCIe Gen3x4 M.2 2280 (RAID1) >>>> NIC Intel X550-T1 Ethernet Converged Network Adapter >>>> >>>> I installed CentOS 7 and two NICs were detected: >>>> eno1 (on motherboard) >>>> enp1s0 (Intel X550-T1) >>>...
2017 Mar 20
3
"isolinux.bin missing or corrupt" when booting USB flash drive in old PC
David Christensen wrote: > This is how I prepared an ADATA USB Flash Drive 4 GB: ... install-mbr /dev/sdb ... [Rest of very clear description snipped.] What's that? That desn't exist in the Debian I'm running. Otherwise you gave a very good description of what you're doing. >From another message: > Please provide a URL for document...
2019 Sep 17
3
CentOS7 sometimes don't detect NIC after reboot
...2019 v 14:02 Mauricio Tavares napsal(a): > On Tue, Sep 17, 2019 at 7:06 AM Miroslav Geisselreiter <mg at intar.cz> wrote: >> I have brand new PC with this components: >> CPU Intel? Pentium G5400, LGA1151 >> motherboard ASUS PRIME B360M-C >> 16 GB RAM >> HDD 2x ADATA SSD 256GB XPG GAMMIX S11, PCIe Gen3x4 M.2 2280 (RAID1) >> NIC Intel X550-T1 Ethernet Converged Network Adapter >> >> I installed CentOS 7 and two NICs were detected: >> eno1 (on motherboard) >> enp1s0 (Intel X550-T1) >> >> When I restart the machine sometim...
2017 Mar 20
0
"isolinux.bin missing or corrupt" when booting USB flash drive in old PC
On 03/19/2017 09:42 PM, Martin Str|mberg via Syslinux wrote: > David Christensen wrote: >> This is how I prepared an ADATA USB Flash Drive 4 GB: > ... > install-mbr /dev/sdb > ... > [Rest of very clear description snipped.] > > What's that? That desn't exist in the Debian I'm running. > Otherwise you gave a very good description of what you're doing. https://www.debian.org/releases...
2019 Sep 17
0
CentOS7 sometimes don't detect NIC after reboot
On Tue, Sep 17, 2019 at 7:06 AM Miroslav Geisselreiter <mg at intar.cz> wrote: > > I have brand new PC with this components: > CPU Intel? Pentium G5400, LGA1151 > motherboard ASUS PRIME B360M-C > 16 GB RAM > HDD 2x ADATA SSD 256GB XPG GAMMIX S11, PCIe Gen3x4 M.2 2280 (RAID1) > NIC Intel X550-T1 Ethernet Converged Network Adapter > > I installed CentOS 7 and two NICs were detected: > eno1 (on motherboard) > enp1s0 (Intel X550-T1) > > When I restart the machine sometimes enp1s0 is missing. It is...
2019 Sep 17
0
CentOS7 sometimes don't detect NIC after reboot
Am 17.09.2019 um 13:05 schrieb Miroslav Geisselreiter: > I have brand new PC with this components: > CPU Intel? Pentium G5400, LGA1151 > motherboard ASUS PRIME B360M-C > 16 GB RAM > HDD 2x ADATA SSD 256GB XPG GAMMIX S11, PCIe Gen3x4 M.2 2280 (RAID1) > NIC Intel X550-T1 Ethernet Converged Network Adapter > > I installed CentOS 7 and two NICs were detected: > eno1 (on motherboard) > enp1s0 (Intel X550-T1) > > When I restart the machine sometimes enp1s0 is missing. It i...
2008 Mar 12
0
Problem with approximate null distribution (package: coin)
...umptions. Is there any reasonable way to work around these limitations in case of a large dataset? It's not that large in fact, so I am a bit surprised the efficiency of resampling is so poor. Below is the dataset example, what I am trying to do is perform cmh_test() on a 4x2x3 table. > adata , , Content = low Response Time Yes No 0 384 597259 1 585 888039 2 621 896102 3 1466 1606456 , , Content = medium Response Time Yes No 0 101 99525 1 160 191698 2 173 146814 3 469 485012...
2014 Jan 17
2
USB boot problems on Gigabyte GA-M55Plus-S3G
In message <52D846EC.2060303 at mattiasschlenker.de>, Mattias Schlenker <ms at mattiasschlenker.de> wrote: >Am 16.01.2014 08:17, schrieb Thomas Schmitt: >> Another candidate image would be >> http://cdimage.debian.org/debian-cd/current/i386/iso-cd/debian-7.3.0-i386-ne >tinst.iso I just happened to have a copy of this file also already, so I dd'd it to the