Hi ! 

I have recently updated my OS to Maverick and from this moment, I have been 
unable to compile any packages (with or without C code in them). However, I can 
install source package on my machine without any problem. In other words, the 
command line 

R CMD INSTALL pkg

works perfectly fine, where as the command line 

R CMD INSTALL --build pkg

sends me the following insults after trying to compile any package (here for 
the package spacemakeR):

* installing to library 
‘/Library/Frameworks/R.framework/Versions/3.0/Resources/library’
* installing *source* package ‘spacemakeR’ ...
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
   ‘tutorial.Rnw’ using ‘UTF-8’ 
** testing if installed package can be loaded
sh: /usr/bin/gnutar: No such file or directory
gzip: can't stat: 
/Users/guslevesque/Documents/Recherche/Subversion/sedar/pkg/spacemakeR_0.0-5_R_x86_64-apple-darwin10.8.0.tar
 
(/Users/guslevesque/Documents/Recherche/Subversion/sedar/pkg/spacemakeR_0.0-5_R_x86_64-apple-darwin10.8.0.tar):
 No such file or directory
Avis dans file.rename(file.path(startdir, filename), file.path(startdir,  :
  impossible de renommer le fichier 
'/Users/guslevesque/Documents/Recherche/Subversion/sedar/pkg/spacemakeR_0.0-5_R_x86_64-apple-darwin10.8.0.tar.gz'
 en 
'/Users/guslevesque/Documents/Recherche/Subversion/sedar/pkg/spacemakeR_0.0-5.tgz',
 à cause de 'No such file or directory'
packaged installation of ‘spacemakeR’ as ‘spacemakeR_0.0-5.tgz’
* DONE (spacemakeR)


Note that I have carefully followed advices posted on this list and I have 
install XQuartz, XCode 5.0.2 and XCode command line tools and made following 
modifications to the ~/.R/Makevars file:

CC=clang
CXX=clang++
CFLAGS="-mtune=native -g -O2 -Wall -pedantic -Wconversion"
CXXFLAGS="-mtune=native -g -O2 -Wall -pedantic -Wconversion"

Any ideas what is causing this problem ?

Thanks in advance for all the help ! 

Guillaume Blanchet

P.S.: I almost forgot, I am working with R 3.0.2


        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to