there is no package called ‘shiny’

2,171 views
Skip to first unread message

abhishek kapoor

unread,
Jun 10, 2014, 5:09:59 PM6/10/14
to shiny-...@googlegroups.com
Hi group,

I have deployed shiny server on AWS

But when I am running my app i m getting an error

An error has occurred

The application failed to start.

The application exited during initialization.

Error in library(shiny) : there is no package called ‘shiny’ Execution halted

while installing shiny on AWS i followed instruction on site http://withr.me/blog/2013/07/23/configure-shiny-server-under-ubuntu/

when i running a command .libPaths() in R console, I m getting

> .libPaths()
[1] "/home/ubuntu/R/x86_64-pc-linux-gnu-library/3.0"
[2] "/usr/local/lib/R/site-library"                 
[3] "/usr/lib/R/site-library"                       
[4] "/usr/lib/R/library"     



Please help me out.
I am non technical guy, whatever i have done is through Google and documents available.


Regards
Abhishek  

Joe Cheng

unread,
Jun 10, 2014, 5:51:28 PM6/10/14
to abhishek kapoor, shiny-...@googlegroups.com
Can you confirm that you typed this line exactly as provided in that post?

sudo su - -c "R -e \"install.packages('shiny', repos='http://cran.rstudio.com/')\""



--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Joe Cheng

unread,
Jun 10, 2014, 5:53:25 PM6/10/14
to abhishek kapoor, shiny-...@googlegroups.com
Oh, the rest of that post is quite out of date. It is directing you to install quite an old version of Shiny Server.

I recommend that you uninstall Shiny Server 0.3.x using these instructions:

Then use the instructions here to install:

abhishek kapoor

unread,
Jun 11, 2014, 1:35:36 AM6/11/14
to shiny-...@googlegroups.com
Thanks Joe.

I followed the instruction shared in link

but now i am facing another problem.
I am not able to install package - 'FactoMineR''

I used following instruction

sudo su - -c "R -e \"install.packages('FactoMineR', repos='http://cran.stat.nus.edu.sg/')\""


R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"
Copyright (C) 2013 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> install.packages('FactoMineR', repos='http://cran.stat.nus.edu.sg/')
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
also installing the dependencies ‘car’, ‘ellipse’, ‘scatterplot3d’, ‘leaps’

Content type 'application/x-gzip' length 582567 bytes (568 Kb)
opened URL
==================================================
downloaded 568 Kb

Content type 'application/x-gzip' length 10939 bytes (10 Kb)
opened URL
==================================================
downloaded 10 Kb

Content type 'application/x-gzip' length 436179 bytes (425 Kb)
opened URL
==================================================
downloaded 425 Kb

Content type 'application/x-gzip' length 26847 bytes (26 Kb)
opened URL
==================================================
downloaded 26 Kb

Content type 'application/x-gzip' length 3198966 bytes (3.1 Mb)
opened URL
==================================================
downloaded 3.1 Mb


The downloaded source packages are in
        ‘/tmp/RtmpZ3613u/downloaded_packages’
ubuntu@ip-172-31-9-102:/$ R


 library (FactoMineR)                                                          
Error in library(FactoMineR) : there is no package called ‘FactoMineR’


I also installed this packages in R console directly'but again when i type 
 library (FactoMineR)                                                          
Error in library(FactoMineR) : there is no package called ‘FactoMineR’


I don't understand what  is the problem.

Please help me

Abhishek

Joe Cheng

unread,
Jun 11, 2014, 12:49:16 PM6/11/14
to abhishek kapoor, shiny-...@googlegroups.com
Something is wrong with your R installation, it's downloading but not installing. What happens if you just type "tar" at the command prompt (not R prompt)? How about "unzip"? I'm wondering if some fundamental utilities are missing.
Reply all
Reply to author
Forward
0 new messages