Has anybody ever used any extra packages for R installed in SageMathCell? I've tried to figure out how to use them and it seems that non of them are actually installed at the moment. Not sure if something has changed recently and they are not actually installed anymore or maybe something is off with permissions.
On Tuesday, 31 May 2022 at 10:35:56 UTC-6 [email protected] wrote: > Hellping a colleague with R in a Sage Cell, so I've chosen R as the > language and used the main site for the Sage Cell. i don't know R very > well and she doesn't know Sage very well. ;-) > > Code: > > age <- c(25, 30, 56) > gender <- c("male", "female", "male") > weight <- c(160, 110, 220) > mydata <- data.frame(age,gender,weight) > ggplot(mydata, aes(age,weight))+ geom_point() > > yields a traceback that ends in > > RRuntimeError: Error in ggplot(mydata, aes(age, weight)) : could not find > function "ggplot" > > I understood that the "ggplot2" library was pre-installed. > > > https://github.com/sagemath/sagecell/blob/master/contrib/vm/container_manager.py#L260 > > Can anybody see what I've got wrong? > > Thanks, > Rob > -- You received this message because you are subscribed to the Google Groups "sage-cell" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-cell/52fcf744-fe4e-4b13-8277-61c198f70bden%40googlegroups.com.
