[R-SIG-Mac] /bin/sh: tar: command not found

Kasper Daniel Hansen khansen at stat.berkeley.edu
Fri Oct 3 23:43:43 CEST 2008


Ok, I guess I was being a bit unhelpful. You are trying to install a  
binary from Bioconductor. This should work out of the box. What  
version of R are you using. If you are doing 64bit computing you need  
to install from source. Of course, that does not change that tar seems  
to be missing which is a mystery. But my guess is that you have done  
something non-standard since for most people it works out of the box.

Kasper

On Oct 3, 2008, at 14:14 , Ben Bolker wrote:

>
>
> [Ricardo Rodriguez] Your XEN ICT Team wrote:
>> Hi Ben, Andrew,
>>
>> I am facing the same problem (R 2.7.2 running on Mac OS X 10.5.5  
>> Build
>> 9F33; MacBook Pro Intel Core 2 Duo, 2.5 GHz); tar is in the path...
>>
>> GMXUX-Ricardo-Rodriguez:~ rrodriguez$ tar
>> tar: You must specify one of the `-Acdtrux' options
>> Try `tar --help' or `tar --usage' for more information.
>>
>> Here an error. This installation usually does work...
>>
>> *****
>>> install.packages("reshape")
>> also installing the dependency 'plyr'
>>
>> trying URL
>> 'http://cran.us.r-project.org/bin/macosx/universal/contrib/2.7/plyr_0.1.tgz'
>>
>> Content type 'application/x-gzip' length 544654 bytes (531 Kb)
>> opened URL
>> ==================================================
>> downloaded 531 Kb
>>
>> trying URL
>> 'http://cran.us.r-project.org/bin/macosx/universal/contrib/2.7/reshape_0.8.1.tgz'
>>
>> Content type 'application/x-gzip' length 94353 bytes (92 Kb)
>> opened URL
>> ==================================================
>> downloaded 92 Kb
>>
>> /bin/sh: tar: command not found
>> Error in sprintf(gettext(fmt, domain = domain), ...) :
>> argument is missing, with no default
>> *****
>>
>> Any idea, please? Thanks!
>>
>> Greetings,
>>
>> Ricardo
>>
>>
>> Ben Bolker wrote:
>>>  This is my package, but I don't think there's anything wrong with
>>> the package (the check summary on CRAN says it's OK).  Does this  
>>> happen
>>> with all packages?  Have you tried a different mirror? (123 K seems
>>> like a reasonable size for this package).
>>>
>>>  On the other hand, the specific error message says the problem
>>> is that R can't find the "tar" command -- is it in your path?
>>>
>>>  Ben Bolker (not a Mac person)
>>
>
>  Since this is not my package (and I'm still not a Mac user),
> I really have no idea ... I never heard back from Andrew, don't
> know if he found a solution or if the problem went away by itself
>
>  good luck
>    Ben
>
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac



More information about the R-SIG-Mac mailing list