How to install Rpivot table package in R studio

r
pivot_table

#1

Hi All,
Can anyone please tell me how to install Rpivot table in R.

Following is the link for it, I tried but seems that it is to be installed from github.

http://www.magesblog.com/2015/03/pivot-tables-with-r.html


#2

to install a package from github you need to have devtools package already installed and then use the command below

library(devtools)
install_github("ramnathv/htmlwidgets") 
install_github("smartinsightsfromdata/rpivotTable")

#3

Hi Ajay, Thanks
I tried the above code in R studio. I have a Windows machine.I have installed devtools package

“library(devtools)
install_github(“ramnathv/htmlwidgets”)
Downloading github repo ramnathv/htmlwidgets@master
Error in function (type, msg, asError = TRUE) :
Failed to connect to api.github.com port 443: Timed out”

It gave me this error.
Is there anything else that I am missing?

Regards
Prasad


#5

i tried it. the above error could mean network connectivity or firewall issue

sometimes you should read the error completely-

it took me me another try to install htmlwidgets only AFTER I installed shiny package

after that the installation worked.

Note: github packages are WIP packages. Final packages are always on CRAN which is more strict on accepting packages