Open giorjet opened 8 years ago
as_rcdimple
is in the CRAN branch, and I cannot remember why @hrbrmstr elected not to merge the two. Can you devtools::install_github("hrbrmstr/waffle@cran")
and see if the function exists? Let me know.
Hi timelyportfolio
if I install in this way:
install.packages("waffle") or devtools::install_github("hrbrmstr/waffle@cran") the error is: Error: could not find function "as_rcdimple"
in this way:
devtools::install_github("hrbrmstr/waffle")
the error is:
Error in [[<-.data.frame
(*tmp*
, fml$left.name, value = NAreal) :
replacement has 1 row, data has 0 In addition: Warning message:
axis.ticks.margin
is deprecated. Please set margin
property of
axis.text
instead
sorry I'm quite new in programming
Il 29/02/2016 14:47, timelyportfolio ha scritto:
If I remember correctly, @hrbrmstr https://github.com/hrbrmstr removed the |as_rcdimple| for CRAN since |rcdimple| is not on CRAN. Can you `devtools::install_github("hrbrmstr/waffle") and see if the function exists? Let me know.
— Reply to this email directly or view it on GitHub https://github.com/timelyportfolio/rcdimple/issues/27#issuecomment-190217911.
Yes I did
I can prbly rejigger this with a dedicated "dimple" branch. Stay tuned!
On Mon, Feb 29, 2016 at 9:23 AM, timelyportfolio notifications@github.com wrote:
Ok, have you also devtools::install_github("timelyportfolio/rcdimple")?
— Reply to this email directly or view it on GitHub https://github.com/timelyportfolio/rcdimple/issues/27#issuecomment-190229080 .
I saw that right after I hit comment. Sorry.
np. Btw: I tapped you into a vegalite
question (apologies for the
intrusion). I only had a few mins to poke at it, but my usual hacks didn't
work (widget rendering in a loop)
On Mon, Feb 29, 2016 at 9:27 AM, timelyportfolio notifications@github.com wrote:
I saw that right after I hit comment. Sorry.
— Reply to this email directly or view it on GitHub https://github.com/timelyportfolio/rcdimple/issues/27#issuecomment-190230707 .
ok I wait thank you
@giorjet, this comes down to two failures on my part - confusion between two branches and not updating to work with newest ggplot2
. Sorry. Will let you know when I get sorted out.
thank you @timelyportfolio
@giorjet, this is a temporary solution in case you are in a rush.
# install waffle from CRAN
library(waffle)
library(rcdimple)
source("https://gist.githubusercontent.com/timelyportfolio/91e0b8c2b8cd4202baa2/raw/37663bf3de2168157e7f0c26a14422007ab843e8/as_rcdimple.R")
parts <- c( 80, 30, 20, 10 )
as_rcdimple( waffle( parts, rows=8) )
Thank You @timelyportfolio. another couple of questions: Is it possible have in the tooltip just the name of the group and the number and/or the percentage of the group? is it possible replace the squares with some icons like in this post
Hi @timelyportfolio, have you had a chance to looking to my question about improving the appearance of waffle charts? Do You think it is possible? Thanks in advance.
While technically possible, this probably would be best handled by a dedicated library. I know @ramnathv started one, but I don't think every posted. Also, this new repo d3-iconarray offers a lot of potential, and I plan to wrap soon once it stabilizes.
I will post a link to my js code. It is far from done, but if someone wants to wrap it up into an R package, I can help.
Hi, I'm trying to turn waffle static charts in interactive. This is my simple code:
install.packages("waffle") devtools::install_github("timelyportfolio/rcdimple") library(waffle) library(rcdimple) parts <- c( 80, 30, 20, 10 ) as_rcdimple( waffle( parts, rows=8) )
but It gives this error:
and if I install waffle in this way:
devtools::install_github("hrbrmstr/waffle")
the error is:Could You help me?