I'd grab the source to install.packages and see if for some reason
there's a hard-coded path to tar.
Not that I'm a highly skilled coder, but I sure would have hoped that
the author of install.packages would at least have made sure that,if
it's calling system functions (like /bin/sh), it would make sure to pick
up the user environment -- not just grab the R console's idea of the
environment.
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
tar not found
2 messages · Carl Witthoft, Ricardo Rodríguez
Thanks Carl,
Carl Witthoft wrote:
I'd grab the source to install.packages and see if for some reason there's a hard-coded path to tar. Not that I'm a highly skilled coder, but I sure would have hoped that the author of install.packages would at least have made sure that,if it's calling system functions (like /bin/sh), it would make sure to pick up the user environment -- not just grab the R console's idea of the environment. Here an error. This installation usually does work...
Please, follow the thread "/bin/sh: tar: command not found". It seems that there is some kind of issue with the PATH I've set in my environment and how R interprets it. Greetings, Ricardo
Ricardo Rodr?guez Your XEN ICT Team