search for: wiled

Displaying 20 results from an estimated 81 matches for "wiled".

Did you mean: filed
2023 Jan 14
1
Removing variables from data frame with a wile card
mydata[, -grep("^yr",colnames(mydata))] On Sat, Jan 14, 2023 at 8:57 AM Steven T. Yen <styen at ntu.edu.tw> wrote: > I have a data frame containing variables "yr3",...,"yr28". > > How do I remove them with a wild card----something similar to "del yr*" > in Windows/doc? Thank you. > > > colnames(mydata) > [1]
2023 Jan 14
2
Removing variables from data frame with a wile card
I have a data frame containing variables "yr3",...,"yr28". How do I remove them with a wild card----something similar to "del yr*" in Windows/doc? Thank you. > colnames(mydata) ? [1] "year"?????? "weight"???? "confeduc"?? "confothr" "college" ? [6] ... ?[41] "yr3"??????? "yr4"???????
2023 Jan 14
1
Removing variables from data frame with a wile card
You'll want to use grep() or grepl(). By default, grep() uses extended regular expressions to find matches, but you can also use perl regular expressions and globbing (after converting to a regular expression). For example: grepl("^yr", colnames(mydata)) will tell you which 'colnames' start with "yr". If you'd rather you use globbing:
2023 Jan 15
0
Removing variables from data frame with a wile card
Valentin, You are correct that R does many things largely behind the scenes that make some operations fairly efficient. >From a programming point of view, though, many people might make a data.frame and not think of it as a list of vectors of the same length that are kept that way. So if they made a copy of the original data with fewer columns, they might be tempted to think the original
2023 Feb 13
2
Removing variables from data frame with a wile card
x[?V2?] would retain columns of x headed by V2. What I need is the opposite??I need a data grime with those columns excluded. Steven from iPhone > On Feb 13, 2023, at 9:33 AM, Rolf Turner <r.turner at auckland.ac.nz> wrote: > > ? >> On Sun, 12 Feb 2023 14:57:36 -0800 >> Jeff Newmiller <jdnewmil at dcn.davis.ca.us> wrote: >> >> x["V2"]
2023 Jan 14
1
Removing variables from data frame with a wile card
You rang sir? library(tidyverse) xx = 1:10 yr1 = yr2 = yr3 = rnorm(10) dat1 <- data.frame(xx , yr1, yr2, y3) dat1 %>% select(!starts_with("yr")) or for something a bit more exotic as I have been trying to learn a bit about the "data.table package library(data.table) xx = 1:10 yr1 = yr2 = yr3 = rnorm(10) dat2 <- data.table(xx , yr1, yr2, yr3) dat2[, !names(dat2)
2023 Jan 14
2
Removing variables from data frame with a wile card
Thanks to all. Very helpful. Steven from iPhone > On Jan 14, 2023, at 3:08 PM, Andrew Simmons <akwsimmo at gmail.com> wrote: > > ?You'll want to use grep() or grepl(). By default, grep() uses extended > regular expressions to find matches, but you can also use perl regular > expressions and globbing (after converting to a regular expression). > For example: >
2023 Jan 14
1
Removing variables from data frame with a wile card
Hello Avi, while something like d$something <- ... may seem like you're directly modifying the data it does not actually do so. Most R objects try to be immutable, that is, the object may not change after creation. This guarantees that if you have a binding for same object the object won't change sneakily. There is a data structure that is in fact mutable which are environments. For
2023 Jan 14
3
Removing variables from data frame with a wile card
Steven, Just want to add a few things to what people wrote. In base R, the methods mentioned will let you make a copy of your original DF that is missing the items you are selecting that match your pattern. That is fine. For some purposes, you want to keep the original data.frame and remove a column within it. You can do that in several ways but the simplest is something where you sat the
2010 Apr 14
7
SuSE and zypper
Hi, I found the zypper provider mentioned on this list in another thread, but it failes with the flowing error : Package[kvm]/ensure: change from 0.11.0-4.5.2 to true failed: Could not update: undefined method `zypper'' for #<Puppet::Type::Package::ProviderZypper:0x7fd1acf9e360> at Is the latest provider broken? Is there interest in making this work / making it complete. I
2023 Jan 15
2
Removing variables from data frame with a wile card
I am new to this thread. At the risk of presenting something that has been shown before, below I demonstrate how a column in a data frame can be dropped using a wild card, i.e. a column whose name starts with "th" using nothing more than base r functions and base R syntax. While additions to R such as tidyverse can be very helpful, many things that they do can be accomplished simply
2006 Jan 11
1
Asterisk and Radius
I need to integrate Asterisk with radius server, because I need auth and signaling from radius (i.e start and stop messages in realtime) (or something that do that). I can't find an implementation of this with enough documentation to install and run.-
2023 Feb 12
2
Removing variables from data frame with a wile card
x["V2"] is more efficient than using drop=FALSE, and perfectly normal syntax (data frames are lists of columns). I would ignore the naysayers, or put a comment in if you want to accelerate their uptake. As I understand it, one of the main reasons tibbles exist is because of drop=TRUE. List-slice (single-dimension) indexing works equally well with both standard and tibble types of data
2003 Sep 23
2
error message playing .mp3
> -----Original Message----- > From: listas iPfone [mailto:listas@ipfone.com.br] > > Somebody knows why asterisk gives me that error wile playing .mp3 files? > > The files play well but the message aperas any way: > WARNING[131089]: File format_mp3.c, Line 120 (mp3_read): Short read (0 of > 4 > bytes) (No such file or directory)! Listas, You might try down-sampling
2011 Dec 13
2
OPeNDAP access with R
I am in the process of converting from Matlab to R, but a major sticking point for me at the moment is accessing data via OPeNDAP. After several hours of searching, I found that other people have discussed this functionality in the past, but it does not appear to have yet been developed. One programmer, Luke Miller, has managed a work-around by downloading ascii data from an OPeNDAP site (
2007 Mar 19
1
Wile: Error when executing "make" in SimplyMepis 3.4.3
Hello, I got the following error message when I executed "make". Can anyone help me on this issue? Thanks! Mike make[1]: Entering directory `/home/zheng/Desktop/wine-0.9.28/tools' make[1]: `makedep' is up to date. make[1]: Leaving directory `/home/zheng/Desktop/wine-0.9.28/tools' make[1]: Entering directory `/home/zheng/Desktop/wine-0.9.28/libs' make[2]: Entering
2004 Jul 19
5
Cisco 7960 SIP V6 and distinctive ring.
Hi Can anyone with distinctive ring on their 7960's possibly post how they've got it to work? I understand that the ALERT_INFO variable is involved but using the examples for the variable value from the WiKi I'm just getting an error message from the Asterisk concole. Thanks in advance. P
2008 Jun 04
1
Error Wile starting AsterFax
Hi All, I am getting following error when i start AsterFax: Please help me to solve this issue: [root at prefroam asterfax]# ./asterfax.sh log4j: Threshold ="null". log4j: Retreiving an instance of org.apache.log4j.Logger. log4j: Setting [au.com.noojee.asterfax] additivity to [false]. log4j: Level value for au.com.noojee.asterfax is [DEBUG]. log4j:
2018 Oct 11
1
Booting CentOS 6 with Grub from CentOS 7
Stephen John Smoogen wrote: > On Tue, 9 Oct 2018 at 21:47, Yves Bellefeuille <yan at storm.ca> wrote: >> >> I had CentOS 6 installed on an MBR hard disk. I converted the disk to >> GPT (with UEFI) and installed CentOS 7 on a new partition. >> Um, say *what*?! This wasn't a complete rebuild? Next you'll tell us you buy hardware from Acme, the company that
2009 Jan 21
2
slow logon with many ldap groups
Dear all, I'm having some problems with my samba-ldap configuration. The server is a domain controler. Most of the time there is no problem. But when some users try to logon, the workstation gets very slow. After some testing i found the cause. When a user is a member of many ldap groups (more then 64), i get the following error: "smbd[32384]: nss_ldap: could not get LDAP result -