crosslet example not working #1

Closed
lcolladotor opened this Issue Feb 10, 2014 · 26 comments

Comments

Projects
None yet
10 participants
@lcolladotor

Hello,

I'm not sure if I'm doing something wrong or missing any pre-reqs, but the CrossLet example is not working for me.

> sessionInfo()
R version 3.0.2 (2013-09-25)
Platform: x86_64-apple-darwin10.8.0 (64-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] rMaps_0.1

loaded via a namespace (and not attached):
[1] grid_3.0.2         lattice_0.20-24    plyr_1.8           rCharts_0.4.2     
[5] RColorBrewer_1.0-5 rjson_0.2.13       RJSONIO_1.0-3      whisker_0.3-2     
[9] yaml_2.1.10       

Here's the screenshot from the Google Chrome console.

screen shot 2014-02-10 at 10 32 54 am

DataMaps and Leaflet examples are working well.

Cheers,
Leo

@ramnathv

This comment has been minimized.

Show comment Hide comment
@ramnathv

ramnathv Feb 10, 2014

Owner

Did you install the dev version of rCharts?

Owner

ramnathv commented Feb 10, 2014

Did you install the dev version of rCharts?

@ramnathv

This comment has been minimized.

Show comment Hide comment
@ramnathv

ramnathv Feb 10, 2014

Owner

You will need a local server to preview crosslet maps, since it reads JSON. If you are using the latest version of RStudio, it will automatically open the map up in a server for you.

Owner

ramnathv commented Feb 10, 2014

You will need a local server to preview crosslet maps, since it reads JSON. If you are using the latest version of RStudio, it will automatically open the map up in a server for you.

@lcolladotor

This comment has been minimized.

Show comment Hide comment
@lcolladotor

lcolladotor Feb 10, 2014

Yes, I did install the dev version of rCharts. By the way, have you tried using different version numbers for dev and release versions of rCharts? That way you can tell which version the user is using from the sessionInfo. Here's a versioning system that might be useful http://www.bioconductor.org/developers/package-guidelines/#versions

Ok, I didn't know about the local server part. And like you said, it does work in RStudio. Thanks!

Yes, I did install the dev version of rCharts. By the way, have you tried using different version numbers for dev and release versions of rCharts? That way you can tell which version the user is using from the sessionInfo. Here's a versioning system that might be useful http://www.bioconductor.org/developers/package-guidelines/#versions

Ok, I didn't know about the local server part. And like you said, it does work in RStudio. Thanks!

@ramnathv

This comment has been minimized.

Show comment Hide comment
@ramnathv

ramnathv Feb 10, 2014

Owner

My version control is a little messed up right now. Locally, I am working with only a single branch. I keep pushing to dev till ideas are stable and then merge back with master. I need a more robust git workflow :)

Owner

ramnathv commented Feb 10, 2014

My version control is a little messed up right now. Locally, I am working with only a single branch. I keep pushing to dev till ideas are stable and then merge back with master. I need a more robust git workflow :)

@ramnathv ramnathv added the crosslet label Feb 10, 2014

@arturochian

This comment has been minimized.

Show comment Hide comment
@arturochian

arturochian Feb 10, 2014

It's working fine. You have to install the dev version as ramnathv said. I recommend uninstalling the old version using remove.packages("rCharts")
It's very nice. :)
The next month I'm going to learn how to configurate that. I'm interested in geolocalization for social variables.
I'm thinking integration with WDI package could be great. There are a lot of economics information about countries.

It's working fine. You have to install the dev version as ramnathv said. I recommend uninstalling the old version using remove.packages("rCharts")
It's very nice. :)
The next month I'm going to learn how to configurate that. I'm interested in geolocalization for social variables.
I'm thinking integration with WDI package could be great. There are a lot of economics information about countries.

@ramnathv

This comment has been minimized.

Show comment Hide comment
@ramnathv

ramnathv Feb 10, 2014

Owner

Yes. The WDI package provides some nice data that can be used with rMaps. Let me know any comments/feedback that you have as you try things out.

Owner

ramnathv commented Feb 10, 2014

Yes. The WDI package provides some nice data that can be used with rMaps. Let me know any comments/feedback that you have as you try things out.

@arturochian

This comment has been minimized.

Show comment Hide comment
@arturochian

arturochian Feb 10, 2014

Sure, I'm improving my Shiny's skills for this month. I'm interested doing the same for my country Peru by cities for next months for improving economics decisions.
PD: I'm student in Economics so these things are interesting for me.
Best regards

Sure, I'm improving my Shiny's skills for this month. I'm interested doing the same for my country Peru by cities for next months for improving economics decisions.
PD: I'm student in Economics so these things are interesting for me.
Best regards

@lcolladotor

This comment has been minimized.

Show comment Hide comment
@lcolladotor

lcolladotor Feb 10, 2014

As Ramnath said, it works with RStudio. I just removed and installed the dev version of rChartsand ran into the same issue as before when using the R GUI instead of RStudio.

screen shot 2014-02-10 at 11 11 57 am

As Ramnath said, it works with RStudio. I just removed and installed the dev version of rChartsand ran into the same issue as before when using the R GUI instead of RStudio.

screen shot 2014-02-10 at 11 11 57 am

@arturochian

This comment has been minimized.

Show comment Hide comment
@arturochian

arturochian Feb 10, 2014

Try

x<-crosslet(
  x = "country", 
  y = c("web_index", "universal_access", "impact_empowerment", "freedom_openness"),
  data = web_index
)
print(x)

Try

x<-crosslet(
  x = "country", 
  y = c("web_index", "universal_access", "impact_empowerment", "freedom_openness"),
  data = web_index
)
print(x)
@lcolladotor

This comment has been minimized.

Show comment Hide comment
@lcolladotor

lcolladotor Feb 10, 2014

Tried it, got the same result on the R GUI.

This has to be related to the local server Ramnath mentioned earlier.

Tried it, got the same result on the R GUI.

This has to be related to the local server Ramnath mentioned earlier.

@arturochian

This comment has been minimized.

Show comment Hide comment
@arturochian

arturochian Feb 10, 2014

I see, It's about that.
Interesting...
I didn't know that differences...

I see, It's about that.
Interesting...
I didn't know that differences...

@patilv

This comment has been minimized.

Show comment Hide comment
@patilv

patilv Feb 10, 2014

The examples worked for me, verbatim. Using R-Studio, v 0.98.490.

patilv commented Feb 10, 2014

The examples worked for me, verbatim. Using R-Studio, v 0.98.490.

@ramnathv

This comment has been minimized.

Show comment Hide comment
@ramnathv

ramnathv Feb 10, 2014

Owner

Crosslet will only work in RStudio for now. I have to figure out a way to make it work from the R GUI.

Owner

ramnathv commented Feb 10, 2014

Crosslet will only work in RStudio for now. I have to figure out a way to make it work from the R GUI.

@ramnathv ramnathv closed this Feb 11, 2014

@abresler

This comment has been minimized.

Show comment Hide comment
@abresler

abresler Feb 12, 2014

Mine stopped working on R-Studio - just upgraded to 0.98.501 not sure whats going on

Mine stopped working on R-Studio - just upgraded to 0.98.501 not sure whats going on

@ramnathv

This comment has been minimized.

Show comment Hide comment
@ramnathv

ramnathv Feb 12, 2014

Owner

I am on 0.98.637 and it works fine for me. Let me check what is happening with 0.98.501

Owner

ramnathv commented Feb 12, 2014

I am on 0.98.637 and it works fine for me. Let me check what is happening with 0.98.501

@abresler

This comment has been minimized.

Show comment Hide comment
@abresler

abresler Feb 12, 2014

Any idea if we can download this version for Mac?


Alex Bresler
917-455-0239

abresler@asbcllc.com | alex@aragorntech.com
|@abreslerhttp://twitter.com/abresler
| LinkedIn http://www.linkedin.com/in/abresler| Aragornhttp://aragorn.org

On Wed, Feb 12, 2014 at 12:22 PM, Ramnath Vaidyanathan <
notifications@github.com> wrote:

I am on 0.98.637 and it works fine for me.


Reply to this email directly or view it on GitHubhttps://github.com/ramnathv/rMaps/issues/1#issuecomment-34892481
.

Any idea if we can download this version for Mac?


Alex Bresler
917-455-0239

abresler@asbcllc.com | alex@aragorntech.com
|@abreslerhttp://twitter.com/abresler
| LinkedIn http://www.linkedin.com/in/abresler| Aragornhttp://aragorn.org

On Wed, Feb 12, 2014 at 12:22 PM, Ramnath Vaidyanathan <
notifications@github.com> wrote:

I am on 0.98.637 and it works fine for me.


Reply to this email directly or view it on GitHubhttps://github.com/ramnathv/rMaps/issues/1#issuecomment-34892481
.

@ramnathv

This comment has been minimized.

Show comment Hide comment
@ramnathv

ramnathv Feb 12, 2014

Owner

Yes. I am on a mac. Just go to the page with daily builds

http://www.rstudio.org/download/daily/desktop/mac/

Owner

ramnathv commented Feb 12, 2014

Yes. I am on a mac. Just go to the page with daily builds

http://www.rstudio.org/download/daily/desktop/mac/

@abresler

This comment has been minimized.

Show comment Hide comment
@abresler

abresler Feb 12, 2014

Thanks!!


Alex Bresler
917-455-0239

abresler@asbcllc.com | alex@aragorntech.com
|@abreslerhttp://twitter.com/abresler
| LinkedIn http://www.linkedin.com/in/abresler| Aragornhttp://aragorn.org

On Wed, Feb 12, 2014 at 12:26 PM, Ramnath Vaidyanathan <
notifications@github.com> wrote:

Yes. I am on a mac. Just go to the page with daily builds

http://www.rstudio.org/download/daily/desktop/mac/


Reply to this email directly or view it on GitHubhttps://github.com/ramnathv/rMaps/issues/1#issuecomment-34892869
.

Thanks!!


Alex Bresler
917-455-0239

abresler@asbcllc.com | alex@aragorntech.com
|@abreslerhttp://twitter.com/abresler
| LinkedIn http://www.linkedin.com/in/abresler| Aragornhttp://aragorn.org

On Wed, Feb 12, 2014 at 12:26 PM, Ramnath Vaidyanathan <
notifications@github.com> wrote:

Yes. I am on a mac. Just go to the page with daily builds

http://www.rstudio.org/download/daily/desktop/mac/


Reply to this email directly or view it on GitHubhttps://github.com/ramnathv/rMaps/issues/1#issuecomment-34892869
.

@abresler

This comment has been minimized.

Show comment Hide comment
@abresler

abresler Feb 12, 2014

Works perfectly - its something with 0.98.501 but the preview works perfectly!

Works perfectly - its something with 0.98.501 but the preview works perfectly!

@patilv

This comment has been minimized.

Show comment Hide comment
@patilv

patilv Feb 12, 2014

I have .98.501 on Windows. Works fine.

patilv commented Feb 12, 2014

I have .98.501 on Windows. Works fine.

@lcolladotor

This comment has been minimized.

Show comment Hide comment
@lcolladotor

lcolladotor Feb 12, 2014

I'm using .98.501 on Mac and it works fine there too.

screen shot 2014-02-12 at 1 29 34 pm

I'm using .98.501 on Mac and it works fine there too.

screen shot 2014-02-12 at 1 29 34 pm

@dg83

This comment has been minimized.

Show comment Hide comment
@dg83

dg83 Jun 19, 2014

Hi,

I am running into the same issues as lcolladotor. Cannot see the crosslet maps but leaflet and datamaps work fine. I have the latest version of Rstudio and Windows 8.1

Thanks

dg83 commented Jun 19, 2014

Hi,

I am running into the same issues as lcolladotor. Cannot see the crosslet maps but leaflet and datamaps work fine. I have the latest version of Rstudio and Windows 8.1

Thanks

@bhuston

This comment has been minimized.

Show comment Hide comment
@bhuston

bhuston Dec 4, 2014

Ditto on what dg83 said. I'm running Windows 8.1/Chrome/Rstudio 0.98.1091 and I cannot get map in crosslet to display either in the viewer or in my broswer.

2014-12-03 22_50_19-localhost_11354_session_rcharts10b457733b78_index

bhuston commented Dec 4, 2014

Ditto on what dg83 said. I'm running Windows 8.1/Chrome/Rstudio 0.98.1091 and I cannot get map in crosslet to display either in the viewer or in my broswer.

2014-12-03 22_50_19-localhost_11354_session_rcharts10b457733b78_index

@cantgetthatping

This comment has been minimized.

Show comment Hide comment
@cantgetthatping

cantgetthatping Dec 4, 2014

All the same on MacOSx/Chrome or Safari

A__ntoine S__AGE _| _Skype: atsage

On Thu, Dec 4, 2014 at 4:51 AM, Ben Huston notifications@github.com wrote:

Ditto on what dg83 said. I'm running Windows 8.1/Chrome/Rstudio 0.98.1091
and I cannot get map in crosslet to display either in the viewer or in my
broswer.

[image: 2014-12-03
22_50_19-localhost_11354_session_rcharts10b457733b78_index]
https://cloud.githubusercontent.com/assets/8014279/5293396/e795db98-7b3e-11e4-9e20-a5aecaa40aa9.png


Reply to this email directly or view it on GitHub
#1 (comment).

All the same on MacOSx/Chrome or Safari

A__ntoine S__AGE _| _Skype: atsage

On Thu, Dec 4, 2014 at 4:51 AM, Ben Huston notifications@github.com wrote:

Ditto on what dg83 said. I'm running Windows 8.1/Chrome/Rstudio 0.98.1091
and I cannot get map in crosslet to display either in the viewer or in my
broswer.

[image: 2014-12-03
22_50_19-localhost_11354_session_rcharts10b457733b78_index]
https://cloud.githubusercontent.com/assets/8014279/5293396/e795db98-7b3e-11e4-9e20-a5aecaa40aa9.png


Reply to this email directly or view it on GitHub
#1 (comment).

@geertdobbels

This comment has been minimized.

Show comment Hide comment
@geertdobbels

geertdobbels Apr 15, 2015

Hi,

I get exactly the same results as bhuston above.... labels appear but no map.
I am on Linux fedora 21,
R version 3.1.3
Rstudio 0.99.386 (updated recently, but in previous version I had the same problem)
As with the others, the datamap and leaflet examples work fine.

Geert

Hi,

I get exactly the same results as bhuston above.... labels appear but no map.
I am on Linux fedora 21,
R version 3.1.3
Rstudio 0.99.386 (updated recently, but in previous version I had the same problem)
As with the others, the datamap and leaflet examples work fine.

Geert

@JasonAizkalns

This comment has been minimized.

Show comment Hide comment
@JasonAizkalns

JasonAizkalns Jun 15, 2015

I receive the same results as @bhuston @cantgetthatping and @geertdobbels - I am able to see the labels/controls, but no map.

Here's the output from the Chrome console:

image

The 403 status messages continue and they appear to come back with Wrong API Key.

I receive the same results as @bhuston @cantgetthatping and @geertdobbels - I am able to see the labels/controls, but no map.

Here's the output from the Chrome console:

image

The 403 status messages continue and they appear to come back with Wrong API Key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment