search for: strg

Displaying 20 results from an estimated 23 matches for "strg".

Did you mean: str
2007 Mar 04
1
Problem using callNextMethod() in S4
...{ .Object at mydir <- as.character(getwd()); }#if print(paste("mydir = ", .Object at mydir)) .Object <- callNextMethod(); .Object; } )#initialize setValidity("baseClass", function(object) { print("---setValidity:baseClass---") strg <- object at myname; if (!(is(strg, "character") && nchar(strg) > 0)) { warning(paste(sQuote("myname"), "is missing")); }#if print(paste("myname = ",object at myname)) strg <- object at mydir; if (!(is(strg, &...
2006 Jun 06
2
about string
Hello sir: There are 2 questions about string. 1 How to calculate the width of a string? e.g string "abc"'s width is 3; 2 How can I get the "substring" in such kind of condition: "f:\\JPCS_signal.txt" "f:\\PC1_signal.txt" "f:\\PC2_signal.txt" What I wanna get is "JPCS" "PC1" "PC2".How can I achieve them by R
2010 Sep 08
0
Correction to vec-subset speed patch
...e return positiveSubscript(s, ns, nx); - return R_NilValue; + else /* min == 0 */ + return nonnegativeSubscript(s, ns, nx); } typedef SEXP (*StringEltGetter)(SEXP x, int i); @@ -482,13 +500,14 @@ static SEXP stringSubscript(SEXP s, int ns, int nx, SEXP names, - StringEltGetter strg, int *stretch, Rboolean in, SEXP call) + StringEltGetter strg, int *stretch, SEXP call) { SEXP indx, indexnames; int i, j, nnames, sub, extra; int canstretch = *stretch; /* product may overflow, so check factors as well. */ - Rboolean usehashing = in && ( ((ns >...
2006 Jun 18
1
about the analysis of strings, thanks
Dear R-helpers: thank your for your attention. i am a newer to R and i am doing some protein category classification based on the amino acid sequence.while i have some question urgent. 1. any packages for analysis amino acid sequence 2. given two sequences "AAA" and "BBB",how can i combine them into "AAABBB" 3. based on "AAABBB",how can i get some
2011 Aug 17
3
How to apply a function to subsets of a data frame *and* obtain a data frame again?
...ired to first sort df ## according to Group, then paste the values computed by edf to the sorted df; ## seems a bit tedious). ## A solution I have is the following (but I would like to know if there is a ## simpler one): (edf.. <- do.call("rbind", lapply(unique(df$Group), function(strg){ subdata <- subset(df, Group==strg) # sub-data subdata <- cbind(subdata, edf=edf(subdata$Value)) })) ) Cheers, Marius
2007 Mar 19
3
character to numeric conversion
Hi. Is there a straightforward way to convert a character string containing comma-delimited numbers to a numeric vector? In my application, I use system(executable.string, intern=TRUE) which returns a string like "[0.E-38, 2.096751179214927596171268230, 3.678944959657480671183123052, 4.976528845643001020345216157, 6.072390165503099343887569007, 7.007958550337542210168866070,
2005 Oct 20
2
String manipulation
R-help, I have a data frame which contains a character string column that is something like; II11 II18 II23 III1 III13 III16 III19 III2 III7 IV10 IV11 IV12 IX16 IX4 V12 V18 V2 V20 V23 V4 VII14 VII18 VII21 VII26 VII28 VII33 VII4 VII48 VII5 .... .... .... I want to apply a function (e.g mean) by grouping according to the roman part of the string, i.e, by I by V by VII ... ... and so on. I have
2008 Sep 18
3
character position
Hi, I'm not being able to capture a position of a 'string' in a character string. In this example: 'There are 20 species in this grid' I would like to capture the string (number) after 'are' and before 'species'. Consider they do not change. I wouldn't like to use substr because stop position may change. Thanks Paulo
2011 Mar 09
2
collapse a data column into a row
I have a file with a data in columnar format like below: probeID rc_AI104113_at rc_AI178259_f_at rc_AI179134_i_at rc_AI179134_f_at rc_AI104113_at rc_AA819429_f_at How can I rewrite it in the format below: 'rc_AI104113_at', 'rc_AI178259_f_at', 'rc_AI179134_i_at', 'rc_AI179134_f_at', 'rc_AI104113_at', 'rc_AA819429_f_at' Is there any function to do
2006 Aug 08
1
w2k + xp clients password change freezes the client
Hi. I've a problem changing the password of the domain user directly from the windows client by using strg+alt+del. If I try to change the password, the client freezes for several minutes and after this amount of time a popup appears with this error: The DOMAIN isn't available. In the the samba logs I see this error: can't connect to service "USERNAME" this is the GLOBAL part of my...
2009 Jan 11
3
Converting Numerical Matrix to List of Strings
Hi all, Given a matrix: > mat [,1] [,2] [,3] [1,] 0 0 0 [2,] 3 3 3 [3,] 1 1 1 [4,] 2 1 1 How can I convert it to a list of strings: > desired_output [1] "aaa" "ttt" "ccc" "gcc" In principle: 1. Number of Column in matrix = length of string (= 3) 2. Number of Row in matrix = length of vector ( = 4). 3.
2012 Oct 19
1
grid(Base): How to avoid "Figure region too small and/or viewport too large" by specifying 'relative' units?
...ot;relative" units but guarantee that the grid layout is respected when plotting is done? [We use this plot in a quite complicated setup and the quick solution to specify inches and a large enough width/height for the device fails.] Cheers, Marius require(grid) require(gridBase) ## setup strg <- LETTERS[1:2] # row variables t <- c(0.2, 0.8) # column variables ## plot variables (spaces) pspc <- c(3,3) spc <- c(0.3, 0.3) axlabspc <- c(1.2, 0.75) labspc <- c(0.3, 0.3) ## save plot settings par. <- par(no.readonly=TRUE) ## set up the grid layout nx <- 2 # number o...
2003 Dec 29
0
3.0.0 -> 3.0.1 : group_mapping.tdb perms
...retry_open(890) Connection to LDAP Server failed for the 1 try! [2003/12/29 18:08:59, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1649) ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (Insufficient access) ldapsam_search_one_group: Query was: ou=groups,dc=linux,dc=strg,dc=arte, (&(objectClass=sambaGroupMapping)(gidNumber=4294967295)) [2003/12/29 18:08:59, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1636) ldapsam_search_one_group: searching for:[(&(objectClass=posixGroup)(gidNumber=4294967295))] [2003/12/29 18:08:59, 0] lib/smbldap.c:smbldap_open...
2006 Jul 28
0
Password change for win clients
Hi, I'm using Samba 3.0.7 on Linux Rad Hat 3 update 4 I'm trying to change passwords over windows (STRG+ALT+DEL) But it doesn't work. Is this the right way? Server role: ROLE_STANDALONE No PDC!!! smb.conf parameters: passdb backend = tdbsam passwd program = /usr/bin/passwd %u passwd chat = *old*password* %n\n *new*password* %n\n *new*password* %n\n *changed* p...
2012 May 27
0
CentOS-announce Digest, Vol 87, Issue 15
...00 +0200 From: Ralph Angenendt <ralph.angenendt at gmail.com> Subject: [CentOS-announce] Mailserver move To: centos at centos.org, centos-devel at centos.org, centos-mirror at centos.org, centos-qa at centos.org, centos-announce at centos.org Message-ID: <20120526231500.GA28507 at reboot.strg-alt-entf.org> Content-Type: text/plain; charset=us-ascii Hi subscribers, the sponsor of the machine our mailserver runs on will be physically moving the machine at around May 27th 04:00 UTC. This move will take until around May 27th 07:00 UTC (or shorter). This means that there will be no act...
2012 Jul 13
1
Change Password in Clients Windows
Hi, I'm need users with windows change password. l use samba version 3.5 only for autentication. Is possible? Great. OBS: I use this lines in my samba. unix password sync = yes pam password change = yes passwd program = /usr/bin/passwd %u passwd chat = *New*password* %n\n *Re*ype*new*password* %n\n \ *passwd:*all*authentication*tokens*updated*successfully* -- -------------
2003 May 22
0
Samba PDC LDAP
...but at the first login the get the message that the should change their passwords (because of pwdMustChange is 0 at the first login) - if they then are trying to change the password it won't work (server log: PANIC: failed to set gid). If the log in without changing the password - and then hit STRG-ALT-DEL - and alter the password then it works (why??). My guest account is smbguest - smbguest is in the ldap directory with no password (smbldap-passwd smbguest with null values). When i look for the logs then i very often see that something is trying to authenticate smbguest and fails because of...
2011 Apr 06
1
CentOS-docs Digest, Vol 56, Issue 4
...46 +0200 > From: Ralph Angenendt<ralph at centos.org> > Subject: [CentOS-docs] Release Notes for CentOS 5.6 > To: centos-moderators at centos.org, centos-docs at centos.org > Cc: miguelmedalha at sapo.pt, kira.laucas at gmail.com > Message-ID:<20110404155746.GI8898 at reboot.strg-alt-entf.org> > Content-Type: text/plain; charset=us-ascii > > Hi, > > this release has taken quite a long time (probably too long), but it is > nearing it's release (I think I already had this excuse once before). > > Which means that it is Release Notes time! And th...
2001 Nov 29
4
password sync
Dear, I am newbie to samba, can any body tell me how do i synchronize the smb password with user's Linux password. regards Arun
2006 Feb 13
4
Network Problem with xen 3.0.1
...0 xenbr0 10.20.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 0.0.0.0 10.20.1.3 0.0.0.0 UG 0 0 0 eth0 If you need anythink more, tell me please. how can i stop/break programms like ping ssh, or other that i can normaly break with STRG+C, this Tastekombination don''t work on domU''s :-( Best regards Stefan -- View this message in context: http://www.nabble.com/Network-Problem-with-xen-3.0.1-t1114850.html#a2913065 Sent from the Xen - User forum at Nabble.com. _______________________________________________ Xen-u...