ramnathv / rMaps

Interactive Maps from R
http://rmaps.github.io
388 stars 194 forks source link

Unable to Install rCharts on Windows 7 machine running Rstudio #98

Open PKBibi opened 9 years ago

PKBibi commented 9 years ago

Hi Ramnathv

no luck either, installing RCharts...

Here is the output I get, can you help please?

Also not able to install any git hub package with dev tools.

install.packages("rCharts.tar.gz", repos = NULL, type = "source") Installing package into ‘C:/Users/PK/Documents/R/win-library/3.2’ (as ‘lib’ is unspecified) 'C:\Program' is not recognized as an internal or external command, operable program or batch file. Warning in install.packages : running command '"C:/Program Files/R/R-32~1.1/bin/x64/R" CMD INSTALL -l "C:\Users\PK\Documents\R\win-library\3.2" "rCharts.tar.gz"' had status 1 Warning in install.packages : installation of package ‘rCharts.tar.gz’ had non-zero exit status

OS = Windows 7 RStudio Version 0.99.447

gdickens commented 8 years ago

I've had the same issue. Tried manually installing it and using the github install via devtools and still no luck. Ideas would be welcome.

Managed to install it on my Ubuntu droplet with no problems.

Windows: 10 R: version 3.2.3 RStudio: 0.99.491

zachlovescoffee commented 8 years ago

Same issues here. I've tried everything from devtools to manual install. No luck. Wonder if it's my endpoint encryption/AV?

RanaivosonHerimanitra commented 8 years ago

Try highcharter package. It is better supported and has the latest features of highcharts.

gdickens commented 8 years ago

Hey wfio,

Have you got python installed and/or changed your environmental variables in Windows?

gdickens commented 8 years ago

Hey Wfio, I've been trying to fix a similar issue with rCharts and finally got it working. No idea what did it, but I've put a summary of the steps I last took here: https://github.com/ramnathv/rCharts/issues/685

There really doesn't seem to be a really good explanation online of why this happens, although from the error I'm assuming it has something to do with R not properly being able to use the RTools package under 64 bit windows (?).

This is a guess though. Would be great if somebody who knows what they're talking about might be able to explain what is (or isn't) happening with this error.

zachlovescoffee commented 8 years ago

I do have Python 3.5 installed but I don't know about Windows variables. I've never touched them.

gdickens commented 8 years ago

I had an earlier version of Python (2.7) installed and I think it automatically changes your environment variables when it installs, so I assume uninstalling it changes it back. I'm not sure if this is what fixed it, but it seemed to make the most sense out of all the things I tried.

I'm not an expert with this stuff tho so I'm happy for my guess to be wrong. Just an idea.

zachlovescoffee commented 8 years ago

I tried uninstalling Python and reinstalling Rtools and no go. Actually, I got slightly further trying to install from source in that I received a different error:

install.packages("rCharts.tar.gz", reps = NULL, type = "source") Warning in install.packages : package ‘rCharts.tar.gz’ is not available (for R version 3.2.4 Revised)

gdickens commented 8 years ago

What happened when you try try to install it via devtools:

require(devtools) install_github('ramnathv/rCharts')