Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8105493
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T00:10:40+00:00 2026-06-06T00:10:40+00:00

This , question , is , asked , over , and , over ,

  • 0

This, question, is, asked, over, and, over, and, over,
on the R-sig-finance mailing list, but I do not think it has been asked on stackoverflow.

It goes like this:

Where can I obtain the latest version of package XYZ that is hosted on R-forge? I tried to install it with install.packages, but this is what happened:

> install.packages("XYZ",repos="http://r-forge.r-project.org")
Warning message: package ‘XYZ’ is not available (for R version 2.15.0)

Looking on the R-forge website for XYZ, I see that the package failed to build.
Therefore, there is no link to download the source. Is there any other way
to get the source code? Once I get the source code, how can I turn that into a
package that I can load with library("XYZ")?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T00:10:41+00:00Added an answer on June 6, 2026 at 12:10 am

    R-Forge may fail to build a package for a few different reasons. It could be that
    the documentation has not been updated to reflect recent changes in the code. Or,
    it could be that some of the dependencies were not available at build time.

    You can checkout the source code using svn. First, search for the project on the
    R-Forge website and go to the project home page — for example http://r-forge.r-project.org/projects/returnanalytics/
    Click the SCM link to get to a page like this http://r-forge.r-project.org/scm/?group_id=579

    This page will tell you the command to use to checkout the project. In this case you get

    This project’s SVN repository can be checked out through anonymous access with the following command(s).

    svn checkout svn://svn.r-forge.r-project.org/svnroot/returnanalytics/

    If you are on Windows, you probably want to download and install TortoiseSVN

    Once you have installed TortoiseSVN, you can right click in a Windows Explorer window and select
    "SVN checkout". In the "URL of repository:" field, enter everything except the
    "svn checkout " part of the command that you found on R-Forge. In this case, you’d
    enter "svn://svn.r-forge.r-project.org/svnroot/returnanalytics/".

    When you click OK, the project will be downloaded into the current directory.

    If you are on a UNIX-alike system (or if you installed the command line client tools
    when you installed TortoiseSVN for Windows, which is not the default), you can
    type the command that R-forge gave you in your terminal (System terminal, not the R terminal)

    svn checkout svn://svn.r-forge.r-project.org/svnroot/returnanalytics/
    

    That will create a new directory under the current working directory that
    contains all of the files in the package. In the top level of that directory
    will be a subdirectory called "pkg". This particular project (returnanalytics)
    contains more than one package.

    ls returnanalytics/pkg
    #FactorAnalytics  MPO  PApages  PerformanceAnalytics  PortfolioAnalytics
    

    But some R-forge projects only have a single package. e.g.

    svn checkout svn://svn.r-forge.r-project.org/svnroot/random/
    #Checked out revision 14.
    ls random/pkg
    #DESCRIPTION  inst  man  NAMESPACE  R
    

    Now that you have a local copy all of the code, if you would like to be able to
    install the package, you have to build it first.

    A WORD OF CAUTION: Since R-Forge failed to build the package, there is a good chance
    that there are problems with the package. Therefore, if you just build it, you may find
    that some things do not work as expected. In particular, it is likely that there
    is missing or incomplete documentation.

    If you are on a UNIX-alike system, the package can be built and installed relatively easily. For a multi-package project like returnanalytics, if you want to install, e.g. the
    PortfolioAnalytics package, you can do it like this

    R --vanilla CMD INSTALL --build returnanalytics/pkg/PortfolioAnalytics 
    

    "PortfolioAnalytics" is the name of the directory that contains the package that
    you want to build/install. For a single-package project, you can build and install like
    this

    R --vanilla CMD INSTALL --build random/pkg
    

    If you would like to build/install a package on Windows, see this question and follow the two links that @JoshuaUlrich provided

    More information can be found in R Installation and Administration, the R-Forge User Manual, and the SVN manual.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This question has frequently been asked over stackoverflow.com but none of the answers work
I know that this question has been asked over and over again but still
I know that this question has been asked over and over again, but nothing
I know this question has been asked few times over SO but none of
I know this question has been asked many times over, but I am currently
I'm sure this question has been asked over and over again, but for some
I know this question has been asked over and over, but I can't seem
I asked this question over in the actual tutorial, but not sure I'll get
I know this question has been asked several times, but I can't quite seem
I know that this type of question has been asked over and over again,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.