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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T21:19:41+00:00 2026-06-11T21:19:41+00:00

At work R is not entitled to access the internet (no-the setinternet thing doesnt

  • 0

At work R is not entitled to access the internet (no-the setinternet thing doesnt work-despite old explorer running decently). My work computer is windows based and my home computer is a mac. Is it possible to devise a script for my mac that would download the windows packages that are in my mac r library? This, so that I can bring them to work and install them from zip or something on a USB stick.

  • 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-11T21:19:42+00:00Added an answer on June 11, 2026 at 9:19 pm

    It wasn’t particularly easy, since there are quite a few safeguards you need to disable, but this will download one package (“rms”) in win.binary format to my Downloads folder:

    > options(available_packages_filters=c("R_version",  "duplicates", "license/FOSS") )
    > getOption("available_packages_filters")
    [1] "R_version"    "duplicates"   "license/FOSS"
    
    > download.packages(pkgs="rms", repos="http://lib.stat.cmu.edu/R/CRAN", 
        destdir="~/Downloads", 
        contriburl =contrib.url(getOption("repos"), "win.binary"),
        type="win.binary")
    #----------------------
    trying URL 'http://cran.cnr.Berkeley.edu/bin/windows/contrib/2.15/rms_3.5-0.zip'
    Content type 'application/zip' length 937176 bytes (915 Kb)
    opened URL
    ==================================================
    downloaded 915 Kb
    
         [,1]  [,2]                       
    [1,] "rms" "~/Downloads/rms_3.5-0.zip"
    

    You should be able to substitute installed.packages()[ , "Package"] for the “rms” argument to pkgs=

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

Sidebar

Related Questions

Jquery does not work on the Internet explorer . However it runs on other
This does NOT work: Sub X() Dim A As Access.Application Set A = CreateObject(Access.Application)
This is driving me crazy and has resulted in lost work (not much, at
does not work in js file while it works perfectly in jsp file. I
Below code not work, but it's work fine for jsf1.2. Now the framework is
IntelliSense does not work in Visual Studio 2010 if you are inside of a
DataAnnotations does not work with buddy class. The following code always validate true. Why
The following does not work — handleSwipeUpTriple is never called: - (BOOL) application:(UIApplication *)application
Why does this not work? Do I not understand delegate covariance correctly? public delegate
Why ItemStyle-VerticalAlign=Middle not work in asp:GridView?, this is my code <asp:GridView ID=GridView1 runat=server RowStyle-VerticalAlign=Middle

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.