On 13/03/2014 04:31, robin.thom...@csiro.au wrote:
I am making my first submission to Plos One and am trying to install the extrafonts 
package to obtain Arial for the figures. "extrafonts" was archived at the end 
of last month so I downloaded first the extrafont_0.16.tar.gz file and then the older 
extrafont_0.15.tar.gz file.

Those are not zip files.  You need to use (at the command line)

R CMD INSTALL extrafont_0.16.tar.gz

(assuming you have already installed the dependencies).

However, I suggest you use R 3.1.0 alpha which has support for Arial built in.

I selected "Install packages(s) from local zip file" from the Packages menu of 
my installation of R x64 3.0.0

I got:

utils:::menuInstallLocal()
Error in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
   cannot open the connection
In addition: Warning messages:
1: In unzip(zipname, exdir = dest) : error 1 in extracting from zip file
2: In read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
   cannot open compressed file 'extrafont_0.15.tar.gz/DESCRIPTION', probable 
reason 'No such file or directory'

When I unzip these gz files using Winzip I do find a DESCRIPTION file.

What am I doing wrong?

Thanks
Robin

______________________________________________
R-help@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,                  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help@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.

Reply via email to