similar to: Simple question

Displaying 20 results from an estimated 1000 matches similar to: "Simple question"

2006 Apr 04
1
Indexing a vector by a list of vectors
Hello R-help - I have vec <- c("string1", "string2", "string3") ind <- list(c(1,2),c(1,2,3)) I want "vec" indexed by each vector in the list "ind". The first element of the list I want would be vec[c(1,2)], the second element would be vec[c(1,2,3)], like the following. [[1]] [1] "string1" "string2" [[2]] [1]
2016 Jul 14
0
[PATCH 2/5] Optimize fixed-point celt_fir_c() for ARM NEON
Create the fixed-point intrinsics optimization celt_fir_neon() for ARM NEON. Create test tests/test_unit_optimization to unit test the optimization. --- .gitignore | 1 + Makefile.am | 39 ++++- celt/arm/arm_celt_map.c | 17 +++ celt/arm/celt_lpc_arm.h | 65 ++++++++ celt/arm/celt_lpc_neon_intr.c
2003 Feb 21
4
Perl question
I'm working on the installer code, but I don't know Perl well enough. What is a good Perl equivalent of the R statement if ( s %in% c('string1', 'string2', 'string3') ) ... I can do it with if (s == "string1" || s == "string2" || s == "string3") ... but I've got a feeling there's a better way to do it using associative
2005 Jul 04
1
Colors in mtext
I want to assign different colors to different strings using mtext(...). However, when I use something like mtext(text=c("string1","string2","string3"), col=c("black","blue","red"), side=3, line=0) string2 and string3 are printed over string1. When I use paste("string1","string2","string3"), the series
2004 Dec 02
3
combine two strings
Hello, I would like to combine two strings while using R. For instance, string1 <- "abcde" string2 <- "WXYZ" I'd like to combine string1 and string2 into Sting3; and string3 should be "abcdeWXZY". Would you please tell me how to do it? Thank you very much Ben-Yang [[alternative HTML version deleted]]
2003 Feb 23
0
unsubscribe
From:r-devel-admin@stat.math.ethz.ch on 02/22/2003 12:00 PM CET Sent by: r-devel-admin@stat.math.ethz.ch Please respond to r-devel@stat.math.ethz.ch To: r-devel@stat.math.ethz.ch cc: (bcc: Asheka Rahman/arahma1/LSU) Subject: R-devel digest, Vol 1 #101 - 10 msgs Send R-devel mailing list submissions to r-devel@stat.math.ethz.ch To subscribe or unsubscribe via the World Wide Web,
2007 Dec 16
2
question about the aggregate function with respect to order of levels of grouping elements
Hi, I am using aggregate() to add up groups of data according to year and month. It seems that the function aggregate() automatically sorts the levels of factors of the grouping elements, even if the order of the levels of factors is supplied. I am wondering if this is a bug, or if I missed something important. Below is an example that shows what I mean. Does anyone know if this is just the way
2009 Jan 22
4
text vector clustering
Hi, I am a new user of R using R 2.8.1 in windows 2003. I have a csv file with single column which contain the 30,000 students names. There were typo errors while entering this student names. The actual list of names is < 1000. However we dont have that list for keyword search. I am interested in grouping/cluster these names as those which are similar letter to letter. Are there any
2005 Oct 25
1
winbind or netsamlogon_cache.tdb issue
Hello, i am using samba 3.0.9 (winbind in particular) on RHES server for a squid project : to authenticate users or check in they are member of some groups on AD W2K servers. It has been working fine for one year. Last week, we have defined new AD groups to use for this project. The problem that i am facing, is that for some users, the check to see if the user is in the group is working fine,
2015 Jun 25
5
An odd X question
I've got a headless server running CentOS 7. I've got a user who wants to run some graphical software on it, and view using x forwarding. What I don't have clear is how to set this up. I've just installed xorg-x11-server-[Xorg, common]. I assume I need to run X, but I don't see running this in runlevel 5. Thoughts? mark "and why is it called xorg-x11-server, when in
2005 Apr 28
2
Reconstruction of a "valid" expression within a function
Hello all, I have some trouble in reconstructing a valid expression within a function, here is my question. I am building a function : SUB<-function(DF,subset=TRUE) { #where DF is a data frame, with Var1, Var2, Fact1, Fact2, Fact3 #and subset would be an expression, eg. Fact3 == 1 #in a first time I want to build a subset from DF #I managed to, with an expression like eg. DF$Fact3, # but I
2017 Mar 18
5
AD integration not working after move/version
Hi! I am in a bit of trouble, I have moved a samba installation from one virtual host to another keeping the configuration files and filesystems. But during the transition something broke, now windows users are no longer able to access their shares. I think it has to do with the AD integration. I do not know it it because some state is missing on this host related to the AD integration or if
2007 Sep 09
4
Images larger than 40k uploaded with attachment_fu won't display
I have a problem displaying images when using attachment_fu. When I try to display the image, only about 40k appears in the browser, and with some images even that much is not visible (just garbage when I view source). I can display images smaller than 40k correctly. I''m storing the images in the database (mysql) and haven''t tried storing in the file system to see if that works
2016 Jun 17
5
ARM NEON optimization -- celt_fir()
Hi all, This is Linfeng Zhang from Google. I'll work on ARM NEON optimization in the next few months. I'm submitting 2 patches in the following couple of emails, which have the new created celt_fir_neon(). I revised celt_fir_c() to not pass in argument "mem" in Patch 1. If there are concerns to this change, please let me know. Many thanks to your comments. Linfeng Zhang
2007 Nov 19
1
Re: Different printer drivers ...
Greetings, I've now received private e-mail saying that others have seen this problem, sent e-mail to this list and received no answers. That ultimately, they ended up altering their Windows clients to use LPR instead of Samba. Is this really something that a genuine MS Windows server can handle and Samba cannot? Does anybody know when these other drivers stopped working well and what
2007 Nov 20
1
Re: Different printer drivers ...
Greetings, (Brief synopsis): | This is an extenuation of "Non-registry problem: Slow printing" | | See: | http://www.brightsands.com/~chris/quick.9.bz2 fast printer drivers loglvl=9 | http://www.brightsands.com/~chris/slow.9.bz2 slow printer drivers loglvl=9 | http://www.brightsands.com/~chris/smb.conf the smb.conf in use | | I have a sample Windows XP/SP2 client trying to
2005 Apr 20
1
IPC$ entries not deleted from connections.tdb?
Back to this problem Here a proof of it: 1. smbd version 3.0.11 started yaberge2@sda6 ==> p smbd root 13820 20662 0 08:05:39 - 0:00 /usr/local/samba/sbin/smbd -D -s/usr/local/samba/lib/smb.conf root 20662 1 0 08:05:39 - 0:00 /usr/local/samba/sbin/smbd -D -s/usr/local/samba/lib/smb.conf yaberge2@sda6 ==> /usr/local/samba/bin/smbstatus Samba version 3.0.11
2011 Jul 30
22
Question about Helpers
Studying the RoR 3 Tutorial book by Michael Hartl and on page 345 there''s the code inside the SessionsHelper: _________________________________________________________ module SessionsHelper def sign_in(user) cookies.permanent.signed[:remember_token] = [user.id, user.sault] self.current_user = user end end __________________________________________________________ What is the purpose
2011 May 08
3
%in% operator - NOT IN
Hello everyone, I am attempting to use the %in% operator with the ! to produce a NOT IN type of operation. Why does this not work? Suggestions? > data2[data1$char1 %in% c("string1","string2"),1]<-min(data1$x1) > data2[data1$char1 ! %in% c("string1","string2"),1]<-max(data1$x1)+1000 Error: unexpected '!' in "data2[data1$char1
2008 Nov 19
4
Role of asterisk
Hello list, When you have an asterisk box connected between the VoIP phones and an PSTN gateway what is the role of asterisk. Proxy server: stateful or stateless? From what i read in the: "Understanding the SIP, second edition" from Alan B. Johnston i think that asterisk is a stateful proxy server as well as registration server. Am I right? Can asterisk be configured to work as