Comments (17)
@ghatfan99 I'm not familiar with the "httr"
package, but looking up use_proxy()
, I gather that the url
argument should be your proxy IP (not the "plotly"
repo).
from plotly.r.
@mkcor thank's for your answer,
Does anyone knows how to install the packages from Github manually, i tried downloading the zip file from https://github.com/ropensci/plotly and after that in my Rstudio i installed the package from zip file, but when i tape :
library(plotly)
Error in library(plotly) : there is no package called ‘plotly’
thanks
from plotly.r.
@ghatfan99 How did you install the package from the zip file, please? Can you share the command plus its output, please?
from plotly.r.
Hello mkcor,
after you have downloaded the zip file of any package in R to your hard disk, you have two choices to install the package:
- in console: install.packages("C:/Users/.../plotly_master.zip", repos = NULL)
here i have no error message:
"Installing package into ‘C:/Users/.../Documents/R/win-library/3.1’
(as ‘lib’ is unspecified)"
now when i do:
library(plotly_master)
i have the error: Error in library(plotly_master) :
there is no package called ‘plotly_master’
Regards
from plotly.r.
Okay -- although the zip file you download should be named plotly-master.zip
, not plotly_master.zip
...
Then you should load "plotly":
library(plotly)
not "plotly_master".
from plotly.r.
Hello mkcor
i tried the instructions as you mentioned but still have the same problem:
install.packages("C:/Users/.../Downloads/plotly-master.zip", repos = NULL)
Installing package into ‘C:/Users/.../Documents/R/win-library/3.1’
(as ‘lib’ is unspecified)
library(plotly)
Error in library(plotly) : ‘plotly’ is not a valid installed package
i don't understand where is the problem?
from plotly.r.
After running the install.packages()
command, can you check that you actually have a plotly
directory at C:/Users/.../Documents/R/win-library/3.1/
? You should see your other R packages there as well.
Once you have made sure where the plotly
package got installed, please load it with
require(plotly, lib.loc="C:/Users/.../Documents/R/win-library/3.1")
where argument lib.loc
is the location of R library trees to search through (see official docs).
Let me Cc @msund who may have assisted Windows users with their install issues.
from plotly.r.
Closing this since it's not a problem with the R package itself...
Assuming you have the source files locally, you can also install with R CMD INSTALL
or devtools::install()
:
git clone https://github.com/ropensci/plotly.git
Rscript -e "devtools::install('plotly')"
from plotly.r.
Hi, have downloaded zip file from this location, https://github.com/ropensci/plotly/releases/tag/0.3
and tried teh above steps.. with type=source.. neither it gave error nor installed..
I am using windows server 2012 and latest R and Rstudio versions
from plotly.r.
@vishy730 That version is super outdated... Please refer to https://plot.ly/r/getting-started/ for up-to-date information on how to install and load the "plotly" R package.
from plotly.r.
Thanks mkcor, I could solve the issue...
from plotly.r.
@vishy730 Great, I'm glad!
from plotly.r.
I have the same issue, tried mkcor's suggestions but instead of seeing a plotly directory, i see plotly-master....I get this error message
Loading required package: plotly
Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘plotly’
from plotly.r.
@h3ncabo Sorry you're experiencing this problem. Can you provide us with the exact code you used and what type of operation system you're using?
from plotly.r.
@13bzhang
I'm using Windows 8.1. I tried installing by install_github("ropensci/plotly")
but did not work since my college uses a proxy and is not inclined to provide me details/access
so I tried local installation
install.packages("C:/Users/.../Downloads/plotly-master.zip", repos = NULL, type="source")
then I got that error above when i called for library(plotly)
.
I did notice that there is folder named plotly-master
in my lib.loc
I also tried require(plotly, lib.loc="C:/Users/.../R/win-library/3.2")
still the same error
from plotly.r.
Hi! Have you talked to your system administrator about this issue? At my university, sometimes you need permission to install certain things.
from plotly.r.
@13bzhang yes. its not possible. any comment on the exact code I use? Is there an alternative?
from plotly.r.
Related Issues (20)
- Bubble sizes out of order, when using a formula for the `color`/`name` attributes HOT 2
- render ggplotly graphic - unable to start device HOT 1
- Could subplot have explicit error when ncols is passed?
- `ggplotly` not taking full vertical space when inside `shiny::tabPanel()` HOT 1
- Large mesh3d plot is not displayed with R-4.4.0 HOT 2
- Plots not showing in Rstudio Viewer HOT 6
- Categorical ggplotly legend no longer interpreted as categorical when two aesthetics are used HOT 1
- Change default plot height from 450px to something user-selected.
- Missing legend for mesh3d unless surface is added
- ggplotly is not working properly with scale_fill_binned
- `ggplotly()` gives subscript error with latest ggplot2
- Update plotly.js? HOT 1
- Incomplete documentation for `plot_ly`
- eom_GeomArcBar() has yet to be implemented in plotly
- plotly cannot handle Inf or -Inf when plotting
- implement geom_GeomStrippedCols() to be used with plotly
- Implement geom_rain and stat_halfeye into ggplotly
- labels in scale_color_manual() are ignored
- Plot_ly sunburst restyle event puts sunburst in weird state
- Hover incorrect when supplying color as argument in add_trace
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plotly.r.