how can I share my interactive map made in R? [closed] - r

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
I did an interactive using ggplot2 and ggplotly. How can I share it with another person?
Thanks,

As far as I know ,first store it in an R variable, and install the htmlwidget package and use saveWidget() function to save your object to a file as below:
saveWidget(object_name, file="map.html")

Related

I typed my project directly on Kaggle, how do i export my graphs from R studio to kaggle

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 50 mins ago.
Improve this question
I plotted graphs using ggplot2, how do i export the graphs to kaggle. This is what is delaying me from submiting my capstone project on data analytics with google

how do i run an excecutable file for r from github [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
I know this is an extremely basic question, but someone suggested i try running a code from github and I have no idea how to go about it
I tried copying and pasting but that didn't work and neither does downloading it and trying to open it with R.
You can click the raw button on github to get the url
source("https://raw.githubusercontent.com/amignan/risk_eq_mmax/master/get_mmax.R")

How to modify a function in local R package? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I have an R package made by someone else. I want to add an additional function to it, how can I do that?
To change a function from a given package, you'll probably need trace function, it helps you edit and modify a function F
trace("F",edit=TRUE)
it will open a small window for you to modify the code, but it won't change the actual source code permanently.
you can copy and paste the code and create a new function with your own modifications.

How can I extract points from image file using R? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I am trying to extract points from scanned image file from printed book. The image is quite clear.
Does anyone can help me?
In R you can use the digitize package.
The full explanations are here and there and.. well google has lots more.

How to trigger R code from excel? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I want to trigger R code from an excel spreadsheet. I couldn't find any options other than Rexcel. Is there any alternative or simpler way to do this (may be use VBA)?
In VBA you can call any command line programs, so you can call R in batch mode.
Call Shell("R --vanilla scriptfile.R outputfile.txt")

Resources