I update R and now it does work fine. Thanks

On Wed, Mar 28, 2012 at 2:50 PM, Antonio P. Ramos <
ramos.grad.student@gmail.com> wrote:

> Through the terminal, it doesn't work either:
>
> Type 'demo()' for some demos, 'help()' for on-line help, or
> 'help.start()' for an HTML browser interface to help.
> Type 'q()' to quit R.
>
> > dir()
> [1] "coefplot.R" "coeftab.R"  "utils.R"
> > source("utils.R")
> > source("coeftab.R")
> > source("coefplot.R")
> in method for ‘coefplot2’ with signature ‘object="mer"’: no definition for
> class "mer"
> in method for ‘coefplot2’ with signature ‘object="merMod"’: no definition
> for class "merMod"
> in method for ‘coefplot2’ with signature ‘object="bmer"’: no definition
> for class "bmer"
>
> so the problem is that I need to update, right?
>
>
> On Wed, Mar 28, 2012 at 2:42 PM, Ben Bolker <bbolker@gmail.com> wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 12-03-28 05:36 PM, Antonio P. Ramos wrote:
>> > still not working: I may have to update R:
>> >
>> >> install.packages("coefplot2",repos="
>> http://www.math.mcmaster.ca/bolker/R")
>> >
>> >>
>> Installing package(s) into ‘/Users/tournillon/Library/R/2.12/library’
>> > (as ‘lib’ is unspecified) Warning in install.packages : dependency
>> > ‘lme4.0’ is not available trying URL '
>> >
>> http://www.math.mcmaster.ca/bolker/R/bin/macosx/leopard/contrib/2.12/coefplot2_0.1.3.tgz
>> >
>> >
>> '
>>
>>  OK, I see the problem, although I'm not sure I can fix it.  Here's
>> the next thing to try: just save the three attached files and run
>>
>> source("utils.R")
>> source("coeftab.R")
>> source("coefplot.R")
>>
>>  you won't have access to any of the help pages etc., but the
>> functions should (probably?) work ...
>>
>>  Ben Bolker
>>
>>
>>
>> > Content type 'application/x-gzip' length 45417 bytes (44 Kb) opened
>> > URL ================================================== downloaded
>> > 44 Kb
>> >
>> >
>> > The downloaded packages are in
>> >
>> /var/folders/fl/ckbqsv051f1fj4njt__g9thw0000gn/T//RtmpsSYjxA/downloaded_packages
>> >>
>> >
>> library(coefplot2)
>> > Error in loadNamespace(imp[[1L]], c(lib.loc, .libPaths())) : there
>> > is no package called 'lme4.0' In addition: Warning message: package
>> > 'coefplot2' was built under R version 2.14.1 Error:
>> > package/namespace load failed for 'coefplot2'
>> >>
>> >
>> >
>> > On Wed, Mar 28, 2012 at 2:26 PM, Ben Bolker <bbolker@gmail.com>
>> > wrote:
>> >
>> > On 12-03-28 04:23 PM, Antonio P. Ramos wrote:
>> >>>> nope :(
>> >>>>
>> >
>> > OK, now you have another problem, which is that r-forge only makes
>> > binaries available for the most recent major release of R (2.14.x,
>> > although 2.15 is to be released in another few days ...).  It's
>> > kind of a pain for package & repository maintainers (like me) to
>> > deal with older versions of R, so in the long run it may be best if
>> > you can update to the latest version (although you might just want
>> > to wait a couple of days and get 2.15 when it is released ...)
>> >
>> > I've attempted to put a binary version of coefplot2 up on the
>> > mcmaster site, so that you should be able to do
>> > install.packages("coefplot2",repos="
>> http://www.math.mcmaster.ca/bolker/R")
>> >
>> >
>> [i.e. without type="source"]
>> >
>> > Ben Bolker
>> >
>> >
>> >>>>> install.packages("lme4.0",repos="http://r-forge.r-project.org")
>> >>>>
>> >>>>>
>> Installing package(s) into
>> >>>> ‘/Users/tournillon/Library/R/2.12/library’ (as ‘lib’ is
>> >>>> unspecified) 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://r-forge.r-project.org/bin/macosx/leopard/contrib/2.12
>> >>>> Warning in install.packages : package ‘lme4.0’ is not
>> >>>> available
>> >>>>> install.packages("coefplot2",
>> >>>> +
>> >>>> repos="http://www.math.mcmaster.ca/bolker/R ",type="source")
>> >>>> Installing package(s) into
>> >>>> ‘/Users/tournillon/Library/R/2.12/library’ (as ‘lib’ is
>> >>>> unspecified) Warning in install.packages : dependency
>> >>>> ‘lme4.0’ is not available trying URL '
>> >>>>
>> http://www.math.mcmaster.ca/bolker/R/src/contrib/coefplot2_0.1.3.tar.gz'
>> >>>>
>> >>>>
>> >
>> >>>>
>> Content type 'application/x-gzip' length 616170 bytes (601 Kb)
>> >>>> opened URL
>> >>>> ================================================== downloaded
>> >>>> 601 Kb
>> >>>>
>> >>>> ERROR: dependency ‘lme4.0’ is not available for package
>> >>>> ‘coefplot2’ * removing
>> >>>> ‘/Users/tournillon/Library/R/2.12/library/coefplot2’ Warning
>> >>>> in install.packages : installation of package 'coefplot2' had
>> >>>> non-zero exit status
>> >>>>
>> >>>> The downloaded packages are in
>> >>>>
>> >
>> ‘/private/var/folders/fl/ckbqsv051f1fj4njt__g9thw0000gn/T/RtmpsSYjxA/downloaded_packages’
>> >>>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >
>> On Wed, Mar 28, 2012 at 1:14 PM, Ben Bolker <bbolker@gmail.com>
>> >>>> wrote:
>> >>>>
>> >>>> Try
>> >>>>
>> >>>> install.packages("lme4.0",repos="http://r-forge.r-project.org")
>> >>>>
>> >>>>
>> install.packages("coefplot2",
>> >>>> repos="http://www.math.mcmaster.ca/bolker/R",type="source")
>> >>>>
>> >>>>
>> >>>> On 12-03-28 03:52 PM, Antonio P. Ramos wrote:
>> >>>>>>> Hi Ben,
>> >>>>>>>
>> >>>>>>> I am trying to install your package but it is not
>> >>>>>>> working:
>> >>>>>>>
>> >>>>>>>> install.packages("coefplot2",repos="
>> >>>> http://www.math.mcmaster.ca/bolker/R
>> >>>>>>>
>> >>>>>>>>
>> >>>> ",type="source")
>> >>>>>>> Installing package(s) into
>> >>>>>>> ‘/Users/tournillon/Library/R/2.12/library’ (as ‘lib’
>> >>>>>>> is unspecified) Warning: dependency ‘lme4.0’ is not
>> >>>>>>> available trying URL '
>> >>>>>>>
>> > http://www.math.mcmaster.ca/bolker/R/src/contrib/coefplot2_0.1.3.tar.gz
>> '
>> >>>>>>>
>> >>>>>>>
>> >>>>
>> >>>>>>>
>> >
>> >
>> Content type 'application/x-gzip' length 616170 bytes (601 Kb)
>> >>>>>>> opened URL
>> >>>>>>> ==================================================
>> >>>>>>> downloaded 601 Kb
>> >>>>>>>
>> >>>>>>> ERROR: dependency ‘lme4.0’ is not available for
>> >>>>>>> package ‘coefplot2’ * removing
>> >>>>>>> ‘/Users/tournillon/Library/R/2.12/library/coefplot2’
>> >>>>>>>
>> >>>>>>>
>> >>>>>>> Then I tried
>> >>>>>>>
>> >>>>>>> install.packages("lme4.0") Installing package(s) into
>> >>>>>>> ‘/Users/tournillon/Library/R/2.12/library’ (as ‘lib’
>> >>>>>>> is unspecified) Warning message: In
>> >>>>>>> getDependencies(pkgs, dependencies, available, lib) :
>> >>>>>>> package ‘lme4.0’ is not available
>> >>>>>>>
>> >>>>>>> but it does not work either. Am I missing something? I
>> >>>>>>> do have lme4 installed though.
>> >>>>>>>
>> >>>>>>>
>> >>>>>>> On Wed, Mar 28, 2012 at 10:36 AM, Ben Bolker
>> >>>>>>> <bbolker@gmail.com> wrote:
>> >>>>>>>
>> >>>>>>>>
>> >>>>>>>> For general information:
>> >>>>>>>>
>> >>>>>>>> I am still struggling to get R-forge to build
>> >>>>>>>> everything. glmmADMB 0.7.2.11 , and coefplot2 0.1.3
>> >>>>>>>> (on which it generally depends, although I have
>> >>>>>>>> removed the dependence for the moment) should be
>> >>>>>>>> available on the McMaster repository (via
>> >>>>>>>> install.packages(...,repos="http://www.math.mcmaster.ca/bolker/R
>> >>>>>>>>
>> >>>>>>>>
>> >
>> >>>>>>>>
>> ",type="source") for now.  I will get stuff working on R-forge as
>> >>>>>>>> fast as I can, but remote debugging is a big
>> >>>>>>>> nuisance.
>> >>>>>>>>
>> >>>>>>>> Do let me know if you experience difficulty with
>> >>>>>>>> installation (continue to direct general questions to
>> >>>>>>>> the lists; generally r-sig-mixed-models is best for
>> >>>>>>>> GLMM- or R-focused questions, ADMB list should be
>> >>>>>>>> reserved for technical ADMB questions).
>> >>>>>>>>
>> >>>>>>>> Ben Bolker
>> >>>>>>>>
>> >>>>>>>> _______________________________________________
>> >>>>>>>> R-sig-mixed-models@r-project.org mailing list
>> >>>>>>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
>> >>>>>>>>
>> >>>>>>>
>> >>>>
>> >>>>>
>> >>>>
>> >
>> >>>>>>>>
>> >>
>> >
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.10 (GNU/Linux)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>
>> iQEcBAEBAgAGBQJPc4XfAAoJED2whTVMEyK9kIMH/it1+CE/SkpqP8h5flll2DTf
>> ko2EaJw89M5TBwPGmTxn0TCI9TV7Q8T5/TdDQbHjO/Ovtt/XEm2JgZU+JhmrGENH
>> /stfhtF6cDg2ol16SZAb9HxPKl5u0IykzcJkizWFqa46K/QL9TKIqCuAwbWY8HqN
>> 4x0ncyvXmTQQnAzfyQdczLlMWCKKqM0OmYhooTHwiwur4R6zmIiZ7gjo4Jz6aGSZ
>> wLZyZGj0Dta5WwuH6d+WFLwBrQq+gJ+UmgL4Sk0Lvm85Ai/MA4IhXHtEAqYXvvNd
>> TiHLoiUeGwK3NVfV+mLqmRDeIluDYQLdlbMlLhRaOHnj53wXJSieVMBFtPDvLfo=
>> =vstK
>> -----END PGP SIGNATURE-----
>>
>
>

	[[alternative HTML version deleted]]


