Avi
-Original Message-
From: R-help mailto:r-help-boun...@r-project.org> > On Behalf Of Kai Yang via R-help
Sent: Thursday, August 26, 2021 11:53 AM
To: R-help Mailing List mailto:r-help@r-project.org> >
Subject: [R] ggplot error of "`data` must be a data frame, or other o
indeed load more packages …
From: John C Frain
Sent: Thursday, August 26, 2021 3:17 PM
To: Kai Yang
Cc: r-help@r-project.org; Avi Gross
Subject: Re: [R] ggplot error of "`data` must be a data frame, or other object
coercible by `fortify()`, not an S3 object with class rxlsx"
ta frame or
> something it can change into a data.frame. What you gave it probably is an
> object meant to represent an EXCEL file or something. You may need to
> extract a data.frame (or tibble or ...) from it before passing that to
> ggplot.
>
> Avi
>
> -Original Message
)
>
> As the message states, it expects that argument to be a data frame or
> something it can change into a data.frame. What you gave it probably is an
> object meant to represent an EXCEL file or something. You may need to
> extract a data.frame (or tibble or ...) from it before passing
it can change into a data.frame. What you gave it probably is an
> object meant to represent an EXCEL file or something. You may need to
> extract a data.frame (or tibble or ...) from it before passing that to
> ggplot.
>
> Avi
>
> -Original Message-
> From: R-help
m it before passing that to ggplot.
Avi
-Original Message-
From: R-help On Behalf Of Kai Yang via R-help
Sent: Thursday, August 26, 2021 11:53 AM
To: R-help Mailing List
Subject: [R] ggplot error of "`data` must be a data frame, or other object
coercible by `fortify()`, not an S3
om: R-help On Behalf Of Kai Yang via R-help
Sent: Thursday, August 26, 2021 11:53 AM
To: R-help Mailing List
Subject: [R] ggplot error of "`data` must be a data frame, or other object
coercible by `fortify()`, not an S3 object with class rxlsx"
Hello List,
I got an error message when I
ust 26, 2021 11:53 AM
To: R-help Mailing List
Subject: [R] ggplot error of "`data` must be a data frame, or other object
coercible by `fortify()`, not an S3 object with class rxlsx"
Hello List,
I got an error message when I submit the code below ggplot(eth, aes(ymax=ymax,
ymin=y
The class of 'eth' must be incorrect. You could try 'as.data.frame' or
possibly 'as.list' to convert 'eth' to an acceptable form.
On Thu, Aug 26, 2021, 11:53 Kai Yang via R-help
wrote:
> Hello List,
> I got an error message when I submit the code below
> ggplot(eth, aes(ymax=ymax, ymin=ymin, xma
eth is not a dataframe but of the class rxlsx. You'll need to convert eth
into a dataframe.
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND
FOREST
Team Biometrie & Kwaliteitszorg /
Hello List,
I got an error message when I submit the code below
ggplot(eth, aes(ymax=ymax, ymin=ymin, xmax=4, xmin=3, fill=ethnicity)) +
geom_rect() + coord_polar(theta="y") + xlim(c(2, 4) )
Error: `data` must be a data frame, or other object coercible by `fortify()`,
not an S3 object wit
I get the same result as Eric withR version 3.4.2 (2017-09-28)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 17.04
It looks like you have "tidyverse" loaded so I tried it with just ggplot2
loaded and with tidyverse loaded.
On Wednesday, November 8, 2017, 4:16:14 AM EST, Eri
Thanks,
I think, I found the problem. It seems to related locale setting.
If I start with 'LANG=C R' everything's good.
--
Zeki Çatav
zekicatav.com
On Nov 8, 2017 1:56 PM, "John Kane" wrote:
I get the same result as Eric with
R version 3.4.2 (2017-09-28)
Platform: x86_64-pc-linux-gnu (64-bit)
I was not able to reproduce this problem. I tried two environments
1. Ubuntu 14.04.5 LTS, R version 3.4.2 (same R version as yours)
2. Windows 10, same R version
On Wed, Nov 8, 2017 at 9:50 AM, Zeki ÇATAV wrote:
> Hello,
> I've an error recently.
>
> ggplot(data = mtcars, aes(x= wt, y= mpg)) +
Hello,
I've an error recently.
ggplot(data = mtcars, aes(x= wt, y= mpg)) + geom_line()
Error: Found object is not a stat.
> sessionInfo()
R version 3.4.2 (2017-09-28)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.3 LTS
Matrix products: default
BLAS: /usr/lib/openblas-base/li
15 matches
Mail list logo