Guys, thank you very much! Now using your advice I successfully moved to the last step of installation: install_github("genome/sciClone"). Currently it seems that the main problem is with rgl package:
installing source package ‘rgl’ ... package ‘rgl’ successfully unpacked and MD5 sums checked checking for gcc... gcc -std=gnu99 checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc -std=gnu99 accepts -g... yes checking for gcc -std=gnu99 option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -std=gnu99 -E checking for gcc... (cached) gcc -std=gnu99 checking whether we are using the GNU C compiler... (cached) yes checking whether gcc -std=gnu99 accepts -g... (cached) yes checking for gcc -std=gnu99 option to accept ISO C89... (cached) none needed checking for libpng-config... yes configure: using libpng-config configure: using libpng dynamic linkage checking for X... no configure: error: X11 not found but required, configure aborted. ERROR: configuration failed for package ‘rgl’ removing ‘/usr/local/lib/R/site-library/rgl’ Error: Command failed (1)
Interesting, that I have successfully installed this package by "sudo apt-get install r-cran-rgl" and now I am able to do "library(rgl)" in R, but SciClone installation still wants to install rgl itself...