8

I have installed R version R_2.14.1 on window and need to install some of the packages but my system does not have internet connection. Any idea of how to install R package without internet.

Thanks

smci
  • 32,567
  • 20
  • 113
  • 146
user395882
  • 665
  • 2
  • 7
  • 16

1 Answers1

21

You can do

install.packages(".../path/to/package.tar.gz", type="source",
repos=NULL) 

Which is described also here.

johannes
  • 14,043
  • 5
  • 40
  • 51
  • 3
    @user395882 -- Since this worked, you can 'accept' the answer (and those of other questions that have been well answered for you) by clicking the check-mark just to its left. – Josh O'Brien May 10 '12 at 14:05