Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
PKBibi opened this issue Jun 27, 2015 · 9 comments
Open

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

PKBibi opened this issue Jun 27, 2015 · 9 comments

Comments

@PKBibi
Copy link

PKBibi commented Jun 27, 2015

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
Copy link

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
Copy link

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

@RanaivosonHerimanitra
Copy link

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

@gdickens
Copy link

Hey wfio,

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

@gdickens
Copy link

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:
ramnathv/rCharts#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
Copy link

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

@gdickens
Copy link

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
Copy link

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
Copy link

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants