Cannot find function "graph_from_adjacency_matrix"

Dear, Colleagues

I am doing microbiome analysis.

Educational article

And at this point I am getting the error.

net.grph = graph.adjacency (adjm, mode = “undirected”, weighted = TRUE, diag = FALSE)
Error in graph.adjacency (adjm, mode = “undirected”, weighted = TRUE, diag = FALSE):
cannot find function “graph.adjacency”

It doesn’t help either

net.grph = graph_from_adjacency_matrix(adjm, mode = “undirected”, weighted = TRUE, diag = FALSE)

cannot find function “graph_from_adjacency_matrix”

Please tell me what could be the problem?
R-studio 1.2.5042
R version 3.6.3 (2020-02-29)
igraph 1.2.5

You must load igraph, library(igraph). Any R package must be loaded before it can be used.

Thanks for the answer. This is the problem, I know to install and run the package first. I did it.

I solved the problem. Need to upgrade to R 4.0.2 R-studio 1.2.5042