Having trouble installing 'lavaan'

1,670 views
Skip to first unread message

Courtney Coon

unread,
Dec 5, 2013, 11:10:07 AM12/5/13
to lav...@googlegroups.com
I have the most up to date version of R but not able to install the package. 

>
install.packages("lavaan", dependencies=TRUE) Warning in install.packages : cannot open: HTTP status was '404 Not Found' Warning in install.packages : cannot open: HTTP status was '404 Not Found' Warning in install.packages : unable to access index for repository http://www.revolution-computing.com/cran/bin/windows/contrib/3.0 Warning in install.packages : package ‘lavaan’ is not available (for R version 3.0.1)

Doesn't work when I save the zipped file from http://cran.r-project.org/web/packages/lavaan/ and then install either.
> install.packages("~/R/win-library/3.0/lavaan_0.5-15.tar.gz", repos = NULL, type = "source")
Warning in install.packages :
  cannot open: HTTP status was '404 Not Found'
Warning in install.packages :
  cannot open: HTTP status was '404 Not Found'
Warning in install.packages :
  unable to access index for repository http://www.revolution-computing.com/cran/bin/windows/contrib/3.0
Warning in install.packages :
  package ‘~/R/win-library/3.0/lavaan_0.5-15.tar.gz’ is not available (for R version 3.0.1)

Any suggestions?

ya

unread,
Dec 5, 2013, 11:20:35 AM12/5/13
to lavaan
hi
 
try only:

> install.packages("lavaan")
 

ya
--
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 http://groups.google.com/group/lavaan.
For more options, visit https://groups.google.com/groups/opt_out.

Courtney Coon

unread,
Dec 5, 2013, 11:22:59 AM12/5/13
to lav...@googlegroups.com, xinxi813
I get the same warning messages with that code too.

yrosseel

unread,
Dec 5, 2013, 1:37:01 PM12/5/13
to lav...@googlegroups.com
On 12/05/2013 05:10 PM, Courtney Coon wrote:
> Warning in install.packages : unable to access index for repository
> http://www.revolution-computing.com/cran/bin/windows/contrib/3.0
> Warning in install.packages : package �lavaan� is not available (for
> R version 3.0.1)

Are you using an R version from the 'Revolution analytics' company? In
that case, please contact them and complain.

You could try using a different repository, for example:

install.packages("lavaan", repos="http://cran.at.r-project.org/")

If this fails, I would urge you to install a 'regular' version of R. You
can download it from http://cran.r-project.org/

Let us know if it works,

Yves.

Courtney Coon

unread,
Dec 5, 2013, 1:52:22 PM12/5/13
to lav...@googlegroups.com
Yves,
I got it downloaded to R studio with the code you suggested: install.packages("lavaan", repos="http://cran.at.r-project.org/").
Thanks!
courtney
Reply all
Reply to author
Forward
0 new messages