JonghyunBae / r-interactive-graphics-via-html

Interactive data visualization supporting linked graphs
2 stars 0 forks source link

Tutorial graph fails to appear when using chromium #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. library(utils)
2. library(ggplot2)
2. library(RIGHT)
3. options(browser="/usr/bin/chromium")
4. help.start() [this works fine]
5. RIGHT(plot(price ~ carat, diamonds, type="p")) [this fails]

What is the expected output? What do you see instead?

I expected to see the graph similar to that shown in the tutorial opened in a 
new Chromium tab.  Instead, a new Chromium tab is opened, but the only things 
visible on the page rendered is a small square, a horizontal line, and the 
copyright banner.

What version of the product are you using? On what operating system?

R 3.0.3, Debian Wheezy (AMD64)

Please provide any additional information below.

The chart is visible when the browser option has been set to "/usr/bin/firefox" 
(and firefox is installed), or when the browser option has been set to 
"/usr/bin/x-www-browser" (and update-alternatives has been set so that firefox 
should be run instead of chromium, and firefox is installed).

Original issue reported on code.google.com by dave.gomboc@gmail.com on 26 Mar 2014 at 10:58

GoogleCodeExporter commented 9 years ago
Current version of RIGHT has single origin problem, so we decide other method 
that can solve single origin problem. and now, we are making new version of 
RIGHT that can solve your problem. so please wait a little time, I'm sure that 
you will meet more powerful RIGHT soon.

Original comment by bethetaedu on 25 Apr 2014 at 2:36

GoogleCodeExporter commented 9 years ago
The hello world example does not work

Firefox:
ReferenceError: createMainStructure is not defined index.html:29

Chrome:
XMLHttpRequest cannot load 
file:///D:/Users/user/AppData/Local/Temp/Rtmp0QNUzg/filef9c4a237e45/_diamonds.cs
v. Cross origin requests are only supported for HTTP. index.html:1
Uncaught NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to 
load 
'file:///D:/Users/user/AppData/Local/Temp/Rtmp0QNUzg/filef9c4a237e45/_diamonds.c
sv'. structure.js:33

Original comment by kobydi...@gmail.com on 9 Sep 2014 at 10:05

GoogleCodeExporter commented 9 years ago
I'm sorry to late your comment.
Because your RIGHT version is older version and 
now we are ready to upload our new version in CRAN.

If you want to use our new version, 
Please check in our new tutorial page

http://righthelp.github.io/tutorial/welcome

At here, you can download our new RIGHT package.
(1) download RIGHT.zip file
(2) install.packages(devtools)
(3) load_all() in RIGHT package file what you download our github.

And then you can get collect plot in your browser

Thanks
- Jonghyun -

Original comment by bnb...@gmail.com on 14 Jan 2015 at 2:58