I fixed installation of gnutar
this way by typing the following commands in the terminal (apparently it's a problem with OSX Maverick). However yet I receive the same problem when I install the package using install.package
:
sudo su -
cd /usr/bin
ln -s tar gnutar
curl -O https://distfiles.macports.org/MacPorts/MacPorts-2.2.1.tar.bz2
tar xf MacPorts-2.2.1.tar.bz2
cd MacPorts-2.2.1/
./configure
make
sudo make install
sudo port -v selfupdate