Hot answers tagged

2

I like visjs as a pure JS solution. With R I'd use the visNetwork Package to export dataframes (=tables) to JS-based plots (based on vis.js), but here are many other libraries. Here is an example: library(visNetwork) nodes <- data.frame(id = 1:4) edges <- data.frame(from = c(2,4,3,2), to = c(1,2,4,3)) visNetwork(nodes, edges, width = "100%") %>%...


2

VMime is a C++ email library that supports IMAP as well as POP3 and SMTP. Webpage: https://www.vmime.org GitHub: https://github.com/kisli/vmime Features: It is free, GNU GPL licensed software Fully RFC compliant implementation Modular design Easy to use and intuitive design Well documented C++ code Highly reliable Maximum portability


1

The standard python library subprocess has popen and since 3.5 run both of which support piping to stdin and from both stdout and stderr to do this. Currently run is the recommended use where it can handle the required functionality. See the documents for details. Be sure to read the Frequently Used Arguments section carefully. If there is expected to be a ...


1

You might be able to get the output of a command by redirecting output to a file and reading that file. The following should work on most platforms: from os import system system("yourcommand 1> logfile.txt 2>&1") # add " &" (without quotes) to the end of the command string to skip waiting for execution to complete. Note that you'll need to ...


1

This is called a network diagram, and you can use (for instance) the free desktop app Gephi or igraph to plot these. Usually the input data is given either as a nodelist and an edgelist as an adjacency matrix --that's what you mentioned? in other forms You make these plots by filtering the graphs, and plotting subsets. I personally would use R and the ...


1

Depends on what you want. Boost has two geometry libraries, boost::geometry which is not robust but has advanced stuff like non-euclidean geometry (such as latitude/longitude on the Earth) and boost::polygon which is robust but doesn't have as many features. CGAL is another popular one, which is also robust but can sometimes be slow. Some parts of CGAL are ...


Only top voted, non community-wiki answers of a minimum length are eligible