[R-SIG-Mac] Installing Mac packages from a directory of .tgz files
maj at waikato.ac.nz
Sun Jan 16 04:57:41 CET 2011
I followed your modification of Berend's suggestion and everything
worked nicely! Now I have a seriously non-toy version of R on my Mac as
well as my PC.
The command line solution is perfect, but it occurs to me to ask if I
could have done this via the Packages & Data Gui if only I had been able
to understand it?
On 16/01/2011 4:50 a.m., Prof Brian Ripley wrote:
> On Sat, 15 Jan 2011, Murray Jorgensen wrote:
>> On 15/01/2011 9:35 p.m., Berend Hasselman wrote:
>>> Repeat for other packages ( you can also set pkgs=c("pkg1.tgz",
>>> "pkg2.tgz",...) )
>>> good luck
>> OK, thanks Berend! - I think that worked for the first package. Now I
>> need to form a pkgs character vector with the names of the other 2646
>> packages. One way I thought of was to open a terminal window in the
>> package folder, do an ls, then edit in all the commas and quotes.
>> Perhaps you know an easier way?
> I do, and told you one .... (hint: I used dir()).
>> Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html
>> Department of Statistics, University of Waikato, Hamilton, New Zealand
>> Email: maj at waikato.ac.nz majorgensen at ihug.co.nz Fax 7 838 4155
>> Phone +64 7 838 4773 wk Home +64 7 825 0441 Mobile 021 0200 8350
>> R-SIG-Mac mailing list
>> R-SIG-Mac at r-project.org
Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html
Department of Statistics, University of Waikato, Hamilton, New Zealand
Email: maj at waikato.ac.nz majorgensen at ihug.co.nz Fax 7 838 4155
Phone +64 7 838 4773 wk Home +64 7 825 0441 Mobile 021 0200 8350
More information about the R-SIG-Mac