Dear Yu

Some of the packages required by shiny were installed for version 2
according to the output provided. So you must at least run this as
superuser on R session:
update.packages()

And answer accordiling.

Then you may try to install shiny.
Caveman
On Jul 22, 2013 8:03 PM, "yu ge" <geyu625@gmail.com> wrote:

> Hello there,
>
>
> I have been used shiny package on Windows without any problem. Recently I
> switched to Linux OS(Ubuntu 12.04), and installed the latest R version
> 3.0.1. But I couldn't install "shiny" for some reasons. Here are the error
> message:
>
> ** preparing package for lazy loading
> Error : package ‘codetools’ was built before R 3.0.0: please re-install it
> Error : unable to load R code in package ‘Rcpp’
> ERROR: lazy loading failed for package ‘Rcpp’
> * removing ‘/home/alex/R/x86_64-pc-linux-gnu-library/3.0/Rcpp’
> ERROR: dependency ‘Rcpp’ is not available for package ‘httpuv’
> * removing ‘/home/alex/R/x86_64-pc-linux-gnu-library/3.0/httpuv’
> ERROR: dependency ‘httpuv’ is not available for package ‘shiny’
> * removing ‘/home/alex/R/x86_64-pc-linux-gnu-library/3.0/shiny’
>
> The downloaded source packages are in
> ‘/tmp/RtmpA7KumO/downloaded_packages’
> Warning messages:
> 1: In install.packages("shiny") :
>   installation of package ‘Rcpp’ had non-zero exit status
> 2: In install.packages("shiny") :
>   installation of package ‘httpuv’ had non-zero exit status
> 3: In install.packages("shiny") :
>   installation of package ‘shiny’ had non-zero exit status
>
>
> I am newbee for Linux OS. Do I need to install an early R version(older
> than 3.0.0)? Any suggestions will be appreciated. Thanks
>
>         [[alternative HTML version deleted]]
>
>
> ______________________________________________
> 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.
>
>

	[[alternative HTML version deleted]]

