Displaying 20 results from an estimated 1974 matches for "ggplot2's".
2019 Jun 30
2
problema con ggplot2
Hace tiempo que utilizo ggplot2, pero después de haber instalado
varios paquetes nuevos, al cargarlo (library(ggplot2)) me da este error:
Error: package or namespace load failed for ?ggplot2? in
loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck =
vI[[j]]):
namespace ?pkgconfig? 2.0.1 is being loaded, b...
2009 Apr 01
2
help with ggplot2 -- ggpoint function missing?
I'm trying to follow the ggplot introduction here:
http://had.co.nz/ggplot/ggplot-introduction.pdf
I've installed ggplot2 with install.packages("ggplot2", dep=T)
but when I try to run
print(ggpoint(p, list(colour = sex)))
I get an error:
Error in print(ggpoint(p, list(colour = sex))) :
could not find function "ggpoint"
What is the problem? Has the function been renamed in the ggplot -> ggplo...
2010 Feb 08
3
ggplot2 stacked line plot
Hi all,
I have been hunting around for hours trying to figure out how to
generate a stacked line chart using ggplot2. This type of chart can be
generated in excel 2007 by selecting: Chart type > Line > Stacked
line. I can generate a stacked area chart using the following code:
p <- ggplot2(~, aes(x = ~, y = ~, colour = Type)) +
geom_area(aes(position = 'stack', fill = Type))
However, when I...
2014 Dec 23
2
CRAN and ggplot2 geom and stat extensions
I am thinking about adding several geom and stat extensions to ggplot2
in the Hmisc package. To do this requires using non-exported ggplot2
functions as discussed in
http://stackoverflow.com/questions/18108406/creating-a-custom-stat-object-in-ggplot2
If I use the needed ggplot2::: notation the package will no longer pass
CRAN checks. Does anyone know of a solut...
2007 Jun 17
1
[ggplot2] Change color of grid lines
Hi,
I am making myself familiar with ggplot2 (I really like the examples
at <http://had.co.nz/ggplot2/>).
One thing that really annoys me is the default use of white grid
lines and a gray background [1, 2]. I simply would like to have black
grid lines and a white background. No problem, I thought, "This is R.
There is no if....
2016 Oct 26
2
improve 'package not installed' load errors?
...16 -0400 writes:
> On 24/10/2016 1:51 PM, Kevin Ushey wrote:
>> Hi R-devel,
>>
>> One of the more common issues that new R users see, and become stumped
>> by, is error messages during package load of the form:
>>
>> > library(ggplot2)
>> Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()),
>> versionCheck = vI[[j]]) :
>> there is no package called 'Rcpp'
>> Error: package or namespace load failed for 'ggplot2'
>>
>> Typically, error message...
2016 Jul 13
2
par() y ggplot2
Hola.
Tengo 4 gráficos:
a <- qqnorm(total$ImpTotal) #con lattice
y b, c y d son variaciones de este tipo?, creados con ggplot2:
?b <- g <- ggplot(data = total, aes(x=ImpTotal, fill=Convenio))
g + geom_histogram(binwidth = 90) ?
Los quiero representar de la forma:
par(mfrow=c(2,2))
a
b
c
d
Pero los que crea con ggplot2 aparecen en par(mfrow=c(1,1)), es decir:
ignora la instrucción.
¿No puedo forzar a ggplot2 a que m...
2012 Nov 27
2
install the ggplot2 package
Has one try to install the ggplot2 package recently? I tried to install
it on my new system and had trouble:
I tried a different CRAN mirror but didn't work
library(ggplot2)
Error in loadNamespace(i, c(lib.loc, .libPaths())) :
there is no package called ?stringr?
In addition: Warning message:
package ?ggplot2? was built...
2018 Jan 10
2
Error installing ggplot2 package
DeaR Forum,
I am trying to install the library ggplot2.?
Currently I am using following R version
R version 3.4.1 (2017-06-30) -- "Single Candle"Copyright (C) 2017 The R Foundation for Statistical ComputingPlatform: x86_64-w64-mingw32/x64 (64-bit)
However, when I try to install ggplot2 and few other packages, I am getting following error.
&g...
2014 Sep 01
1
ggplot2/plyr interaction with latest R-devel?
I apologize in advance for not having done more homework in advance,
but thought I would send this along to see if anyone else was seeing this.
I am having some sort of ggplot2/plyr/very-recent-R-devel dependency
issues.
Just installed
R Under development (unstable) (2014-09-01 r66509) -- "Unsuffered
Consequences"
from source.
> packageVersion("ggplot2")
[1] ?1.0.0?
> packageVersion("plyr")
[1] ?1.8.1?
library(plyr) works
but...
2011 Feb 17
3
ggplot2, 'se' variable in geom_errorbar's limits?
Dear R-list
I'm working with with geom_errorbar; specifically I'm trying to
reproduce the example Hadley Wickham have on
http://had.co.nz/ggplot2/geom_errorbar.html (all in the button of the
page) where he makes an nice plot with errorbars and then draw lines
between the points.
What confuses me is the 'limits' he defines for the errorbars from the
se variable.
First he creates a dataset,
df <- data.frame(
trt = factor(c(1, 1...
2017 Oct 30
2
R: dplyr, doBy, and ggplot2 in CentOS7
I have a R script that I am running from python with rpy2. On a debian
system I run this:
apt-get install R-cran-ggplot2 R-cran-caret
And the script works. I want to move this to CentOS 7 system. There it
cannot find R-cran-ggplot2 or R-cran-caret. Does anyone know what
packages in CentOS 7 I need for dplyr, doBy, and ggplot2?
2018 Jan 15
0
Steps to create spatial plots
...number of rows and
> columns, and grid cell size. How to create spatial plot of elevations for
> the grid cells, in color ramp? Should I create a spatial grid layer with
> all the polygons first? Thanks.
>
> --
> --
> You received this message because you are subscribed to the ggplot2
> mailing list.
> Please provide a reproducible example: https://github.com/hadley/
> devtools/wiki/Reproducibility
>
> To post: email ggplot2 at googlegroups.com
> To unsubscribe: email ggplot2+unsubscribe at googlegroups.com
> More options: http://groups.google.com/group/ggpl...
2009 Jun 02
2
Adding a method to a generic in another package
...'. A user wants to make nberShade generic, with the old version
renamed as nberShade.default, all of which is fine with me. And he wants to
add a new method, nberShade.ggplot, which works for objects of class ggplot.
He also wants to add a method fortify.tis for the generic fortify defined in
ggplot2.
The nberShade.ggplot method uses a bunch of other functions from the ggplot2
package, and it's first line is
require("ggplot2")
>From what he tells me, this function works.
Where I'm having trouble is figuring out what I have to do to get the tis
package to pass R CMD c...
2012 Mar 22
5
Ubuntu Lucid, R 2.14.2, and ggplot2
I've just updated to the latest R (2.14.2) on my Ubuntu Lucid box, and now the ggplot2 installed as a .deb package fails to work.
$ R -e 'library(ggplot2)'
Error in library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc = lib.loc) :
package ?proto? does not have a NAMESPACE and should be re-installed
Calls: library -> .getRequiredPackages2 -> library
Exe...
2009 May 07
1
I updated/reinstalled ggplot2 and the trouble started...
Hi Ian,
Per your suggestion, I reinstalled R 2.9.0, then
I reinstalled ggplot2 on top. The problem persists.
Here's the what happens after the installation:
> qplot (carat, price, data = diamonds, alpha = I(1/10))
Warning message:
In grid.Call.graphics("L_points", x$x, x$y, x$pch, x$size) :
semi-transparency is not supported on this device: repor...
2018 Jan 15
4
Steps to create spatial plots
Hi users,
I have no clear clue about plotting spatial data. For example, I just have
a table with attribute values of each grid cell, such as elevation. Then I
have coordinates of the upper left corner in UTM, the number of rows and
columns, and grid cell size. How to create spatial plot of elevations for
the grid cells, in color ramp? Should I create a spatial grid layer with
all the polygons
2011 Mar 02
1
trouble loading ggplot2 using R
I'm having trouble loading ggplot2 on my mac (Snow Leopard) using R version
2.12.1, as shown below. I can't find a posting relevant to this problem, so
any help would be very much appreciated. Thanks,
peter l
> install.packages('ggplot2', dep = TRUE)
trying URL
'http://cran.cnr.Berkeley.edu/bin/macosx/leopar...
2013 Apr 02
1
R 14.0, ggplot2: could not find function "initRefFields"
Hi,
I have a problem combining R and SPSS (21). I do not know whether the
solution is in R or in spss, so I will post both in the R group and in the
SPSS group.
I use the R plugin in spss(21). The most important reason to use this
plugin is ggplot2 (spss does not have a decent graphical system). This
plugin requires R 14.0 (14.2 or 15 does not work).
When I install R it gives an warning:
> library(ggplot2)
Warning message:
package ‘ggplot2’ was built under R version 2.14.2
After that, when i use gplot2:
> ggplot()+geom_bar(aes(x=factor...
2012 Mar 05
2
ggplot2
I just updated to R 2.14 with ggplot2 0.9 and am finding bugs.
> ggplot2 "GPL-2" "2.14.0"
This example is taken from pg 101 in the ggplot book.
> plot <- qplot(date, psavert, data = economics, geom = "line") +
> ylab("Personal savings rate") + geom_hline(xintercep...