Re: [R] I want to install a package on Max OS X from a local file

From: stephen sefick <ssefick_at_gmail.com>
Date: Wed, 25 Jun 2008 09:43:16 -0400

Macintosh OS X 10.5.3
R version 2.7 (binary distribution)

#I tried this in R
install.packages(file.choose(), repos=NULL, type="source") WARNING: omitting pointless dependence on 'R' without a version requirement Warning message:
In install.packages(file.choose(), repos = NULL, type = "source") :   installation of package '/Users/sefick/Desktop/sowas_0.94.tar.gz' had non-zero exit status

* Installing *source* package 'sowas' ...
** libs
** arch - i386
** arch - ppc
** Removing '/Library/Frameworks/R.framework/Resources/library/sowas'
/Library/Frameworks/R.framework/Resources/bin/SHLIB: line 161: make: command not found
chmod: /Library/Frameworks/R.framework/Resources/library/sowas/libs/i386/*: No such file or directory
/Library/Frameworks/R.framework/Resources/bin/SHLIB: line 161: make: command not found
chmod: /Library/Frameworks/R.framework/Resources/library/sowas/libs/ppc/*: No such file or directory
ERROR: compilation failed for package 'sowas'

#I tried this at the comand prompt sorry for my poor attention to detail

new-host-3:~ sefick$ R CMD INSTALL /Users/Desktop/sowas_0.94.tar.gz WARNING: invalid package '/Users/Desktop/sowas_0.94.tar.gz' * Installing to library '/Library/Frameworks/R.framework/Resources/library' ERROR: no packages specified

#I will post this to the sig-mac group. I wanted to start here because it has always been of great help. Also, I didn't want to post my question in two places until warranted.
thanks

Stephen

On Wed, Jun 25, 2008 at 9:28 AM, Prof Brian Ripley <ripley_at_stats.ox.ac.uk> wrote:

> That is not the filename at the site you gave. Try using the actual file
> name.
>
> On Wed, 25 Jun 2008, stephen sefick wrote:
>
> no it didn't- am I missing something
>> (Mac OS X 10.5.3, R 2.7)
>>
>> new-host-3:~ sefick$ R CMD INSTALL /Users/Desktop/sowas.tar.gz
>> WARNING: invalid package '/Users/Desktop/sowas.tar.gz'
>> * Installing to library
>> '/Library/Frameworks/R.framework/Resources/library'
>> ERROR: no packages specified
>>
>>
>> On Wed, Jun 25, 2008 at 8:58 AM, Richard Pearson <
>> richard.pearson_at_postgrad.manchester.ac.uk> wrote:
>>
>> From the (terminal window) command line try:
>>>
>>> R CMD INSTALL path.to.file/filename.tar.gz
>>>
>>> Does that do it?
>>>
>>> Richard
>>>
>>>
>>> stephen sefick wrote:
>>>
>>> install.packages(file.choose(), repos=NULL)
>>>> thought this would work, but it didn't
>>>> the package is the sowas package - this doesn't seem to be a CRAN
>>>> package,
>>>> and it can be found at :
>>>>
>>>> http://tocsy.agnld.uni-potsdam.de/wavelets/
>>>>
>>>> On Wed, Jun 25, 2008 at 8:25 AM, stephen sefick <ssefick_at_gmail.com>
>>>> wrote:
>>>>
>>>> I can't figure this one out- I am the administrator, The file that I
>>>>
>>>>> want
>>>>> to install is a .tar.gz which is located on my desktop. How do I get
>>>>> it
>>>>> into my packages directory- through the GUI or through brute force?
>>>>> thanks
>>>>>
>>>>> stephen
>>>>>
>>>>> --
>>>>> Let's not spend our time and resources thinking about things that are
>>>>> so
>>>>> little or so large that all they really do for us is puff us up and
>>>>> make
>>>>> us
>>>>> feel like gods. We are mammals, and have not exhausted the annoying
>>>>> little
>>>>> problems of being mammals.
>>>>>
>>>>> -K. Mullis
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>> Richard D. Pearson richard.pearson_at_postgrad.manchester.ac.uk
>>> School of Computer Science, http://www.cs.man.ac.uk/~pearsonr<http://www.cs.man.ac.uk/%7Epearsonr>
>>> <http://www.cs.man.ac.uk/%7Epearsonr>
>>> University of Manchester, Tel: +44 161 275 6178
>>> Oxford Road, Mob: +44 7971 221181
>>> Manchester M13 9PL, UK. Fax: +44 161 275 6204
>>>
>>>
>>
>>
>> --
>> Let's not spend our time and resources thinking about things that are so
>> little or so large that all they really do for us is puff us up and make
>> us
>> feel like gods. We are mammals, and have not exhausted the annoying little
>> problems of being mammals.
>>
>> -K. Mullis
>>
>> [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help_at_r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>>
> --
> Brian D. Ripley, ripley_at_stats.ox.ac.uk
> Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/<http://www.stats.ox.ac.uk/%7Eripley/>
> University of Oxford, Tel: +44 1865 272861 (self)
> 1 South Parks Road, +44 1865 272866 (PA)
> Oxford OX1 3TG, UK Fax: +44 1865 272595
>

-- 
Let's not spend our time and resources thinking about things that are so
little or so large that all they really do for us is puff us up and make us
feel like gods. We are mammals, and have not exhausted the annoying little
problems of being mammals.

-K. Mullis

	[[alternative HTML version deleted]]

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Wed 25 Jun 2008 - 13:46:54 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 25 Jun 2008 - 14:30:54 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive