Knitr problem

jcredberry at gmail.com jcredberry at gmail.com
Fri Nov 20 23:43:10 UTC 2020


Dear all,

I am currently working on an old Beamer document that used to work
flawlessly. This document has several slides with R code via knitr. It
seems knitr cannot load some libraries that are installed in my R (4.0.3):

library("BSDA")
## Error in library("BSDA"): there is no package called ’BSDA’

Or while trying to run a snippet with ggplot2:

library(ggplot2)
ggplot(data=datos2)+
geom_density(aes(x=value,
colour=variable,
fill=variable),alpha=0.2)
## Error in loadNamespace(name): there is no package called ’farver’

Any ideas? Again, all the packages are installed and running.

Thanks in advance. Regards,
Julio Rojas
jcredberry at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20201120/1f2fd492/attachment.html>


More information about the lyx-users mailing list