packages "Check for Updates"

Fred's Avatar

Fred

06 Aug, 2012 06:11 AM

In "Packages" panel, when I clicked "check for updates", it said "All packages are up to date". However when I checked for updates in the R console itself, there appeared several updates available. Could you please look into it? Thanks

  1. Support Staff 2 Posted by Josh Paulson on 06 Aug, 2012 08:27 PM

    Josh Paulson's Avatar

    Fred,

    We are just using the old.packages() command from R so this should be returning the same result. Can you take a screenshot showing the difference between the "check for updates" in the packages pane and old.packages() from the console.

    Josh

  2. Josh Paulson closed this discussion on 19 Aug, 2012 12:29 PM.

  3. Fred Wu re-opened this discussion on 28 Sep, 2012 03:51 AM

  4. 3 Posted by Fred Wu on 28 Sep, 2012 03:51 AM

    Fred Wu's Avatar

    Hi Josh,

    I saw you closed the problem on the website. However the problem still remains, where RStudio does not detect updates but R does.

    Thanks and Regards

    Fred

  5. Support Staff 4 Posted by Josh Paulson on 28 Sep, 2012 04:12 AM

    Josh Paulson's Avatar

    Fred,

    The discussion was closed due to inactivity (almost 2 weeks). However the original poster (you) can always re-open a thread as you've done here. Also would you be able to tell me the output of the following commands in both RStudio and your other R environment:

    Both RStudio and other R:

    > .libPaths()
    > old.packages()
    

    Just RStudio:

    > .rs.writeableLibraryPaths()
    > utils::old.packages(lib.loc = .rs.writeableLibraryPaths())
    

    Josh

  6. 5 Posted by Fred Wu on 28 Sep, 2012 04:23 AM

    Fred Wu's Avatar

    Hi Josh,

    I am just going to reply again.
    It seems the problem of the choice of CRAN Mirror.

    In RStudio, I set the CRAN mirror to University of Melbourne and it returned no updates with this mirror in R too.
    However when I chose the mirror of CSIRO, the updates appears in R.

    So it seems not the problem of RStudio.

    Regards

    Fred

  7. Support Staff 6 Posted by Josh Paulson on 28 Sep, 2012 05:01 AM

    Josh Paulson's Avatar

    Fred,

    Thanks for the heads up and good to know. Best of luck sorting it out.

    Josh

  8. Josh Paulson closed this discussion on 04 Oct, 2012 01:05 PM.

Comments are currently closed for this discussion. You can start a new one.