<div dir="ltr"><div>Unfortunately that didn't work for me, however I may have been doing it wrong, I was using </div><div>assign(".find.package",func,envir=.GlobalEnv)<br></div><div><br></div><div>But I just looked at the R.app source</div>When we click "Package Manager"<div>it calls package.manager()</div><div>So you can just rewrite that function like this (notice the call to .find.package is replaced with find.package)</div><div>I might try putting this in my profile</div><div><br></div><div><div>package.manager <- function () </div><div>{</div><div> if (.Platform$GUI != "AQUA") </div><div> stop("this function is intended to work with the Aqua GUI")</div><div> loaded.pkgs <- .packages()</div><div> x <- library()</div><div> x <- x$results[x$results[, 1] != "base", ]</div><div> pkgs <- x[, 1]</div><div> pkgs.desc <- x[, 3]</div><div> is.loaded <- !is.na(match(pkgs, loaded.pkgs))</div><div> pkgs.status <- character(length(is.loaded))</div><div> pkgs.status[which(is.loaded)] <- "loaded"</div><div> pkgs.status[which(!is.loaded)] <- " "</div><div> pkgs.url <- file.path(find.package(pkgs), "html", "00Index.html")</div><div> load.idx <- .Call("pkgmanager", is.loaded, pkgs, pkgs.desc, </div><div> pkgs.url)</div><div> toload <- which(load.idx & !is.loaded)</div><div> tounload <- which(is.loaded & !load.idx)</div><div> for (i in tounload) {</div><div> cat("unloading package:", pkgs[i], "\n")</div><div> do.call("detach", list(paste("package", pkgs[i], sep = ":")))</div><div> }</div><div> for (i in toload) {</div><div> cat("loading package:", pkgs[i], "\n")</div><div> library(pkgs[i], character.only = TRUE)</div><div> }</div><div>}</div></div><div><br></div><div><br></div><div><br><br>On Tuesday, 15 April 2014 13:07:55 UTC+1, Witthoft, Carl G UTAS wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Just a thought, but what if you overload the defunct function in your .Globalenv ?
<br>
<br>.find.package<-function(<wbr>package, lib.loc = NULL, quiet = FALSE,
<br> verbose = getOption("verbose") ) find.package(package, lib.loc , quiet, verbose)
<br>
<br>I don't know whether that workaround will be "recognized" by the package manager.
<br>
<br>Message: 1
<br>Date: Tue, 15 Apr 2014 04:17:24 -0700
<br>From: James Eales <<a href="mailto:jeales@gmail.com" target="_blank" onmousedown="this.href='mailto:jeales@gmail.com';return true;" onclick="this.href='mailto:jeales@gmail.com';return true;">jeales@gmail.com</a>>
<br>To: <<a href="mailto:r-sig-mac@googlegroups.com" target="_blank" onmousedown="this.href='mailto:r-sig-mac@googlegroups.com';return true;" onclick="this.href='mailto:r-sig-mac@googlegroups.com';return true;">r-sig-mac@googlegroups.com</a>>
<br>Cc: <a href="mailto:r-sig-mac@r-project.org" target="_blank" onmousedown="this.href='mailto:r-sig-mac@r-project.org';return true;" onclick="this.href='mailto:r-sig-mac@r-project.org';return true;">r-sig-mac@r-project.org</a>
<br>Subject: Re: [R-SIG-Mac] R.app Package Manager Bug?
<br>Message-ID: <<a href="mailto:d5363dad-c90d-4277-a2de-e20ed2b272e9@googlegroups.com" target="_blank" onmousedown="this.href='mailto:d5363dad-c90d-4277-a2de-e20ed2b272e9@googlegroups.com';return true;" onclick="this.href='mailto:d5363dad-c90d-4277-a2de-e20ed2b272e9@googlegroups.com';return true;">d5363dad-c90d-4277-a2de-<wbr>e20ed2b272e9@googlegroups.com</a>>
<br>Content-Type: text/plain; charset="utf-8"
<br>
<br>+1
<br>I see this too, on both mavericks and ordinary mac build of R.app Its because R 3.1.0 has made ".find.package" a defunct function We'll need to wait for the R.app developers to change the code behind the package manager to use "find.package" instead of ".find.package"
<br>Hopefully it'll be a simple fix
<br>
<br>______________________________<wbr>_________________
<br>R-SIG-Mac mailing list
<br><a href="mailto:R-SIG-Mac@r-project.org" target="_blank" onmousedown="this.href='mailto:R-SIG-Mac@r-project.org';return true;" onclick="this.href='mailto:R-SIG-Mac@r-project.org';return true;">R-SIG-Mac@r-project.org</a>
<br><a href="https://stat.ethz.ch/mailman/listinfo/r-sig-mac" target="_blank" onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-sig-mac\46sa\75D\46sntz\0751\46usg\75AFQjCNEkqAlfGt1yZw-XSwiexZHN9YXtYA';return true;" onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-sig-mac\46sa\75D\46sntz\0751\46usg\75AFQjCNEkqAlfGt1yZw-XSwiexZHN9YXtYA';return true;">https://stat.ethz.ch/mailman/<wbr>listinfo/r-sig-mac</a>
<br></blockquote></div></div>