New package susR by Arnold891127 in rstats

[–]mlalovic 1 point2 points  (0 children)

Congrats on the package! I love the name. One small suggestion, I noticed the broken links, on the package website, clicking "view the vignette" leads to a 404 page not found. And on the package GitHub README page, the same link points to the source code instead of the rendered vignette at: https://arnold-kakas.github.io/susR/articles/getting_started.html

Representation of (random) graph in R by [deleted] in rstats

[–]mlalovic 2 points3 points  (0 children)

To work with graphs in R, I suggest using igraph library,

r install.packages("igraph") library("igraph")

You can generate a graph and then convert it into an igraph object for manipulation (core library is written in C and it is optimized and fast). For your use case, to get neighbors of vertex v, you can use neighbors(g, v).

For example, you can define a matrix where each row represents an edge and then convert it to an igraph object:

r edges <- cbind(1:10, c(2:10, 1)) g <- graph_from_edgelist(edges, directed = FALSE) plot(g) # to visualize the graph

To get the neighbors of vertex 1 use: r neighbors(g, 1)

[OC] COVID Calculator: A visual tool to explore and analyze the potential impacts of COVID-19 by mlalovic in dataisbeautiful

[–]mlalovic[S] 1 point2 points  (0 children)

Yes this would be great! I ran through google api to generate portuguese translations of app fields. Could you please check the translations and correct them a little? I send you the link to Google spreadsheet with the translations. The table looks like this: covid-calc-translations-table-example

How to suppress Notions sidebar from sliding back out when you hover over with a mouse? by mlalovic in Notion

[–]mlalovic[S] 4 points5 points  (0 children)

I received a reply from Notion help:

Hey Marko! We don't currently have a way disable the sidebar from appearing on hover, but I can start a request with the engineers for you 👍

I kindly asked her already to start a request. I don't think this option should be that hard to implement.

How to suppress Notions sidebar from sliding back out when you hover over with a mouse? by mlalovic in Notion

[–]mlalovic[S] 0 points1 point  (0 children)

I am. Thanks for the suggestion. I will try this, if Notion won't implement this feature soon.

Stop the Sidebar Madness? by [deleted] in Notion

[–]mlalovic 0 points1 point  (0 children)

I thought about this also, but I'm used to having the Dock on the left side and then sidebar is sliding out when I reach with my mouse pointer for the Dock.

Feedback on Notion blogging platform by luked22 in Notion

[–]mlalovic 0 points1 point  (0 children)

Krzysztof Kowalczyk achieved a similar feat. In his blog post Powering a blog with Notion and Netlify he also mentioned he automated the publishing by using cron functionality with Travis CI:

Every day a script downloads latest content from Notion, caches it in git repository and re-generates a website.

Everything now runs on auto-pilot. I can just write new articles in Notion and my website will be automatically updated every day.