I installed shiny using system wide installation method. So it is now at /usr/local/lib/R/site-library . And I'm using R Studio to install other packages such as RMySQL, ShinyBS etc. Those packages are located in /home/thisa/R/x86_64-pc-linux-gnu-library/3.0 . Now when I run my server.R with following libraries,
library("shinyBS", lib.loc="/home/thisa/R/x86_64-pc-linux-gnu-library/3.0")
It pops up following error.
ERROR: no library trees found in 'lib.loc'
What would be the possible solution for this should I change my default install directory of R Studio then how can I do that? I found similar problem here but the answer is not clear for me.