nx10 / httpgd

Asynchronous http server graphics device for R.
https://nx10.github.io/httpgd
GNU General Public License v2.0
368 stars 19 forks source link

httpgd 1.4 #92

Closed nx10 closed 2 years ago

nx10 commented 2 years ago

Server:

Client:

Docs:

nx10 commented 2 years ago

Updates:

Edit: It seems like packages can not be submitted until January 3rd as the CRAN submission team is on vacation. The code is ready now and I will upload as soon as its possible again.

nx10 commented 2 years ago

After some technical difficulties with the new windows server 1.3 is now on CRAN.

nx10 commented 2 years ago

I think its time to consider breaking httpgd up into smaller packages. I have a few reasons for this:

My proposal is breaking httpgd in 2 seperate packages:

Let me know what you think.

BerriJ commented 2 years ago

Thank you very much @nx10 I really love httpgd and I use it every day, However, I sometimes hit performance limits when plotting ggplot graphics with a lot of points. Those issues do not occur with the default R graphics device. I do not know If GPU utilization is the difference here but if this would be solved, httpgd would be just perfect. Ahh and splitting up the package is a great Idea in my opinion. I really do not need the webserver.

nx10 commented 2 years ago

@BerriJ Thank you very much, I am glad you like it. How are you using httpgd when the performance issues appear? Do you use VScode / RStudio and are you using the plot viewer or saving files with R instructions?

BerriJ commented 2 years ago

I'm using httpgd inside of VS-Code together with the R extension. I can easily kill httpgd with

plot(rnorm(1000000), rnorm(1000000))

Which, admittedly, are a lot of points. I have some more complicated ggplots with fewer points that also fail. However, creating a reprex here wouldn't be that easy. However, if you think a reprex of those plots would be beneficial, I'll create one for you.

I usually save my plots using ggsave or using tikzdevice. So this does not rely on httpgd right? Saving is never a problem.

nx10 commented 2 years ago

Closed in favor of https://github.com/nx10/httpgd/pull/111