Try running this in a code cell before the installation of the topicmodels
package.
system2('sudo', 'apt-get install libgsl0-dev')
This installs a required library in the Unix environment of Colab that you would normally install from a command prompt like this.
sudo apt-get install libgsl0-dev
In Python notebooks, you would do this.
!sudo apt-get install libgsl0-dev
But this doesn't seem to work in R notebooks so the system2
call does the work.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…