Reputation: 357
I can't install rChart from Rstudio due to some firewall settings in my company computer, so I wonder if I can install it manually. I know it is possible to do that by using install.packages
, but it seems the installation was not successful. Here is what I did:
install.packages('\rCharts-master.zip',destdir = "/R/win-library/3.2",repos = NULL)
load the package library(rCharts-master)
and resulted in the following error message:
Error in library(rCharts - master) : 'package' must be of length 1
Upvotes: 0
Views: 997
Reputation: 11
rChart is a package on GitHub, try
install.packages("devtools")
library(devtools)
install_github('ramnathv/rCharts')
library(rCharts)
It should work.
Upvotes: 1
Reputation: 737
The name of the package you're trying to load is "rCharts", and not "rCharts-master". Try
library(rCharts)
Upvotes: 0