thomasp85 / ggforce

Accelerating ggplot2
https://ggforce.data-imaginist.com
Other
917 stars 105 forks source link

Error in library(ggforce) : there is no package called ‘ggforce’ #239

Closed Jumabek closed 9 months ago

Jumabek commented 3 years ago

Hello,

I am using R with jupyter notebook (rpy2) and cannot solve this issue. Can anyone give at least pointers please?

%%R
library(tibble)
library(dplyr)
library(forcats)
library(tidyr)
library(purrr)
library(psych)
library(stringr)
library(ggforce)

THEME_DEFAULT <- theme_bw(
    base_size=12,
    base_family='Arial',
) +
theme(
    axis.title.x=element_text(colour="grey20",size=13,angle=0,hjust=.5,vjust=.5, face="bold"),
    axis.title.y=element_text(colour="grey20",size=13,angle=90,hjust=.5,vjust=1, face="bold"),
    axis.text.x=element_text(colour="grey20",size=11,angle=0,hjust=.5,vjust=.5),
    axis.text.y=element_text(colour="grey20",size=11,angle=0,hjust=.5,vjust=.5),
    strip.text.x=element_text(colour="grey20",size=13,angle=0,hjust=0.5,vjust=.25, face="bold"),
    strip.text.y=element_text(colour="grey20",size=13,angle=270,hjust=.5,vjust=.5, face="bold"),
    legend.title=element_text(colour="grey20",size=13,angle=0,hjust=0.5,vjust=.5,face="bold"),
    legend.position='top'
)

So far I tried

%%R
remove.packages(c("ggplot2","ggforce"))
install.packages('ggplot2', dependencies = TRUE)
install.packages('ggforce', dependencies = TRUE)
thomasp85 commented 2 years ago

it is hard to help without some more context - what kind of error are you seeing when trying to install ggforce?