similar to: gsub() and parenthesis symbols

Displaying 20 results from an estimated 5000 matches similar to: "gsub() and parenthesis symbols"

2001 Aug 02
0
gsub() and parenthesis symbols -- solved
Hello again -- inevitably, I discovered the (documented) answer 30 seconds after sending my question. Using gsub(...,extended=FALSE) is the way to avoid this issue. Cheers, Kieran -- Kieran Healy, Assistant Professor, Sociology Dept, University of Arizona. kjhealy at u.arizona.edu :: (520) 621-3480 http://www.u.arizona.edu/~kjhealy -------------- next part -------------- An embedded message
2002 Jan 16
1
Postsript/Lattice interaction
Hello -- I'm using R-1.4.0 on a PC running SuSE Linux 7.1. Following Christian Ritter's announcement this morning, I downloaded the new versions of lattice and grid. I find that loading the lattice library causes postcript() to include a blank first page when creating a file. Like this: > # Create regular postscript file of a plot >
2002 Nov 29
1
configure fails on Mac OS 10.2.2
Hi - I'm trying to build R 1.6.1 on a Powerbook running Macintosh 10.2.2 with the most recent software update. The latest version of the developer tools is installed. I have also installed g77 and f2c from fink (the binary versions, using apt-get). ./configure fails with the following error: > checking for dummy main to link with Fortran 77 libraries... unknown > configure: error:
2001 Oct 31
3
maps in R (fwd)
Here is the answer to an old question of mine, regarding maps in R Hope this help. claudia ---------- Forwarded message ---------- Date: Mon, 25 Jun 2001 13:48:05 -0400 From: Kieran Healy <kjhealy at Princeton.EDU> To: Claudia Tebaldi <tebaldi at ucar.edu> Subject: Re: [R] maps in R Hi Claudia -- you can get the maps() library from here:
2004 Nov 06
1
basic bwplot query
Hi - I have some data consisting of a number of observations within each of 15 countries. Each country falls into one of two groups. I'd like to use the lattice library's bwplot to present boxplots of the country-level data, with a separate panel for each group, but showing only the relevant countries in each panel. Here's an analogous example using the "singer" data
2004 Jan 07
1
Sweave and X11 on OSX 10.3
Hi - I'm running R 1.8.1 (compiled from source) on Mac OS X 10.3 (Panther). I find that, if Apple's X11 application is not running, Sweave gives an error when it wants to create a pdf or eps figure. E.g., in the package's own example-1.Snw file a boxplot is created at chunk 2: <<fig=TRUE,echo=FALSE>>= boxplot(Ozone ~ Month, data = airquality) @ Normally this will create
1999 Dec 11
1
make errors while compiling
Dear R users - I am a first-time R user trying to compile v.0.90.0 under Caldera OpenLinux 2.3, on a Dell PII400/128. I've encountered a problem with the make file. First, I run configure, which appears to complete properly. (I had to download an updated gcc library from caldera for this to happen though.) At the end of its run, config reports: > R is now configured for
2003 Apr 22
0
Hmisc's aregImpute segfaults R-1.7.0 under linux
Hello - When trying to use Hmisc library's aregImpute function on R 1.7.0, I got the following error -- shown here using the example code from the help page --- under both Linux and Mac OS X 10.2.5: set.seed(3) x1 <- factor(sample(c('a','b','c'),1000,T)) x2 <- (x1=='b') + 3*(x1=='c') + rnorm(1000,0,2) x3 <- rnorm(1000) y <- x2 +
2018 Mar 05
1
Unclosed parenthesis in grep.Rd
There are probably more unmatched parentheses around: detect <- function(file) { text <- paste(readLines(file), collapse = "") nchar(gsub("[^(]", "", text)) != nchar(gsub("[^)]", "", text)) } docs <- list.files("r-source-trunk/src/library", pattern = "\\.Rd$", full.names =
1999 Dec 11
0
Success compiling R on Caldera OL 2.3
Hello - thanks to Prof. Ripley and Peter Dalgaard for their helpful responses. I have now successfully compiled R on my machine. The kernel-headers were not installed on my machine, but there is a package on the Open Linux 2.3 CD. I believe they weren't installed simply because I didn't choose to have all the development tools/libraries added when I installed linux. I didn't realize
2009 May 17
4
Can YOU find a trailing parenthesis?
On 1.6.1, I must be losing my eyesight: [internal] include => outbound-pstn ............. include => meetme ; 2663 include => setup-meetme-conf-room ; 6000xxxYYYY [setup-meetme-conf-room] exten => _6000XXXNXXX,n,Set(Time-in-secs="${STRFTIME(${EPOCH},,%s}" ) ........ CLI: -- Starting simple switch on 'DAHDI/1-1' [2009-05-17 14:54:49]
2012 Feb 13
1
survey package svystat objects from predict()
Hello, I'm running R 2.14.1 on OS X (x86_64-apple-darwin9.8.0/x86_64 (64-bit)), with version 3.28 of Thomas Lumley's survey package. I was using predict() from svyglm(). E.g.: data(api) dstrat<-svydesign(id=~1,strata=~stype, weights=~pw, data=apistrat, fpc=~fpc) out <- svyglm(sch.wide~ell+mobility, design=dstrat, family=quasibinomial()) pred.df <-
2003 Apr 20
1
R 1.7.0 fails to compile on OS X 10.2.5
Hello - I'm trying to compile R 1.7.0 on a PowerBook running OS X 10.2.5. I've compiled R (1.6.2) successfully before on this machine, under either 10.2.3 or 10.2.4. My gcc is from the latest Apple Developer Tools release and the g77 is up-to-date via Fink. R passes ./configure just fine, with the following options: R is now configured for powerpc-apple-darwin6.5 Source
2020 Mar 30
2
Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds?
Le mardi 31 mars 2020 ? 10:14 +1300, Paul Murrell a ?crit : > Hi > > On 30/03/20 11:12 pm, Nicolas Mailhot wrote: > > Le lundi 30 mars 2020 ? 15:24 +1300, Paul Murrell a ?crit : > > > Hi > > > > > > I have created an R branch that contains a potential fix ... > > > > > > https://svn.r-project.org/R/branches/R-symfam/ > > >
2020 Mar 31
0
[FORGED] Re: Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds?
On 31/03/20 11:50 am, Nicolas Mailhot wrote: > Le mardi 31 mars 2020 ? 10:14 +1300, Paul Murrell a ?crit : >> Hi >> >> On 30/03/20 11:12 pm, Nicolas Mailhot wrote: >>> Le lundi 30 mars 2020 ? 15:24 +1300, Paul Murrell a ?crit : >>>> Hi >>>> >>>> I have created an R branch that contains a potential fix ... >>>>
2007 Nov 13
3
Story problem if parenthesis used in Given, When, Then or And
VERSION: rspec rails plugin current edge version XP/Cygwin on XP Hi, I hit this when trying to use parenthesis in my stories ... (that''ll teach me!). If a scenario looks like the following: Story "User has story with parentheses", %{ As a user I want parenthesis So that ... well I just do }, :type => RailsStory do Scenario "the Given has parentheses" do
2009 May 27
1
a simple trick to get autoclose parenthesis on windows
Hi, This is a simple trick to get autoclose parenthesis on windows. If you like how StatET autocloses parens, but like to use the lighter Vanilla R, you can use autohotkey (http://autohotkey.net) to provide this functionality. Simply put the below code in a text file, rename extension as .ahk and doubleclick on it to execute. ------------------ code starts here 8< ------------------ ;
2002 Jul 19
3
Automatic adjustment of axis ranges
I had a look at this, and worked out most of a function to do it. There are three things I haven't been able to figure out, however. 1) Getting the last N lines of the command history into a vector of strings. I thought something like: last.commands<-history(N) would work, but no go. There doesn't seem to be a file that I can tail, either. 2) Finding continuation lines by
2006 May 31
1
trouble with boot ()
Dear members, I am trying to use boot () to compute the distributions of a statistic of a data set. The statistic is defined in the following code: eds<-function(x) { r<-cor(x) paren<-1-abs(r)/2 denom<-sum(sum(paren)+0.5) desvio<-sd(x) media<-mean(x) a<-desvio/media
2007 Feb 23
2
bug with boolean query evaluation containing parenthesis and NOT ?
Hi, The following [simplified] query works well, however a variation which includes parenthesis seems to fail, in that it returns hits which should be excluded by the NOT term. This is surprising because in this simple case, the parenthesis shouldn''t change the Boolean evaluation ... any pointers? Working Query: field1:value1 AND NOT field2:value2 Failing Query: field1:value1 AND