Loading...
 

r_test09_rcharts_512paths

Testing a nice interactive graph created with rCharts & d3, with data from x512paths: NY Times 512 Paths to the White House.
Recreated in R with rCharts and slidify.

For more information, see:


The downloaded source packages are in
	'/tmp/RtmptVNL2g/downloaded_packages'
[1] "/var/www/html/public/rCharts_512paths-gh-pages"

trying URL 'http://cran.rstudio.org/src/contrib/PrivateLR_1.2-21.tar.gz'
Content type 'application/x-gzip' length 9645 bytes
opened URL
==================================================
downloaded 9645 bytes

trying URL 'http://cran.rstudio.org/src/contrib/SKAT_1.0.tar.gz'
Content type 'application/x-gzip' length 1064930 bytes (1.0 Mb)
opened URL
==================================================
downloaded 1.0 Mb

trying URL 'http://cran.rstudio.org/src/contrib/TR8_0.9.11.tar.gz'
Content type 'application/x-gzip' length 1095127 bytes (1.0 Mb)
opened URL
==================================================
downloaded 1.0 Mb

* installing *source* package 'PrivateLR' ...
** package 'PrivateLR' successfully unpacked and MD5 sums checked
mv: cannot move '/usr/lib/R/library/PrivateLR' to '/usr/lib/R/library/00LOCK-PrivateLR/PrivateLR': Permission denied
Warning in file.copy(f, instdir, TRUE) :
  problem copying ./NAMESPACE to /usr/lib/R/library/PrivateLR/NAMESPACE: Permission denied
Warning in file(file, ifelse(append, "a", "w")) :
  cannot open file '/usr/lib/R/library/PrivateLR/DESCRIPTION': Permission denied
Error in file(file, ifelse(append, "a", "w")) :
  cannot open the connection
ERROR: installing package DESCRIPTION failed for package 'PrivateLR'
* removing '/usr/lib/R/library/PrivateLR'
* installing *source* package 'SKAT' ...
** package 'SKAT' successfully unpacked and MD5 sums checked
mv: cannot move '/usr/lib/R/library/SKAT' to '/usr/lib/R/library/00LOCK-SKAT/SKAT': Permission denied
Warning in file.copy(f, instdir, TRUE) :
  problem copying ./NAMESPACE to /usr/lib/R/library/SKAT/NAMESPACE: Permission denied
Warning in file(file, ifelse(append, "a", "w")) :
  cannot open file '/usr/lib/R/library/SKAT/DESCRIPTION': Permission denied
Error in file(file, ifelse(append, "a", "w")) :
  cannot open the connection
ERROR: installing package DESCRIPTION failed for package 'SKAT'
* removing '/usr/lib/R/library/SKAT'
* installing *source* package 'TR8' ...
** package 'TR8' successfully unpacked and MD5 sums checked
mv: cannot move '/usr/lib/R/library/TR8' to '/usr/lib/R/library/00LOCK-TR8/TR8': Permission denied
Warning in file.copy(f, instdir, TRUE) :
  problem copying ./NAMESPACE to /usr/lib/R/library/TR8/NAMESPACE: Permission denied
Warning in file(file, ifelse(append, "a", "w")) :
  cannot open file '/usr/lib/R/library/TR8/DESCRIPTION': Permission denied
Error in file(file, ifelse(append, "a", "w")) :
  cannot open the connection
ERROR: installing package DESCRIPTION failed for package 'TR8'
* removing '/usr/lib/R/library/TR8'
Updating HTML index of packages in '.Library'
Warning messages:
1: In install.packages(update[instlib == l, "Package"], l, contriburl = contriburl,  :
  installation of package 'PrivateLR' had non-zero exit status
2: In install.packages(update[instlib == l, "Package"], l, contriburl = contriburl,  :
  installation of package 'SKAT' had non-zero exit status
3: In install.packages(update[instlib == l, "Package"], l, contriburl = contriburl,  :
  installation of package 'TR8' had non-zero exit status
4: In file.create(f.tg) :
  cannot create file '/usr/share/R/doc/html/packages.html', reason 'Permission denied'
5: In make.packages.html(.Library) : cannot update HTML package index
Loading required package: devtools
Loading required package: slidify
Loading required package: rCharts
Loading required package: codetools
Loading required package: slidifyLibraries
Loading required package: downloader

Attaching package: 'downloader'

The following object is masked from 'package:devtools':

    source_url

--2014-10-31 17:30:40--  https://github.com/timelyportfolio/rCharts_512paths/archive/gh-pages.zip
Resolving github.com (github.com)... 192.30.252.129
Connecting to github.com (github.com)|192.30.252.129|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/timelyportfolio/rCharts_512paths/zip/gh-pages [following]
--2014-10-31 17:30:41--  https://codeload.github.com/timelyportfolio/rCharts_512paths/zip/gh-pages
Resolving codeload.github.com (codeload.github.com)... 192.30.252.146
Connecting to codeload.github.com (codeload.github.com)|192.30.252.146|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: 'rCharts_512paths.zip'

     0K .......... .......... .......... .......... ..........  443K
    50K .......... .......... .......... .......... ..........  666K
   100K .......... .......... .......... .......... .......... 1.28M
   150K .......... .......... .......... .......... .......... 1.29M
   200K .......... .......... .......... .......... .......... 1.29M
   250K .......... .......... .......... ...                    907K=0.3s

2014-10-31 17:30:41 (837 KB/s) - 'rCharts_512paths.zip' saved [289942]

Error in file(con, "r") : cannot open the connection
Calls:  ... yaml.load_file -> yaml.load -> paste -> readLines -> file
In addition: Warning message:
In file(con, "r") : unable to resolve ''
Execution halted


Now we show the chart in this wiki page through an iframe:

{iframe name="myChart" width="1000" height="1200" align="middle" frameborder="0" marginheight="0" marginwidth="0" scrolling="auto" src="temp/public/rCharts_512paths-gh-pages/mychart.html"}