[R-sig-Debian] Problems installing tibble (ggplot2) in R running Ubuntu 14.04

Terje Jørgensen terjej at imr.no
Mon Dec 19 14:27:53 CET 2016


Hi,

I am unable to install tibble, a required package for ggplot2 in R. I am 
running R (version 3.3.2 ) in RStudio (version 1.0.44). My OS is ubuntu 
14.04 (64 bits).
I get the same error when running R from the terminal.

Any help would be gretly appreciated.

Kind regards,
Terje

****************
Error messages:
****************
install.packages("tibble")
Installing package into ‘/home/terjej/R/x86_64-pc-linux-gnu-library/3.3’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/src/contrib/tibble_1.2.tar.gz'
Content type 'unknown' length 54517 bytes (53 KB)
==================================================
downloaded 53 KB

* installing *source* package ‘tibble’ ...
** package ‘tibble’ successfully unpacked and MD5 sums checked
** libs
g++ -I/usr/share/R/include -DNDEBUG 
-I"/usr/lib/R/site-library/Rcpp/include"   -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -D_FORTIFY_SOURCE=2 -g  -c RcppExports.cpp -o 
RcppExports.o
g++ -I/usr/share/R/include -DNDEBUG 
-I"/usr/lib/R/site-library/Rcpp/include"   -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -D_FORTIFY_SOURCE=2 -g  -c matrixToDataFrame.cpp 
-o matrixToDataFrame.o
matrixToDataFrame.cpp: In function ‘Rcpp::CharacterVector 
get_names(const Rcpp::Matrix<RTYPE>&, int)’:
matrixToDataFrame.cpp:58:16: error: ‘tfm’ has not been declared
      names[i] = tfm::format( "V%d", (i+1) ) ;
                 ^
matrixToDataFrame.cpp: In instantiation of ‘Rcpp::List 
copy_columns(const Rcpp::Matrix<RTYPE>&) [with int RTYPE = 10; 
Rcpp::List = Rcpp::Vector<19>]’:
matrixToDataFrame.cpp:91:48:   required from here
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in 
‘class Rcpp::Matrix<10>’
      typename Matrix<RTYPE>::ConstColumn column( m.column(j) ) ;
                                          ^
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in 
‘class Rcpp::Matrix<10>’
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in 
‘class Rcpp::Matrix<10>’
matrixToDataFrame.cpp: In instantiation of ‘Rcpp::List 
copy_columns(const Rcpp::Matrix<RTYPE>&) [with int RTYPE = 13; 
Rcpp::List = Rcpp::Vector<19>]’:
matrixToDataFrame.cpp:92:48:   required from here
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in 
‘class Rcpp::Matrix<13>’
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in 
‘class Rcpp::Matrix<13>’
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in 
‘class Rcpp::Matrix<13>’
matrixToDataFrame.cpp: In instantiation of ‘Rcpp::List 
copy_columns(const Rcpp::Matrix<RTYPE>&) [with int RTYPE = 14; 
Rcpp::List = Rcpp::Vector<19>]’:
matrixToDataFrame.cpp:93:49:   required from here
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in 
‘class Rcpp::Matrix<14>’
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in 
‘class Rcpp::Matrix<14>’
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in 
‘class Rcpp::Matrix<14>’
matrixToDataFrame.cpp: In instantiation of ‘Rcpp::List 
copy_columns(const Rcpp::Matrix<RTYPE>&) [with int RTYPE = 15; 
Rcpp::List = Rcpp::Vector<19>]’:
matrixToDataFrame.cpp:94:49:   required from here
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in 
‘class Rcpp::Matrix<15>’
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in 
‘class Rcpp::Matrix<15>’
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in 
‘class Rcpp::Matrix<15>’
matrixToDataFrame.cpp: In instantiation of ‘Rcpp::List 
copy_columns(const Rcpp::Matrix<RTYPE>&) [with int RTYPE = 16; 
Rcpp::List = Rcpp::Vector<19>]’:
matrixToDataFrame.cpp:95:48:   required from here
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in 
‘class Rcpp::Matrix<16>’
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in 
‘class Rcpp::Matrix<16>’
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in 
‘class Rcpp::Matrix<16>’
matrixToDataFrame.cpp: In instantiation of ‘Rcpp::List 
copy_columns(const Rcpp::Matrix<RTYPE>&) [with int RTYPE = 19; 
Rcpp::List = Rcpp::Vector<19>]’:
matrixToDataFrame.cpp:96:48:   required from here
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in 
‘class Rcpp::Matrix<19>’
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in 
‘class Rcpp::Matrix<19>’
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in 
‘class Rcpp::Matrix<19>’
make: *** [matrixToDataFrame.o] Error 1
ERROR: compilation failed for package ‘tibble’
* removing ‘/home/terjej/R/x86_64-pc-linux-gnu-library/3.3/tibble’
Warning in install.packages :
   installation of package ‘tibble’ had non-zero exit status

The downloaded source packages are in
     ‘/tmp/RtmpxDCEIv/downloaded_packages’



More information about the R-SIG-Debian mailing list