similar to: Sub with and without perl=TRUE

Displaying 20 results from an estimated 20000 matches similar to: "Sub with and without perl=TRUE"

2006 Dec 20
4
R windows crash (PR#9426)
Full_Name: Robert Denham Version: R-2.4.1 OS: Windows Xp Submission from: (NULL) (61.88.57.1) R gui exits without warning when I run a function which has an argument with a default that is not found. This was a result of an error in a function I wrote, but I thought that it should exit more gracefully than it does. Here is an example: testfun <- function(aa=aa) { aa <-
2007 Aug 21
2
compiling R under cygwin
For various reasons, it suits our workplace to have a cygwin version of R. I am pretty sure that cygwin is still not a supported environment for R, but we have managed to compile R-2.5.1 under cygwin without too many dramas. Our procedure is described below. We still have a few problems compiling libraries without manually changing files from .so to .dll, but it seems ok. I was wondering
2005 Jan 08
1
sub( , perl = TRUE) overflow (PR#7479)
I'd like to report a bug (buffer overflow?) in the function sub(..., perl = TRUE) I wanted to implement the familiar perl function for removing white spaces before and after a character string: sub trimwhitespace($) { my $string = shift; $string =~ s/^\s+//; $string =~ s/\s+$//; return $string; } So in R this would (presumably) become: trimwhitespace <- function(x) { x <-
2001 Jul 09
1
polynomial regression and poly
When doing polynomial regression I believe it is a good idea to use the poly function to generate orthogonal polynomials. When doing this in Splus there is a handy function (transform.poly I think) to convert the coefficients produced by regression with the poly function back to the original scale. Has somebody written something similar for R ? Robert
2004 Jun 24
2
string overflow in safe_strcpy
I recently upgraded both of my samba servers (mirrors of each other) to 3.0.4, my log files now fill with the following messages (hundred lines per day): Jun 24 13:55:33 Clyde smbd[8597]: [2004/06/24 13:55:33, 0] lib/util_str.c:safe_strcpy_fn(602) Jun 24 13:55:33 Clyde smbd[8597]: ERROR: string overflow by 1 (9 - 8) in safe_strcpy [LIBRA~V$.DOC] Jun 24 14:20:34 Clyde smbd[8597]: [2004/06/24
2015 Mar 24
6
Samba4 + external ldap
After some reading and attempts, I managed to set the Samba4 with the external openldap. I tried to add a user through the command "smbpasswd", but an error occurred, which follows below: root at sol:~# smbpasswd -a billy > > smbldap_search_domain_info: Searching >> for:[(&(objectClass=sambaDomain)(sambaDomainName=POA))] > > smbldap_open_connection: connection
2010 Dec 27
5
Is apostrophe (') something special in a regex if at end?
(Ruby 1.9.2) I have a simple validation regex which I need to pass the following values: "Billy-Bob" and "O''Kelley" (as test cases). Originally I was not allowing apostrophe but it became apparent I had to allow it. The initial regex was: /^[a-zA-Z -]*$/ Now, when I added the apostrophe like this: /^[a-zA-Z'' -'']*$/ Then for some reason
2004 Sep 08
4
Cisco GW and DTMF problems
I'm stuck running a old copy of asterisk because something strange is going on in later versions of the CVS.. When I call in from a PSTN into my cisco 2610XM gateway which then routes the call to my asterisk box via sip.. Asterisk can no longer process DTMF tones generated by the calling party. This affects DISA, prompts and menus.. Has anyone else had this problem?? and use.. I DO have
2009 Apr 09
1
Does R support [:punct:] in regexps?
Hello does R support [:punct:] in regular expressions? I am trying to strip all regular expressions for a vector of strings. > x <- c("yoda-yoda","billy!") > gsub("/[:punct:]/","",x) [1] "yoda-yoda" "billy!" Thanks Dan -- ************************************************************** Daniel Brewer, Ph.D. Institute of Cancer
2004 May 02
1
[LLVMdev] hoisting problem.
Hi, First, sorry in advance for pasting code like this :) I'm doing a simple optimization pass for a cs326 class project. The pass in question is LICM, and I'm getting an assertion when I try to hoist an instruction. My hoist function is below. I dont think I need that copying in there, that was just something people on the newsgroup suggested. I get the same assertion
2001 Dec 26
0
Variable substitution in smb.conf
Hello everyone, I have approx. 1000 users accessing a samba server, each with there own user dir. Currently I have samba set up to map users to /basedir/%u but because there are so many users, I want to break up the directory structure. I would like to take the first two letters of each username connecting, and map their directories to a subdir. If I've been confusing in this request,
2007 Sep 01
1
why doesn't as.character of this factor create a vector ofcharacters?
This message didn't seem to have been somewhat forgotten. Here is a reply. When you constructed the data.frame, all strings were converted to factors. If you didn't want that, it would have been possible to specify it: df<-data.frame(a=a,b=b,c=c,stringsAsFactors=F) Then everything would work as intended: one.line<-as.character(df[df$a=="Abraham",]) Actually, the real
2005 Apr 02
2
OT Windows policy question
List, Thanks tremendously to JC and JHT for guiding (nay, kicking) me toward getting ACLs to work on RHAS3. Reading the RH sysadmin guide about ACLs and searching elsewhere, as well as thinking for myself, were also a pre. Now for something completely different: High school in Amsterdam Netherlands: - RHAS3 - Samba 3.0.11 RPC, not ADS (no way we're upgrading while the bug reports keep
1998 Nov 19
2
Re: ESS & R data import problems
I have a similar question, I know about --vsize, but I use R under Emacs using ESS. I know there is an easy way to call R from ESS with command line options but I don't remember how. I can't find help on this in ESS documentation or in R documentation. Could someone please remind me how this is done. ------------------------------------ | Robert Denham | |
2004 Mar 04
1
where is the pdb_mysql.so
i download samba3.02 source tar package from samba.org , do the below steps on my freebsd5.2 #./configure --with-mysql-prefix=/usr/local/mysql #.... #make #.... #make install #..... after install, i add a user: #pdbedit -a billy then use the simple smb.conf [global] security=user [tmp] path=/tmp guest ok=yes everything is ok, i can access this samba server using windows client.
2005 Feb 09
1
Compile on RHAS/RHEL3?
List, both on RHAS3 update3, update 4, Samba source code 3.0.9 thru 11 gives SIGSEGVs on make check. Installing the buggers and trying to run them gives the same. *THOUGH*. The Red Hat beta 3.0.9 srpm at fr2.rpmfind.net comples and runs "like a little sun" ("net als een zonnetje", in Dutch). Anyone compiled Samba 3.0.11 on Red Hat RHAS3/RHEL3? Not "how", just
2005 Mar 16
1
Attachment. who can I best report this to for forensis?
Johan B, please let it through+ The headers are needed. I live in the Netherlands, where the police contacts for this sort of thing are grey and unknown to me. The Metropolitan Police (London only) in England is 100% on the ball, but they're under resourced and I don't live in their "manor" (London slang for area). I'd like to push it out to as powerful an organization
2006 May 30
2
Hi , Anyone From Singapore?
Hi All , I been trying out RoR and reading the mailing list for sometimes and wondering if anyone of you guys from Singapore ? I am thinking of a meetup or something for RoR fans here. If you are , pls contact me by my email ? Thank you very much. regards billy PS : Apology for sending non-ruby question email in the list.
2009 Apr 13
1
should sub(perl=TRUE) also handle \E in replacement, to complement \U and \L?
Currently sub(perl=TRUE) allows you to specify \U and \L in the replacement argument so that the rest of the subpatterns in the line (the \\<digit> things) will be converted to upper or lower case, respectively. perl also also has a \E operator to end these case conversions for the rest of the subpatterns (so they retain whatever case they had in the original text). For symmetry's sake
2009 Nov 27
5
Installing CentOS 5.4 64bit on server with LSI SAS 1068E controller.
I'm trying to install CentOS 5.4 on a machine with a LSI SAS 1068E controller. I've googled all over the place and found a few different drivers for RHEL5 for it.. and tried a few of them.. Some will load, some complain that this isn't the correct version.. non of them work when it comes to showing Hard Drivers in the partition manager. The machine is a Supermicro SYS-6015V-M3