My apologies. I see now that this is a standard thing to do via the "getting started" page. stack overflow question amended - drastically (got the memo from the downvote). Got rid of bonus info and honed in on what is actually causing the problem now that it has been found.
here's the log clearly showing that rPython package could not be installed. I deduce that this means that I wont be able to get it to work? Is there no workaround? I'd like my app published to
shinyapps.io to call a python script. Thanx for confirming.
> rsconnect::showLogs("/home/cornelis/Documents/R Shiny/BrainImageAnalyzer")
2015-09-28T19:32:32.126565+00:00 shinyapps[61711]: find, fix
2015-09-28T19:32:32.126567+00:00 shinyapps[61711]:
2015-09-28T19:32:32.131509+00:00 shinyapps[61711]:
2015-09-28T19:32:32.131506+00:00 shinyapps[61711]:
2015-09-28T19:32:32.131507+00:00 shinyapps[61711]: sum
2015-09-28T19:32:34.974927+00:00 shinyapps[61711]: Note: the specification for S3 class “AsIs” in package ‘jsonlite’ seems equivalent to one from package ‘RJSONIO’: not turning on duplicate class definitions for this class.
2015-09-28T19:32:35.010367+00:00 shinyapps[61711]: Installing package into ‘/usr/local/lib/R/site-library’
2015-09-28T19:32:35.010369+00:00 shinyapps[61711]: (as ‘lib’ is unspecified)
2015-09-28T19:32:35.011193+00:00 shinyapps[61711]: Warning in install.packages("rPython") :
2015-09-28T19:32:35.011195+00:00 shinyapps[61711]: 'lib = "/usr/local/lib/R/site-library"' is not writable
2015-09-28T19:32:35.012074+00:00 shinyapps[61711]: Error in install.packages("rPython") : unable to install packages
2015-09-28T21:11:47.712151+00:00 shinyapps[61711]: R version: 3.2.2
2015-09-28T21:11:47.712222+00:00 shinyapps[61711]: shiny version: 0.12.2
2015-09-28T21:11:47.712224+00:00 shinyapps[61711]: rmarkdown version: NA
2015-09-28T21:11:47.712225+00:00 shinyapps[61711]: knitr version: NA
2015-09-28T21:11:47.712236+00:00 shinyapps[61711]: jsonlite version: 0.9.17
2015-09-28T21:11:47.712238+00:00 shinyapps[61711]: RJSONIO version: 1.3.0
2015-09-28T21:11:47.712239+00:00 shinyapps[61711]: htmltools version: 0.2.6
2015-09-28T21:11:47.964077+00:00 shinyapps[61711]: Using jsonlite for JSON processing
2015-09-28T21:11:47.968227+00:00 shinyapps[61711]:
2015-09-28T21:11:47.968229+00:00 shinyapps[61711]: Starting R with process ID: '11'
2015-09-28T21:11:47.973370+00:00 shinyapps[61711]:
2015-09-28T21:11:47.973374+00:00 shinyapps[61711]: Listening on
http://0.0.0.0:342302015-09-28T21:11:50.566927+00:00 shinyapps[61711]:
2015-09-28T21:11:50.566944+00:00 shinyapps[61711]: Attaching package: ‘rsconnect’
2015-09-28T21:11:50.566945+00:00 shinyapps[61711]:
2015-09-28T21:11:50.567521+00:00 shinyapps[61711]: The following objects are masked from ‘package:shiny’:
2015-09-28T21:11:50.567523+00:00 shinyapps[61711]:
2015-09-28T21:11:50.567524+00:00 shinyapps[61711]: hr, serverInfo
2015-09-28T21:11:50.781970+00:00 shinyapps[61711]: Attaching package: ‘matlab’
2015-09-28T21:11:50.567525+00:00 shinyapps[61711]:
2015-09-28T21:11:50.781965+00:00 shinyapps[61711]:
2015-09-28T21:11:50.782183+00:00 shinyapps[61711]:
2015-09-28T21:11:50.781971+00:00 shinyapps[61711]:
2015-09-28T21:11:50.782181+00:00 shinyapps[61711]: The following object is masked from ‘package:stats’:
2015-09-28T21:11:50.783160+00:00 shinyapps[61711]: The following objects are masked from ‘package:utils’:
2015-09-28T21:11:50.782184+00:00 shinyapps[61711]: reshape
2015-09-28T21:11:50.782185+00:00 shinyapps[61711]:
2015-09-28T21:11:50.783163+00:00 shinyapps[61711]: find, fix
2015-09-28T21:11:50.783162+00:00 shinyapps[61711]:
2015-09-28T21:11:50.788106+00:00 shinyapps[61711]: sum
2015-09-28T21:11:50.788104+00:00 shinyapps[61711]: The following object is masked from ‘package:base’:
2015-09-28T21:11:50.783164+00:00 shinyapps[61711]:
2015-09-28T21:11:50.788108+00:00 shinyapps[61711]:
2015-09-28T21:11:50.788105+00:00 shinyapps[61711]:
2015-09-28T21:11:52.811318+00:00 shinyapps[61711]: Note: the specification for S3 class “AsIs” in package ‘jsonlite’ seems equivalent to one from package ‘RJSONIO’: not turning on duplicate class definitions for this class.
2015-09-28T21:11:52.905303+00:00 shinyapps[61711]: Installing package into ‘/usr/local/lib/R/site-library’
2015-09-28T21:11:52.905306+00:00 shinyapps[61711]: (as ‘lib’ is unspecified)
2015-09-28T21:11:52.905907+00:00 shinyapps[61711]: Warning in install.packages("rPython") :
2015-09-28T21:11:52.905909+00:00 shinyapps[61711]: 'lib = "/usr/local/lib/R/site-library"' is not writable
2015-09-28T21:11:52.906488+00:00 shinyapps[61711]: Error in install.packages("rPython") : unable to install packages