similar to: extract rows in dataframe with duplicated column values

Displaying 20 results from an estimated 3000 matches similar to: "extract rows in dataframe with duplicated column values"

2004 Nov 23
4
data.frame into vector
Hi I want to extract a row from a data.frame but I want that object to be a vector . After trying some different ways I end up always with a data.frame or with the wrong vector. Any pointers? x <- data.frame(a = factor(c('a',2,'b')), b = c(4,5,6)) I want to get "a" "4" I tried: as.vector(x[1,]) a b 1 a 4 (resulting in a data.frame even after in my
2005 Jan 19
3
importing files, columns "invade next column"
Dear R-listers: I want to import a reasonably big file into a table. (15797 x 257 columns). The file is tab delimited with NA in every empty space. I have reproduced what I have used as my read.table instruction. I have read the R-dataImportExport FAQ and still couldn't solve my problem. (I might have missed it, of course). I'm using R.2.01 in a Mac G4, 10.3.7. I can import the
2004 Aug 03
3
basic questions: any place for them
Hi I have two basic questions, and here they go, but I was wondering as well where can I ask these basic questions without bothering you people I've used Splus and now I'm using R and there's some functions that I can't simply find one: sort.col that allows data.frames to be sort by a given col (I saw the funtion sort but that's for vectors. and I can't believe I
2004 Jun 11
2
running R UNIX in a mac computer
Hi to you all My question is: there is a package written in UNIX for which there is no Mac version. I would like to know if it's possible to install the R UNIX version on the MacOSX and run that UNIX package on my Mac (through this UNIX R Vresion on a Mac) I have seen a porfile for r version 1.8.1 on darwin: http://r.darwinports.com/ is that it? aother question related to that if it's
2005 Feb 12
3
data.frame into list by columns; merge and row.names
Hi a) I want to make a list out of a data.frame, where each element of the list is a column of the data.frame. I looked in the archives and saw a lot of postings but surprsingly none elucidated me. I also tried the split, aggregate help files and counldn't see any easy way to do this. I wouldn't be surprised if it's there, but I really didn't see it. I solved the problem
2005 Feb 26
1
reshape without timevar argument?
Hi I have a data.frame with 2 columns. The first column is an ID column. The other columns are description of the ids. There is more than one description for each Id. Want I want to get as a value is a data.frame where each row corresponds to one ID and has as many columns as different descriptions. I have used a very convoluted step, but I'm very convinced there is an easier way to do
2004 Dec 01
1
Combined variable names (two concrete suggestions)
Very interesting topic. "What I want to know is *WHY* people are doing this?" Here goes my view - I've used many for loops, and each time I realize how stupid that is... AFTER I learned how to avoid it. But it's difficult to avoid them without knowing how to do it. (Monsieur de LaPalice wouldn't have puted it better...) For loops are conceptually very easy to understand.
2004 Dec 20
1
muliple plots with pairs (matrix of scatter plots)
I am trying to make a graph with 4 scatter matrixes plots and couldn't do it. While trying to find a solution for this I also came across the idea of giving different values to the same argument for each of the lower and upper function but couldn't do it. (Examplified below with the col argument). The first problem of plotting 4 scatter matrixes in a graph is a problem of real
2006 Jun 14
4
Extend Draggable
Hello all, I want to extend a draggable object so it has one more attribute (type attribute, so I can distinguish different draggable types). Can anyone tell me how to do it? I''ve search throught the examples (like http://wiki.script.aculo.us/scriptaculous/show/ExtendClass) but I can''t seem to understand what I should do. Thanks for you help, H
2019 Jun 20
2
solis driver
On Jun 19, 2019, at 11:56 AM, Silvino Benevides Magalhaes wrote: > > Unfortunately I do not use the latest versions of NUT, the driver I created, solis, was changed, not by me, and now does not work on my nobreak, which I used to create the driver. > > greetings > > Silvino B. Magalhaes Silvino, We have had several changes to solis over the years to add new models
2008 Jan 03
1
Homedir permissions problems with LDAP
Sorry, my previous message entered like a reply, so I'm sending again to keep the list in order. Hi, I'm using dovecot 1.0.5-1 (debian stable) and I'm trying to build a virtual host machine with ldap. In my dovecot-ldap.conf thats what I have: uris = ldap://<ldapserver>/ dn = cn=Manager, dc=domain, dc=com, dc=br dnpass = <ultra secret passwd> sasl_bind = no tls = no
2019 Jun 21
1
solis driver
I use Centos 7.6.1810 in my server with nut-2.7.2-4.el7.x86_64 which contains Solis version 0.60 08/18/2005, my last version. My hardware related by upsc is Microsol Solis 1.5, the same used to develop the driver. It's an ancient nobreak, but i still works, by the way, an excellent hardware, using the third set of batteries. If you need more information, please let me know. Greeting, Silvino.
2008 Oct 28
7
RHEL4 = Use "yum"
Hello guys, I would like to configure my puppet to use "yum" instead "up2date" (default RHEL4). How can I do this? :) Thanks! -- Tiago Cruz Linux User #282636 Mandriva Conectiva PRO Certified Linux Instructor --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To
2003 Mar 13
2
subdirectory of home
Hi. Sorry: my level of english is not enough good. I hope you understand what I mean. My question is: it's possible to share a subdirectory (and only one subdirectory for every user) in the section [homes]? The version of samba which i'm working is 2.2.7a, over Solaris 8. Thanks in advance. --
2010 Jun 16
2
RECOVER FILE DAEMON SMBD SAMBA
Hello! Accidentally deletes the file daemon, / usr / lib / samba / classic / smbd. Now I can not start Samba, Samba reinstalling again in the newer version I would lose my settings? It will overwrite existing files or just bring back the excluded? I use a distribution derived from Suse, when I try to install the yast he asks that some libraries are installed: *libstdc + + **libstdc + +-devel
2008 Jan 03
2
[Fwd: Re: Building path to maildir]
Hi Charles I receive the Timo's reply. thanks for send me again Use the option that i said, but the problem persists. userdb static { args = uid=500 gid=500 } userdb prefetch { } Jan 2 23:50:08 michel dovecot: auth(default): new auth connection: pid=18374 Jan 2 23:50:20 michel dovecot: auth(default): client in: AUTH 1 PLAIN service=POP3 secured lip=127.0.0.1
2003 Feb 26
4
Swat, not there
Morning list, I asked yesterday if anyone has had an error message stating the "cannot open swat, directory is empty"? All packages are showing installed. Can some please respond? Thanks-- Kevin McCarty CCNP CCNA #CSCO10448370 Computer Sciences Corporation Defense Sector "Obstacles are those annoying little bumps that occur when you take your eyes off your goals"
2019 Jun 19
2
[EXTERNAL] Re: Fixing Drops With SMART1500LCDXL & USB-HID Driver
On 6/19/19 5:59 AM, Charles Lepple wrote: >> >> “The 62-nut-usbups.rules file looks pretty standard. Do you know if the changes to 42-usb-hd-pm.rules are needed? It seems like none of the USB devices would have the right permissions if 62-nut-usbups.rules isn't sufficient (though this happened in Debian once).” >> >> My means of testing wasn’t the most rigorous,
2017 May 12
2
Asterisk 14 audio quality with remote files
Hello everyone, I am using the Asterisk REST API in order to establish a call to an endpoint and to send over a remote file (HTTP). The issue is that I am experiencing an audio quality issue. I have tried encoding the file differently, but everytime Asterisk is cutting the audio frequencies above 4Khz. The call is established with G.722 and the audio file is mono 16Khz 16 bit sln16 extension.
2009 Apr 15
2
issue with L-BFGS-B in optim (optim just hangs)
Dear R-Help List, I am using optim, with method=L-BFGS-B, to maximize a likelihood inside a large simulation exercise. This runs fine for most simulated data sets, but for some reason, about 1 out of 100 times, optim will just hang. Using a dumb approach to the problem (i.e. printing the parameter values each time the function being maximized is evaluated), I tracked down when this happens,