Displaying 20 results from an estimated 5000 matches similar to: "Spacing in the labels using xyplot()"
2005 Apr 14
3
Wrapping long labels in barplot(2)
I am using barplot, and barplot2 in the gregmisc bundle, in the
following way:
barplot2(sort(xtabs(expend / 1000 ~ theme)),
col = c(mdg7, mdg8, mdg3, mdg1), horiz = T, las = 1,
xlab = "$ '000", plot.grid = T)
The problem is that the values of 'theme', which is a factor, are in
some cases rather long, so that I would like to wrap/split them at a
space once they
2011 Aug 16
3
Text wrap
Hi everyone.
I have a long label that I would like to split. I found that I could use
"strwrap" for simple text. However, this is not working with this label:
str = expression(paste("< 20 ?m phytoplankton ","(cells ? ",mL^-1,")"))
plot(...., ylab = strwrap(str,20),...)
I suspect this is because I'm using "expression" for form my label.
2005 Apr 15
2
abbreviate or wrap dimname labels
For a variety of displays (mosaicplots, barplots, ...)
one often wants to either abbreviate or wrap long labels,
particularly when these are made up of several words.
In general, it would be nice to have a function,
abbreviate.or.wrap <-
function(x, maxlength=10, maxlines=2, split=" ") {
}
that would take a character vector or a list of vectors, x,
and try to abbreviate or wrap
2004 Dec 03
1
How to wrap or split labels on plot
Dear R gurus,
I want to wrap labels that are too long for a plot. I have looked at
strsplit(), substr(), nchar(), and strwrap(). I think it's some
combination but I'm having difficulty trying to figure out the right
combo. I think I need to create some new matrix containing the labels
already split, though I'm not sure if maybe there is a quick and dirty
way to address this
2012 Mar 15
1
how to assign "writeLines" function
hi,
what I want to do is assigning following code to any object.
k<-paste("thank")
writeLines(strwrap(k, width = 80,indent = 7,exdent = 6))
To assign the "writeLines" code,
I try this
a<-writeLines(strwrap(k, width = 80,indent = 7,exdent = 6))
or
assign(a,writeLines(strwrap(k, width = 80,indent = 7,exdent = 6)))
but it doesn't work.
is there any way to solve
2009 May 07
1
Local yum mirror and repomd.xml
Hey,
So, I'm having a minor issue. Today, I configured one of our CentOS systems
to use our local mirror (mirror.clarkson.edu) for its repositories. After
doing this, I ran a yum update and received the following warning in the
output along with the updates available:
Not using downloaded repomd.xml because it is older than what we have:
Current : Thu May 7 14:41:57 2009
Downloaded:
2007 Oct 29
4
Joining a Linux Machine to a Windows 2003 Active Directory Domain
Hey all, I'm trying to join a Linux machine running CentOS 5, Samba version
3.0.23 to a Windows 2003 Active Directory. I can authenticate successfully
against Kerberos, but I cannot seem to join the domain. I'm using
instructions from this article
2019 Jun 27
2
LLVM on bare-metal
Would you say that embedding the LLVM linker is a practical way to get
the required dynamic linking capabilities on the bare-metal side?
Orthogonal Devices
Tokyo, Japan
www.orthogonaldevices.com
On 27/06/2019 19:06, Peter Smith wrote:
> On Thu, 27 Jun 2019 at 10:36, Brian Clarkson via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
>> Hi Tim.
>>
>> Thank you for
2009 Aug 25
2
allowing line wrap for long strip text in xyplot (lattice)
Hi. Am brand new to R and to mailing lists - have never posted anywhere
before, so hope I do this right.
Am using R 2.9.1 with lattice graphics (just installed, fully up to date).
Am doing trellis xyplot with y (emp=employment), x (yearmo=a time measure)
and conditioning variable (indf - factor describing industry) -- i.e., (emp
~ yearmo | indf), where all three variables are in a dataframe. The
2001 Oct 26
3
warnings --- wish/bug (PR#1148)
When R prints warnings, they often go "out of the line", it would be
better if they where wrapped with
writeLines(strwrap ...
I tried to do that , changing the function warnings, but it has only
effect when called explicitely, not when R prints the warnings unasked.
Anyhow, here is the changed warnings:
warnings <-
function (...)
{
if (!(n <- length(last.warning)))
2008 Oct 24
1
Automatically adjust text size in plot
Hi all,
I'm writing a function that will automatically generate a report based
on answers to a questionnaire. The exact questions and answers to the
questionnaire can vary. One of the question types is in a "matrix"
format, where the agreement to several statements can be indicated on
a scale.
I'm planning to plot this on a multilevel barplot, and only labeling
each "bar
2018 Sep 18
2
Suggested Patch: Adding commas to list of packages after R CMD check
Dear R-devs,
Scenario:
When checking a package via `R CMD check package_tar.ball`, required / suggested packages may be missing. R subsequently returns a list of packages that are missing (delimited by spaces).
Example:
```
R CMD check glmSparseNet_0.99.13.tar.gz
* using log directory '/home/ubuntu/Bioconductor/glmSparseNet.Rcheck'
* using R Under development (unstable) (2018-06-06
2019 Jun 27
2
LLVM on bare-metal
Hi Tim.
Thank you for taking to time to comment on the background!
I will definitely study lldb and remote JIT for ideas. I worry that I
will not be able to pre-link on the host side because the host cannot(?)
know the final memory layout of code on the client side, especially when
there are multiple plugins being loaded in different combinations on the
host and client. Is that an
2005 Nov 29
1
help combining mtext and strwrap?
Hi all,
I've got some image plots on which I'd like to include some gene information
(in the margins using mtext). Unfortunately, the description is rather long
and will need to be wrapped to fit on several lines. From what I know about
mtext, it's really only meant for single-line labels, not paragraphs.
Here's some sample code of the idea I'm trying to accomplish:
2009 Oct 19
1
How do I wrap a long mixed text/math expression in an axis label?
I would like to wrap a y-axis label onto two lines. My label is an expression
containing both text and math symbols. I have looked at plotmath,
strsplit(), strwrap(), deparse(), do.call(), substitute() and bquote().
Based on previous posts, I can get plain text to wrap. However, when I try
these methods on my label, the exact string is returned, rather than
evaluating the math symbols.
My
2010 Jan 28
1
hist - unevenly spaced bars
I am sure this is trivial, but I cannot solve it.
I make a histogram. There are 5 categories "1",...,"5" and 80 values and
the histogram does not evenly space the bars.
Bars "1" and "2" have no space between them and the rest are evenly spaced.
How can I get all bars evenly spaced?
The code:
> Q5
[1] "4" "4" "4"
2010 Jul 13
2
Wrap column headers caption
Hi:
Using this dataframe with quite long column headers, how can I wrap the
text so that the columns are narrower. I was trying to use strwrap without
success. Thanks
reportDF <- structure(list(IDDate = c("3/12/2010", "3/13/2010", "3/14/2010",
"3/15/2010"), FirstRunoftheYear = c("33 (119 ? 119)", "n (0 ? 0)", "893 (110 ?
2002 Oct 17
4
upgrade samba
How does one move from a rpm based samba to tar.gz? In other words how
do I upgrade from samba-2.2.1a-4 to samba-2.2.6.tar.gz.
Do I remove samba : rpm -e samba?
And what do I do with the other samba rpm packages:
samba-client-2.2.1a-4 & samba-common-2.2.1a-4? Are they included with
the tar package?
Using RH7.2.
Roger
--
**********************************
Roger Schmeits
System
2006 Jan 12
2
Basis of fisher.test
I want to ascertain the basis of the table ranking,
i.e. the meaning of "extreme", in Fisher's Exact Test
as implemented in 'fisher.test', when applied to RxC
tables which are larger than 2x2.
One can summarise a strategy for the test as
1) For each table compatible with the margins
of the observed table, compute the probability
of this table conditional on the
2015 Aug 10
5
libvirt-lxc
Hi,
I noticed that libvirt-lxc will be deprecated for RedHat:
"Future development on the Linux containers framework is now based on
the docker command-line interface. libvirt-lxc tooling may be removed in
a future release of Red Hat Enterprise Linux (including Red Hat
Enterprise Linux 7) and should not be relied upon for developing custom
container management applications." -