Displaying 20 results from an estimated 5000 matches similar to: "X11 is not availble"
2009 Jun 17
2
Urgent - odfWeave produces graphs /images with Read-Error
Dear list,
I have been working on a report with around 60 images in it, and
everything has been fine, until now. I find that the image output that
is produced by odfWeave produces images that are NOT readable by
OpenOffice or NeoOffice. I get empty boxes with Read-Error written in
them. While generating the file using odfWeave, I can see them being
generated on the screen, and they all seem fine.
2009 Jun 26
4
How do I get just the two last tokens of each string in a vector?
Dear list,
Sorry for asking this very silly question on the list, but I seem to
have made my life complicated by going into string manipulation in
vectors.
What I need is to get the last part of a sting (the two last tokens,
separated by a space), and of course, this should be done for all
strings in a vector, creating a new vector of exual size.
So,
a <- c(" %L H*L L*H H%",
2011 Jan 20
4
How to reshape wide format data.frame to long format?
Dear list,
I need to convert this data.frame
> names(codesM)
[1] "key" "AMR.pa1.M" "AMR.pa2.M" "AMR.pa3.M" "AMR.pa4.M"
[6] "AMR.pa5.M" "AMR.pa6.M" "AMR.pa7.M" "AMR.pa8.M" "AMR.pa9.M"
[11] "AMR.pa10.M" "AMR.ta1.M" "AMR.ta2.M" "AMR.ta3.M"
2011 Jul 10
1
How do I get two levels of grouping for in a lattice panel function?
Dear list,
I'm working on a panel function where I would like to be able to visualise
data grouped by the category of the data, and then also changes in summary
descriptives from one condition to another in the same scatter plot. Like
the figure attached, but with one polygon for each subset of the data set
given by a second variable (with colours still coming from the variable
specified in
2012 Dec 12
1
ggplot: geom_line with only pairs of points connected
Dear list,
I've been using plotmeans {gplots} a lot before, and found the
"connect" argument to be quite useful.
I've moved to ggplot for several reasons, but would still like to
connect lines conditionally, somehow.
Is it possible to do?
Small example:
df <- data.frame(cat=LETTERS[1:4],num=rnorm(4))
ggplot(df, aes(x=cat, y=num)) + geom_point() +
2008 Dec 16
1
Change in Lattice bwplot?
Dear list,
Sorry for asking this question, but has something changed in the
syntax for bwplot in Lattice? In an old publication, I used
> bwplot( VOTMS ~gender |type * group,
data=merge(vot,words,by="ord"),
nint=30,
horizontal=F,
layout=c(3,3),
box.ratio=0.8)
which produced a lovelly 3x3 lattice plot with one
2009 Mar 20
1
odfWeave : change of text style of output is ignored
Dear list,
The output of my embedded code sections come out in the style "ttBlue" wich
is Times New Roman and Blue when I open document. I would like to change
this to a fixed witdth font, smaller and less blue by using style
definitions in the document, but it really does not affect the output.
I tried including
getStyleDefs() -> styl
styl$ttBlue$fontname <- "Courier"
2009 Jun 22
1
Lattice group colors?
Dear list,
I have been struggling to find how I would go about changing the
bakground colors of groups in a lattice barchart in a way so that the
auto.key generated also does the right thing and pick it up for the
key.
I have used the "col" argument (which I guess is sent to par()) in a
way so that the colors are like I would want them, but now I guess I
need to know which part part of
2008 Dec 18
1
R2HTML and output from a function
Dear list,
I am trying to construct a report function that would go through all
the object in the current environment and print them in HTML form.
What I have got is:
dataReport <- function(){
#First tables
tabs <- ls(sys.frame(), pattern=".*table")
for(currT in tabs){
cat("\n\n")
print(currT)
if(length(dim(get(currT))) > 2){
#We have to use ftable
2009 Sep 01
1
Best option for exporting data frame to SPSS?
Dear list,
I am leaving my old position and now need to convert my R data frames
into a format that can be used by an SPSS user replacing me, without
running into conversion problems.
The data set consists of strings in UTF8 encoding and values in double
precision floats. The data set is not terribly large, but I had bit
problems getting it into R due to the large number of unfortunate
characters
2011 Jun 10
2
How do I make proper use of the by() function?
An embedded and charset-unspecified text was scrubbed...
Name: inte tillg?nglig
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110610/b259a660/attachment.pl>
2009 Mar 18
1
Last char of a string in a list -> list of strings
Dear list,
This seems like a very simple problem, but I am failing to loose a
dimension (I think).
I have list, like this:
...
[2072] "!H*L" "L%" "%L" "H*L" "L%" "%L" "H*L" "H*L" "L%"
"%L" "H*L" "!H*L" "L%" "%L" "%L"
2012 Mar 03
3
Using ddply within a function by argument transfer
An embedded and charset-unspecified text was scrubbed...
Name: inte tillg?nglig
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20120303/a62e41f2/attachment.pl>
2011 Aug 11
1
Passing on "groups" argument to xyplot within a plotting function
An embedded and charset-unspecified text was scrubbed...
Name: inte tillg?nglig
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110811/f20d8760/attachment.pl>
2009 Feb 20
2
Grouped bwplots?
Dear list,
I am sorry for asking you this, but I am trying to do again what I
thought I have done before, although this time it does not work.
So, given the data set:
> testdf <- data.frame(grfak=sample(c("One","Two"),size=100,replace=TRUE), panfak= sample(c("Yes","No"),size=100,replace=TRUE), xfak=
2001 Mar 19
3
3D plots
Hi all,
I've got at really basic Q for you all: How do I produce a 3D plot in R?
Like the one in the screenshot on the R-project wab-page.
What is the command?
/Fredrik
--
-----------------------------------------------------------------
Fredrik Karlsson, Research Student
Department of Philosophy and Linguistics
Ume? University
S-901 87 UME?
SWEDEN
Tel: +46 90 786 56 84 Web:
2002 Mar 01
3
Split plot in colors/pch??
Hi all
This seems like a very easy question, but I have not found a simple
answer to it:
If you have a dataframe, how to you plot two of then in different colors
depending on a third variable?
All help appreciated!
/Fredrik
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send
2009 Aug 23
2
Surpress one panel in lattice plot..?
Dear list,
I have a two character vector with two different values in them (two
each, that is). Naturally, when I use these vectors as grouping
factors in a lattice plot, I get four panels.
Now, one of the possible four combinations will never have data, so
one panel will always be empty. So now my question is: can I force R /
Lattice not to print it, and give me only the 3 filled panels?
I have
2005 Aug 08
2
Groups in histograms?
Dear list,
I would like to create histograms for up to three groups, with
distincive colour/pattern, in a trellis panel. However, I have not
been able to find a way to do this. histogram does not seem to have a
group argument.
Please help.
/Fredrik
2001 Mar 02
3
Post Hoc on repeated measures?
Hi all,
I'm a potential new user of R and have to know this before I start using it:
SPSS does not let you do a Post Hoc analysis on repeated measures data.
This is a problem for me, since that is what I will have to do.
Will R let me do this?
/Fredrik
--
-----------------------------------------------------------------
Fredrik Karlsson, Research Student
Department of Philosophy and