Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
$\begingroup$There are several possibilities to calculate the variance inflation factor. You could try the vif() function from the car package.$\endgroup$
$\begingroup$Multicollinearity is a property of the regressors, not the model, so you don't need to look for "multicollinearity in GLM" as opposed, say, to "multicollinearity in OLS". In addition, there are other measures of multicollinearity than VIF, like the condition indices and variance decomposition proportions of Belsley, Kuh & Welsch, so it would be good if you could edit your question - are you specifically interested in the VIF, or generally in detecting multicollinearity in R? (I also voted to close and move to stackoverflow.com, since this seems to be specifically about R.)$\endgroup$
$\begingroup$@Stephan Alternatively, we could take the appearance of this question on CV as a request for information about checking for multicollinearity among regressors (regardless of the computing platform), in which case your comment would be the start of good answer :-).$\endgroup$
vif()
function from thecar
package. $\endgroup$