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 8510941
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T03:50:54+00:00 2026-06-11T03:50:54+00:00

I develop code in R on multiple computers. Said code depends on many CRAN

  • 0

I develop code in R on multiple computers. Said code depends on many CRAN packages, and I want to make sure that the version of the packages my code depends on are kept in sync. So I am looking for a easy way of replicating a list of installed CRAN packages (with the same version) on another computer.

For people who also know Python, I am looking for an equivalent to pip freeze. Running pip freeze prints out a list of packages installed with their version. Then on another computer, I can feed this file back to pip and it installs the exact same version of all the packages listed. (What I do not want is something that installs the latest version on the other computer.)

Is there an easy way of doing this in R (or a tool that already does this), or do I have to roll my own?

  • 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-11T03:50:55+00:00Added an answer on June 11, 2026 at 3:50 am

    Have you looked at installed.packages() ?

    R> IP <- installed.packages()
    R> colnames(IP) 
     [1] "Package"   "LibPath"   "Version"   "Priority"  "Depends"   "Imports" 
     [7] "LinkingTo" "Suggests"  "Enhances"  "OS_type"   "License"   "Built"  
    R> dim(IP)
    [1] 284  12  
    R>    
    

    You could then roll a corresponding install.packages() over it on the other side, possibly with an additional layer of fetching versions from the ‘Archive’ section on CRAN.

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

Sidebar

Related Questions

I want to be able to develop code using Visual Studio 2010. I just
I was trying to develop the application that count the line of code my
I need to develop a form that spans multiple pages, but requires just one
I am using git-svn to develop code that is hosted on a SVN+SSH repository.
I am looking to develop some code that will be able to by looking
I am a Student..and right now trying to develop code for android..that shows nearby
I planned to develop search app, where I want to build multiple tables in
I develop code using .net, and sometimes using ruby. My friend wants me to
All, We have a PHP project in SVN. We develop code and do SVN
i develop this code: SELECT COUNT(NewEmployee.EmployeeID), NewEmployee.EmployeeId,EmployeeName FROM NewEmployee INNER JOIN NewTimeAttendance ON NewEmployee.EmployeeID

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.