install.packages("C:/Users/Imran/Downloads/lavaan_0.6-3.zip", repos = NULL, type = "win.binary")
Installing package into ‘C:/Users/Imran/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
package ‘lavaan’ successfully unpacked and MD5 sums checked
Hi Imran,
What is the error message? What happens when you run:
library(lavaan)
What’s the output from the following
R.version
--
You received this message because you are subscribed to the Google Groups "lavaan" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lavaan+un...@googlegroups.com.
To post to this group, send email to lav...@googlegroups.com.
Visit this group at https://groups.google.com/group/lavaan.
For more options, visit https://groups.google.com/d/optout.
install.packages("lavaan")
Installing package into ‘C:/Users/Imran/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/lavaan_0.6-3.zip'
Content type 'application/zip' length 2640771 bytes (2.5 MB)
downloaded 2.5 MB
package ‘lavaan’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\Imran\AppData\Local\Temp\Rtmp02mdp6\downloaded_packages

> library(lavaan)
Error: package or namespace load failed for ‘lavaan’ in runHook(".onLoad", env, package.lib, package):
lazy-load database 'C:/Users/Imran/Documents/R/win-library/3.5/mnormt/R/mnormt.rdb' is corrupt
In addition: Warning message:
In runHook(".onLoad", env, package.lib, package) :
internal error -3 in R_decompress1What is your version or R? Can you load any packages that you've installed? For example, does
install.packages("car")
library(car)
Work? If this fails, this seems like a Windows problem. Also,
note that lavaan requires a newer version of R (R >= 3.4). So,
if you have an old version of R that could be the problem, too.
Chris