Displaying 20 results from an estimated 3000 matches similar to: "gsub() and parenthesis symbols -- solved"
2001 Aug 02
1
gsub() and parenthesis symbols
Dear R-users --
I'm using R 1.3.0 on a PC running SuSE Linux 7.1. I'm confused by the
following behavior from the gsub() function. Am I doing something wrong?
## A string of characters
> string<-c("q","w","e","(",")","q","w","e")
## Use gsub to replace `q' with `A'
>
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
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 +
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
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 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
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 <-
2017 Nov 07
0
Revolutions blog: October 2017 roundup
Since 2008, Microsoft (formerly Revolution Analytics) staff and guests
have written about R every weekday at the Revolutions blog
(http://blog.revolutionanalytics.com) and every month I post a summary
of articles from the previous month of particular interest to readers
of r-help.
In case you missed them, here are some articles related to R from the
month of October:
A recent survey of
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
2009 Apr 23
1
Parenthesis around date/time using chron?
Hi,
I've been using the chron package to convert excel time into
month/day/year and h:m:s formats, specifically for use as axis labels.
I've come across something I don't quite understand.
### Here are some excel times:
dat = c(39083, 39083.00694, 39083.01389, 39083.02083, 39083.02778,
39083.03472, 39083.04167, 39083.04861, 39083.05556, 39083.0625
)
### I create
2020 Jun 09
1
[PATCH v2] mm/balloon_compaction: Fix trivial spelling
On Tue, Jun 9, 2020 at 8:04 PM Kieran Bingham
<kieran.bingham+renesas at ideasonboard.com> wrote:
>
> The word 'descriptor' is misspelled throughout the tree.
I think, *throughout the tree* is not appropriate* here. This patch
has fixed it within the file. With that,
Acked-by: Souptick Joarder <jrdr.linux at gmail.com>
>
> Fix it up accordingly:
>
2018 Mar 05
2
Unclosed parenthesis in grep.Rd
Lines 129-131:
\code{grep(value = FALSE)} returns a vector of the indices
of the elements of \code{x} that yielded a match (or not, for
\code{invert = TRUE}. This will be an integer vector unless the input
There should be a closing parenthesis after \code{invert = TRUE}
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]
2008 May 22
0
[patch] move misplaced parenthesis
Hi,
this is a trivial move of parenthesis, just to make them consistent with
the rest of the file. No change in behaviour.
riccardo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trivial-move-parenthesis.diff
Type: text/x-diff
Size: 622 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/swfdec/attachments/20080522/48d091b8/attachment.diff
2015 Jan 29
2
[Bug 2345] New: NESTING_INDENT_MISMATCH: missing parenthesis around if body in ssh-keygen.c:724
https://bugzilla.mindrot.org/show_bug.cgi?id=2345
Bug ID: 2345
Summary: NESTING_INDENT_MISMATCH: missing parenthesis around if
body in ssh-keygen.c:724
Product: Portable OpenSSH
Version: 6.7p1
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P5
2004 Jan 20
1
help command without parenthesis (PR#6447)
Full_Name: Ville Rapa
Version: R 1.8.1 (2003-11-21)
OS: linux debian sarge
Submission from: (NULL) (193.65.112.51)
Prints code to the console. To reproduce the problem type help without
parenthesis. Below is the output of my console.
> help
function (topic, offline = FALSE, package = .packages(), lib.loc = NULL,
verbose = getOption("verbose"), try.all.packages =