Displaying 20 results from an estimated 1000 matches similar to: "How to plot both lines and points by group on ggplot2"
2023 May 02
1
Reg: Help regarding ggplot2
It's not clear what you want but ...
On 02/05/2023 10:57, Upananda Pani wrote:
> Dear All,
>
> I have a dataset which contains date and 12 other countries data. I
> have extracted the data as xts object.
>
> I am not able to recall all the series in the Y axis. My data set
> looks like this
>
> index crepub finland france germany italy netherlands norway poland
>
2024 Aug 16
1
boxplot notch
That's not really a reprex Sibylle.? I did try to use it to see if I
could work out what you were trying to do and help but there is so much
in there that I suspect is distraction from the notch issue and its
error message.
Please can you give us something stripped of all unecessary things and
tell us what you want?
Something like data that we can read as a tribble() or from a dput() of
2000 Feb 29
0
mapping of colornames into hsv: half way done
Ok,
now we have the mapping of color names to color codes (see below) and
conversion to rgb (something like Ben Bolker's function), but how to convert
rgb to hsv?
Thanks to Brian Ripley, Peter Dalgaard and Ben Bolker
Details below
Regards
Jens
etc/colors.big maps 455 names to rgb in S syntax
etc/rgb.txt maps 657 names to rgb in C syntax, but unlike colors() it has
mixed upper and
2024 Mar 05
1
How to invert axis within defined range with ggplot2 scale_y_reverse?
Hello,
I am drawing some data with ggplot2 and would like to reverse the
order of the y axis and set a custom range for it.
I can do the former but when I add the key `limits` to
`scale_y_reverse` I get an error as shows below and, worse, no data
shown in the plot.
How can I properly set a reverse y scale with a defined range in ggplot2?
Thank you
```
A <- rep(c(0, 3, 6, 12, 24), 3)
B <-
2024 Mar 05
1
How to invert axis within defined range with ggplot2 scale_y_reverse?
On 05/03/2024 7:16 a.m., Luigi Marongiu wrote:
> A <- rep(c(0, 3, 6, 12, 24), 3)
> B <- c(rep(0,5), rep(1,5), rep(2,5))
> V <- c(27.5, 27.01, 27.75, 27.98, 27.4, 25.69,
> 26.17, 27.78, 26.08,
> 24.97, 23.18, 21.78, 22.49, 21.85, 22.2)
> df <- data.frame(Conc = A, Time = B, Value = V)
> df$Conc = as.factor(df$Conc)
>
2025 May 19
0
Very odd issue getting "Input/output error" running shiny app from index.html locally but same shiny on my server working fine
I realise that shiny and Rstudio is often seen as OT here but I have a
strong suspicion that the issue is R or R/OS related so I hope someone
here will have some thoughts that might help me.
The scenario is that as of yesterday running my shiny project locally
from within Rtudio, i.e. by opening the index.html with preview, gets me
"Input/output error" when I click on a link to an
2025 May 19
1
Very odd issue getting "Input/output error" running shiny app from index.html locally but same shiny on my server working fine
[forgot to hit reply-all]
Hi Chris,
When I have encountered similar sounding problems in the past I was able to
work around them as follows.
Instead of running rstudio locally, I run rstudio-server locally and then
in a browser I enter the URL http://localhost:8787/
HTH,
Eric
On Mon, May 19, 2025 at 6:21?PM Eric Berger <ericjberger at gmail.com> wrote:
> Hi Chris,
> When I have
2020 Oct 14
1
Can anyone advise me on running R and Rstudio on an AWS virtual machine
This is a funny one and if it's off topic here, I would be grateful if I could be guided to where it would be on topic. I have done some searching but not very successfully so far.
Situation: I am doing some analyses of data that are stored in a postgres database in the AWS cloud and using the RJDBC and dplyr packages for the specifics of yanking the data to my own machine. They work and
2009 Aug 13
1
R code to reproduce (while studying) Bates & Watts 1988
Hi R users,
I'm here trying to understand correlated residuals in nonlinear estimation.
I'm reading/studying the book Bates, D. M. and D. G. Watts, (1988),
/Nonlinear regression analysis and its applications/, Wiley, NY. pages
92-94, trying to reproduce the figures and to find out the code in R to
perform the necessary calculations.
I also consulted Pinheiro and Bates, but without
2017 Oct 20
0
[FORGED] can't print ggplot with Chinese characters to pdf files
Hi,
Following Paul's instruction, I have installed the Cairo. I tried to run
the program, and there is no error message at all. I did see the Chinese
title in the plot if I ask my RStudio to show the plot (if I type "p1"),
but the pdf file shows the plots without the Chinese titles.
library(ggplot2)
library(gridExtra)
df1<-data.frame(x=1:2, y=3:4, z=5:6)
#p1<-ggplot(df1,
2017 Oct 12
2
can't print ggplot with Chinese characters to pdf files
I install the Chinese font "Kaiti TC" on my mac, but I can't print the
figures to pdf file by "marrangeGrob" command, which is in the package
"gridExtra". Error message after I type "ggsave(......)" (last line of the
program):
"Saving 7.47 x 5.15 in image
Error in grid.Call.graphics(L_text, as.graphicsAnnot(x$label), x$x, x$y, :
invalid font
2017 Oct 13
0
[FORGED] can't print ggplot with Chinese characters to pdf files
Thanks, Paul. Following your solution, I got this error message:
Warning message:
In cairo_pdf("test_plot_chinese.pdf") : failed to load cairo DLL
Is there anything else I need to install?
Thanks,
John
2017-10-12 19:24 GMT-07:00 Paul Murrell <paul at stat.auckland.ac.nz>:
> Hi
>
> Instead of ...
>
> ggsave("test_plot_chinese.pdf", m2)
>
> ...
2005 Apr 28
0
(Fwd) Re: your membership of the AFT Email list
Totally understood. If you remain "on vacation" (we wish eh?!) and
get further messages like that from the list s'ware, just accept my
standing apologies and delete them.
Very welcome re letter!
Very best,
Chris
------- Forwarded message follows -------
Send reply to: "Alana O'C" <alanaoc at internode.on.net>
From: "Alana O'C"
2017 Oct 13
1
[FORGED] can't print ggplot with Chinese characters to pdf files
Hi
Instead of ...
ggsave("test_plot_chinese.pdf", m2)
... try ...
cairo_pdf("test_plot_chinese.pdf")
print(m2)
dev.off()
Paul
On 13/10/17 02:12, John wrote:
> I install the Chinese font "Kaiti TC" on my mac, but I can't print the
> figures to pdf file by "marrangeGrob" command, which is in the package
> "gridExtra". Error message
2007 Oct 12
0
Utility data uploading functions prior to analysing data using CGIwithR
Dear all,
I am developing a small suite of cgi-bin programs on my server that help
provide some things that statistical/psychometric beginners may find
helpful and which are aren't widely available. Some early e.g.s are:
http://www.psyctc.org/stats/R/multirater.html
http://www.psyctc.org/stats/R/CSC1.html
and I'll be adding more to http://www.psyctc.org/stats/ and some that
will be
2019 Jan 12
1
Installing Rstudio and shiny free server on Debian
----- Original Message -----
> From: "Dirk Eddelbuettel" <edd at debian.org>
> To: "Chris Evans" <chrishold at psyctc.org>
> Cc: "r-sig-debian" <r-sig-debian at r-project.org>
> Sent: Saturday, 12 January, 2019 21:23:46
> Subject: Re: [R-sig-Debian] Installing Rstudio and shiny free server on Debian
> On 12 January 2019 at 20:30,
2019 Jan 21
2
r-api-3 with R 3.5.2. on Stretch: is there a workaround?
Now that I am at least mapping the right repository to my Debian version (doh!) I have another question. In the installation page at https://cran.r-project.org/bin/linux/debian/#debian-stretch-stable there is the line:
"Please note that R packages from the Debian stretch distribution are not compatible with R 3.5.x, as it provides r-api-3.5, while the stretch packages depend on
2019 Jan 22
2
So nearly there, but can't install rJava
Wow, this has amplified my respect and gratitude for the R Debian repositories. Doing all the install.packages() and following the clues about missing dependencies has taken hours! However, I have almost all the packages I want installed on this machine and Rstudio and the shiny server are installed and running fine. Bizarrely, to my mind, I am totally failing on rJava and hence a number of
2006 Mar 16
3
lattice tick marks
Hi,
why doesn't this work properly when 'positions' is a vector of strings? All
the data sets get totally mixed...
positions <- rep ( c("1","2","3","4","5","6","9","10","11","12","13","14",
"error", "no trial"), 45 )
compound <- matrix(
2017 Oct 16
0
[FORGED] can't print ggplot with Chinese characters to pdf files
Hi,
Sorry to bother you with this question here.
I tried to install Macports on my Mac OS Sierra, and type "sudo port
install cairo", but it did not respond. I haven't seen any file name or app
called Macports, but one file called "port" which is located at
loca/bin/port"
How should I do it?
Thanks,
John
*******
Last login: Sun Oct 15 02:52:49