44 Matching Annotations
  1. Oct 2024
  2. Apr 2024
  3. Mar 2024
    1. Frequent re- arrangements are a distinct disadvantage,for with every change the filer loses much time in becoming familiaragain with the new positions.

      While Kaiser recommends against the need to re-arrange physical cards from one drawer to another, which creates the need to refamiliarize oneself with their new locations, the same idea applies to switching from one digital note taking application to another as a similar switch of user interface functionality may cause additional overhead and stress thereby preventing quick use of the system itself.

    2. It is there-fore to be expected that the initial cost of the card system is nota fair criterion of its cost when in working order.

      Setting up and learning a note taking or card index system has a reasonably large up-front cost, but learning it well and being able to rely on it over long periods of time will eventually reap larger and cheaper long-term outcomes and benefits.

      Unless changing systems creates dramatically larger improvements, the cost of change will surely swamp the benefits making the switch useless. This advice given by Kaiser is still as true today as it was in 1908, we tend not to think about the efficiency as much now as he may have then however and fall trap to shiny object syndrome.

  4. Sep 2023
    1. I’ve been flitting around loads of note taking platforms - each time, I bask in the glory of a new tool then about 3-4 weeks later I’m done.The one lasting tool is Roam, which I still like despite it being tossed aside by many for other tools. I use TickTick for my task management.I’ve recently returned to journaling or writing things down for that I’ve done and what I want to achieve. I still have an online and mobile task list but I really find writing useful for reflecting.Getting into Zettkekasten, I’m about to use a paper card based approach to do a spell of studying. Im looking forward to the analogue experience but almost feel like I’m being disloyal to the modern digital way. I’m looking forward to seeing if this method helps digest the learning and seeing where this takes me.

      reply to u/FilterGrad6 at https://www.reddit.com/r/Zettelkasten/comments/16iwdep/newbie/

      Digital is just a tool. Why necessarily chose it over analog unless you can specifically identify affordances which dramatically improve your experience or output?

      As you've discovered, shiny object syndrome may prevent you from collecting enough into one place to be truly useful and valuable. Pick one that seems to work for you and build from there.

      If paper was good enough for the practices and outputs of Carl Linnaeus, Konrad Gessner, Gottfried Wilhelm Leibnitz, John Locke, Hans Blumenberg, Roland Barthes, Beatrice Webb, Jacques Barzun, Niklas Luhmann, Gertrud Bauer, Marcel Mauss, Phyllis Diller, and so many others is there any reason it shouldn't work just as effectively for your work?

  5. Aug 2023
    1. Some packages contain C and C++ code which needs to be compiled during package installation if packages are installed from source. CompilationConcurrency

      This may be what prevent R from installing xgboost.

    1. Does anyone has it’s Zettelkasten in Google Docs, Microsoft Word or Plain Tex (without a hood app like obsidian or The Archive)? .t3_15fjb97._2FCtq-QzlfuN-SwVMUZMM3 { --postTitle-VisitedLinkColor: #9b9b9b; --postTitleLink-VisitedLinkColor: #9b9b9b; --postBodyLink-VisitedLinkColor: #989898; }

      reply to u/Efficient_Earth_8773 at https://www.reddit.com/r/Zettelkasten/comments/15fjb97/does_anyone_has_its_zettelkasten_in_google_docs/

      Experimenting can be interesting. I've tried using spreadsheet software like Google Sheets or Excel which can be simple and useful methods that don't lose significant functionality. I did separate sheets for zettels, sources, and the index. Each zettel had it's own row with with a number, title, contents, and a link to a source as well as the index.

      Google Docs might be reasonably doable, but the linking portion may be one of the more difficult affordances to accomplish easily or in a very user-centric fashion. It is doable though: https://support.google.com/docs/answer/45893?hl=en&co=GENIE.Platform%3DDesktop, and one might even mix Google Docs with Google Sheets? I could see Sheets being useful for creating an index and or sources while Docs could be used for individual notes as well. It's all about affordances and ease of use. Text is a major portion of having and maintaining a zettelkasten, so by this logic anything that will allow that could potentially be used as a zettelkasten. However, it helps to think about how one will use it in practice on a day-to-day basis. How hard will it be to create links? Search it? How hard will it be when you've got thousands of "slips"? How much time will these things take as it scales up in size?

      A paper-based example: One of the reasons that many pen and paper users only write on one side of their index cards is that it saves the time of needing to take cards out and check if they do or don't have writing on the back or remembering where something is when it was written on the back of a card. It's a lot easier to tip through your collection if they're written only on the front. If you use an alternate application/software what will all these daily functions look like compounded over time? Does the software make things simpler and easier or will it make them be more difficult or take more time? And is that difficulty and time useful or not to your particular practice? Historian and author David McCullough prefers a manual typewriter over computers with keyboards specifically because it forces him to slow down and take his time. Another affordance to consider is how much or little work one may need to put into using it from a linking (or not) perspective. Using paper forces one to create a minimum of at least one link (made by the simple fact of filing it next to another) while other methods like Obsidian allow you to too easily take notes and place them into an infinitely growing pile of orphaned notes. Is it then more work to create discrete links later when you've lost the context and threads of potential arguments you might make? Will your specific method help you to regularly review through old notes? How hard will it be to mix things up for creativity's sake? How easy/difficult will it be to use your notes for writing/creating new material, if you intend to use it for that?

      Think about how and why you'd want to use it and which affordances you really want/need. Then the only way to tell is to try it out for a bit and see how one likes/doesn't like a particular method and whether or not it helps to motivate you in your work. If you don't like the look of an application and it makes you not want to use it regularly, that obviously is a deal breaker. One might also think about how difficult/easy import/export might be if they intend to hop from one application to another. Finally, switching applications every few months can be self-defeating, so beware of this potential downfall as you make what will eventually need to be your ultimate choice. Beware of shiny object syndrome or software that ceases updating in just a few years without easy export.

  6. May 2023
    1. https://www.youtube.com/watch?v=dvLkVimqv8E

      Review of the Analog productivity system. Quick overview with generally positive tenor.

      The creator mentions that he collects productivity systems like Pokémon! A sort of affliction of shiny object syndrome in the productivity space.

      Passing mention of Patrick Rhone's dash/plus system

    1. I used Apple Notes, Evernote, Roam, Obsidian, Bear, Notion, Anki, RemNote, the Archive and a few others. I was pondering about different note types, fleeting, permanent, different organisational systems, hierarchical, non-hierarchical, you know the deal. I often felt lost about what to takes notes on and what not to take notes on.

      Example of someone falling prey to shiny object syndrome, switching tools incessantly, then focusing on too many of the wrong things/minutiae and getting lost in the shuffle.

      Don't get caught up into this. Understand the basics of types of notes, but don't focus on them. Let them just be. Does what you've written remind you of the end goal?

  7. Apr 2023
    1. AnthonyJohn @AnthonyJohn@pkm.socialDo you ever get the feeling that you're in an abusive relationship is note taking apps. I've used then all and in my pursuit for perfection have achieved absolutely nothing. This is the subject of my next long-form essay. subscribe for free at http://notentirelyboring.com to read it first. (And you'll also get a weekly newsletter thats not entirely boring)#PKM #NoteTaking #Obsidian #RoamResearch #Logseq #BearApr 20, 2023, 24:40

      reply to @AnthonyJohn@pkm.social at https://mastodon.social/@AnthonyJohn@pkm.social/110230007393359308

      Perfectionism and Shiny object syndrome are frequently undiagnosed diseases. Are you sure it's not preventing you from building critical mass in one place to actually accomplish your goals? Can't wait to see the essay.

      syndication link

  8. Mar 2023
    1. Another way to widen the pool of stakeholders is for government regulators to get into the game, indirectly representing the will of a larger electorate through their interventions.

      This is certainly "a way", but history has shown, particularly in the United States, that government regulation is unlikely to get involved at all until it's far too late, if at all. Typically they're only regulating not only after maturity, but only when massive failure may cause issues for the wealthy and then the "regulation" is to bail them out.

      Suggesting this here is so pie-in-the sky that it only creates a false hope (hope washing?) for the powerless. Is this sort of hope washing a recurring part of

  9. Feb 2023
    1. Stop Procrastinating With Note-Taking Apps Like Obsidian, Roam, Logseq https://www.youtube.com/watch?v=baKCC2uTbRc by Sam Matla

      sophisticated procrastination - tweaking one's system(s) or workflow with the anticipation it will help them in the long run when it is generally almost always make-work which helps them feel smart and/or productive. Having measurable results which can be used against specific goals will help weed this problem out.

    2. optimization-procrastination trap is related to shiny object syndrome - the idea of tweaking one's system constantly

      perfect tool trap - guess what? there isn't one

    1. I got rid of most of the features after I realized that they are redundant or a just plain harmful when they slowed me down.

      Many long time practitioners of note taking methods, particularly in the present environment enamored with shiny object syndrome, will advise to keep one's system as simple as possible. Sascha Fast has specifically said, "I got rid of most of the features after I realized that they are redundant or a (sic) just plain harmful when they slowed me down."

    1. Even after making positive changes through the LYT framework I’m still fighting my instincts to fiddle with all the things™ and not actually engage in the content. It’s totally a way I procrastinate or get hit with productivity paralysis, like @Erisred mentioned because everything has to be perfect before I can engage with it.
    1. According to Shulman, "Cargo-cult is a belief that mock airplanes made of manure and straw-bale may summon the real airplanes who bring canned beef. Reverse cargo-cult is used by the political elites in countries lagging behind who proclaim that, in the developed world, airplanes are also made of manure and straw-bale, and there is also a shortage of canned beef."[29]

      "Екатерина Шульман: Практический Нострадамус, или 12 умственных привычек, которые мешают нам предвидеть будущее". vedomosti/ (in Russian). Retrieved 24 June 2021.


      A Note on the Cargo Cult of Zettelkasten

      Modern cargo cults can be seen in many technology and productivity spaces where people are pulled in by exaggerated (or sometimes even real claims) of productivity or the general "magic" of a technology or method.

      An example is Niklas Luhmann's use of his zettelkasten which has created a cargo cult of zettelkasten aspirants and users who read one or more of the short one page blog posts about his unreasonable productivity and try to mimic it without understanding the system, how it works, or how to make it work for them. They often spend several months collecting notes, and following the motions, but don't realize the promised gains and may eventually give up, sometimes in shame (or as so-called "rubbish men") while watching others still touting its use.

      To prevent one's indoctrination into the zettelkasten cult, I'll make a few recommendations:

      Distance yourself from the one or two page blog posts or the breathless YouTube delineations. Ask yourself very pointedly: what you hope to get out of such a process? What's your goal? Does that goal align with others' prior uses and their outcomes?

      Be careful of the productivity gurus who are selling expensive courses and whose focus may not necessarily be on your particular goals. Some are selling very pointed courses, which is good, while others are selling products which may be so broad that they'll be sure to have some success stories, but their hodge-podge mixture of methods won't suit your particular purpose, or worse, you'll have to experiment with pieces of their courses to discover what may suit your modes of working and hope they'll suffice in the long run. Some are selling other productivity solutions for task management like getting things done (GTD) or bullet journals, which can be a whole other cargo cults in and of themselves. Don't conflate these![^1] The only thing worse than being in a cargo cult is being in multiple at the same time.

      If you go the digital route, be extremely wary of shiny object syndrome. Everyone has a favorite tool and will advocate that it's the one you should be using. (Often their method of use will dictate how much they love it potentially over and above the affordances of the tool itself.) All of these tools can be endlessly configured, tweaked, or extended with plugins or third party services. Everyone wants to show you their workflow and set up, lots of which is based on large amounts of work and experimentation. Ignore 99.999% of this. Most tools are converging to a similar feature set, so pick a reasonable one that seems like it'll be around in 5 years (and which has export, just in case). Try out the very basic features for several months before you change anything. Don't add endless plugins and widgets. You're ultimately using a digital tool to recreate the functionality of index cards, a pencil, and a box. How complicated should this really be? Do you need to spend hundreds of hours tweaking your system to save yourself a few minutes a year? Be aware that far too many people touting the system and marketers talking about the tools are missing several thousands of years of uses of some of these basic literacy-based technologies. Don't join their island cult, but instead figure out how the visiting culture has been doing this for ages.[^2] Recall Will Hunting's admonition against cargo cults in education: “You wasted $150,000 on an education you coulda got for $1.50 in late fees at the public library.”[^3]

      Most people ultimately realize that the output of their own thinking is only as good as the inputs they're consuming. Leverage this from the moment you begin and ignore the short bite-sized advice for longer form or older advice from those with experience. You're much more likely to get more long term value out of reading Umberto Eco or Mortimer J. Adler & Charles van Doren[^4] than you are an equivalent amount of time reading blog posts, watching YouTube videos, or trolling social media like Reddit and Twitter.

      Realize that reaching your goal is going to take honest-to-goodness actual work, though there is potential for fun. No matter how shiny or optimized your system, you've still got to do the daily work of reading, watching, listening and using it to create anything. Focus on this daily work and don't get sidetracked by the minutiae of trying to shave off just a few more seconds.[^5] In short, don't get caught up in the "productivity porn" of it all. Even the high priest at whose altar they worship once wrote on a slip he filed:

      "A ghost in the note card index? Spectators visit [my office to see my notes] and they get to see everything and nothing all at once. Ultimately, like having watched a porn movie, their disappointment is correspondingly high." —Niklas Luhmann. <small>“Geist im Kasten?” ZKII 9/8,3. Niklas Luhmann-Archiv. Accessed December 10, 2021. https://niklas-luhmann-archiv.de/bestand/zettelkasten/zettel/ZK_2_NB_9-8-3_V. (Personal translation from German with context added.)</small>


      [^1] Aldrich, Chris. “Zettelkasten Overreach.” BoffoSocko (blog), February 5, 2022. https://boffosocko.com/2022/02/05/zettelkasten-overreach/.

      [^2]: Blair, Ann M. Too Much to Know: Managing Scholarly Information before the Modern Age. Yale University Press, 2010. https://yalebooks.yale.edu/book/9780300165395/too-much-know.

      [^3]: Good Will Hunting. Miramax, Lawrence Bender Productions, 1998.

      [^4]: Adler, Mortimer J., and Charles Van Doren. How to Read a Book: The Classic Guide to Intelligent Reading. Revised and Updated edition. 1940. Reprint, New York: Simon & Schuster, 1972.

      [^5]: Munroe, Randall. “Is It Worth the Time?” Web comic. xkcd, April 29, 2013. https://xkcd.com/1205/.


      Recommended resources

      Choose only one of the following and remember you may not need to read the entire work:

      Ahrens, Sönke. How to Take Smart Notes: One Simple Technique to Boost Writing, Learning and Thinking – for Students, Academics and Nonfiction Book Writers. Create Space, 2017.

      Allosso, Dan, and S. F. Allosso. How to Make Notes and Write. Minnesota State Pressbooks, 2022. https://minnstate.pressbooks.pub/write/.

      Bernstein, Mark. Tinderbox: The Tinderbox Way. 3rd ed. Watertown, MA: Eastgate Systems, Inc., 2017. http://www.eastgate.com/Tinderbox/TinderboxWay/index.html.

      Dow, Earle Wilbur. Principles of a Note-System for Historical Studies. New York: Century Company, 1924.

      Eco, Umberto. How to Write a Thesis. Translated by Caterina Mongiat Farina and Geoff Farina. 1977. Reprint, Cambridge, MA, USA: MIT Press, 2015. https://mitpress.mit.edu/books/how-write-thesis.

      Gessner, Konrad. Pandectarum Sive Partitionum Universalium. 1st Edition. Zurich: Christoph Froschauer, 1548.

      Goutor, Jacques. The Card-File System of Note-Taking. Approaching Ontario’s Past 3. Toronto: Ontario Historical Society, 1980. http://archive.org/details/cardfilesystemof0000gout.

      Sertillanges, Antonin Gilbert, and Mary Ryan. The Intellectual Life: Its Spirit, Conditions, Methods. First English Edition, Fifth printing. 1921. Reprint, Westminster, MD: The Newman Press, 1960. http://archive.org/details/a.d.sertillangestheintellectuallife.

      Webb, Sidney, and Beatrice Webb. Methods of Social Study. London; New York: Longmans, Green & Co., 1932. http://archive.org/details/b31357891.

      Weinberg, Gerald M. Weinberg on Writing: The Fieldstone Method. New York, N.Y: Dorset House, 2005.

  10. Dec 2022
    1. So I’ve started a routine where every few years, I block out a couple of days to sit down and review all my idea tools—and other rituals of how I structure my creative thinking— to see if there's something that can be improved upon.

      As a strategy for avoiding shiny object syndrome, one can make a routine of making a "creative inventory" of one's tools.

      There is generally a high switching cost, so tools need to be an order of magnitude more useful, beneficial, or even fun to make it worthwhile.

    2. In my line of work as a writer, there’s a near endless stream of new applications coming out that touch different stages in my workflow: e-book readers, notetaking apps, tools for managing PDFs, word processors, bibliographic databases. The problem is that it’s very tricky to switch horses midstream with these kinds of tools, which means you have a natural tendency to get locked into a particular configuration, potentially missing out on better approaches.

      Steven Johnson indicates that it can be difficult to change workflows, tools, apps, etc.

    3. I quickly found myself in the ironic situation of spending so much time building a tool to help with my schoolwork that I stopped actually doing my schoolwork.

      Early example of being overwhelmed by one's tool.

    1. There are different kinds of information, some of which don't make sense being recorded at all. I was struggling with what to record and what not to record for a long time. For example, I took notes on programming syntax that are just useless (most of these things can be googled in seconds and they are usually decently documented already).

      How was this not obvious from the jump? Was the author of the essay so distracted by shiny object syndrome they failed to see the obvious?

      It's like taking notes in a language class... the goal is to read and write with fluency, so you practice these things regularly and gain fluency over time. Taking notes about the grammar and syntax of a language is highly unlikely to get you to fluency. Note taking is the wrong tool for a number of processes and the user should very quickly get a gut feeling for what's useful and what is not.

      This author obviously missed the boat here.

    2. But then life went on and nothing really happened.

      https://www.reddit.com/r/Zettelkasten/comments/zl2hwh/is_the_concept_of_personal_knowledge_management/

      This essay seems to be more about shiny object syndrome. The writer doesn't seem to realize any problems they've created. Way too much digging into tools and processes. Note the switching and trying out dozens of applications. (Dear god, why??!!) Also looks like a lot of collecting digitally for no clear goal. As a result of this sort of process it appears that many of the usual affordances were completely blocked, unrealized, and thus useless.

      No clear goal in mind for anything other than a nebulous being "better".

      One goal was to "retain what I read", but nothing was actively used toward this stated goal. Notes can help a little, but one would need mnemonic methods and possibly spaced repetition neither of which was mentioned.

      A list of specific building blocks within the methods and expected outcomes would have helped this person (and likely others), but to my knowledge this doesn't exist as a thing yet though bits and pieces are obviously floating around.<br /> TK: building blocks of note taking

      Evidence here for what we'll call the "perfect system fallacy", an illness which often goes hand in hand with "shiny object syndrome".

      Too many systems bound together will create so much immediate complexity that there isn't any chance for future complexity or emergence as the proximal system is doomed to failure. One should instead strive for immediate and excessive simplicity which might then build with time, use, and practice into something more rich and complex. This idea seems to be either completely missed or lost in the online literature and especially the blogosphere and social media.


      people had come up with solutions Sadly, despite thousands of variations on some patterns, people don't seem to be able to settle on either "one solution" or their "own solution" and in trying to do everything all at once they become lost, set adrift, and lose focus on any particular thing they've got as their own goal.

      In this particular instance, "retaining what they read" was totally ignored. Worse, they didn't seem to ever review over their notes of what they read.


      I was pondering about different note types, fleeting, permanent, different organisational systems, hierarchical, non-hierarchical, you know the deal.

      Why worry about all the types of notes?! This is the problem with these multi-various definitions and types. They end up confusing people without giving them clear cut use cases and methods by which to use them. They get lost in definitional overload and aren't connecting the names with actual use cases and affordances.


      I often felt lost about what to takes notes on and what not to take notes on.

      Why? Most sources seem to have reasonable guidance on this. Make notes on things that interest you, things which surprise you.

      They seem to have gotten lost in all the other moving pieces. Perhaps advice on this should come first, again in the middle, and a third time at the end of these processes.

      I'm curious how deeply they read sources and which sources they read to come to these conclusions? Did they read a lot of one page blog posts with summarizations or did they read book length works by Ahrens, Forte, Allosso, Scheper, et al? Or did they read all of these and watch lots of crazy videos as well. Doing it "all" will likely lead into the shiny object syndrome as well.

      This seems to outline a list of specifically what not to do and how not to approach these systems and "popular" blog posts that are an inch deep and a mile wide rather than some which have more depth.

      Worst of all, I spent so much time taking notes and figuring out a personal knowledge management system that I neglected the things I actually wanted to learn about. And even though I kind of always knew this, I kept falling into the same trap.

      Definitely a symptom of shiny object syndrome!

  11. Nov 2022
    1. I'm pretty much done thinking about "tools for thought". It quickly becomes an infinity of navel gazing and a complete waste of time. It's an easy topic for budding "influencers" because you don't actually need to know anything. All they need is to spend some time with a new bit of software and tell people how they should use it and the next thing you know they're selling an online course via their budding YouTube channel.

      scathing, but broadly true...

  12. Oct 2022
    1. If you're trying out @tana_inc and are not on the slack... why not?? There are so many talented people coming up with awesome workflows

      https://twitter.com/syncretizm/status/1581264527336669184

      So many in the tools for thought space either have shiny object syndrome or are focusing on "workflows". Eventually you have to quit looking at and building workflows to actually get some work done.

  13. May 2022
    1. Common Pitfalls to Avoid When Choosing Your App

      What are the common pitfalls when choosing a note taking application or platform?

      Own your data

      Prefer note taking systems that don't rely on a company's long term existence. While Evernote or OneNote have been around for a while, there's nothing to say they'll be around forever or even your entire lifetime. That shiny new startup note taking company may not gain traction in the market and exist in two years. If your notes are trapped inside a company's infrastructure and aren't exportable to another location, you're simply dead in the water. Make sure you have a method to be able to export and own the raw data of your notes.

      Test driving many

      and not choosing or sticking with one (or even a few)<br /> Don't get stunned into inaction by the number of choices.

      Shiny object syndrome

      is the situation where people focus all attention on something that is new, current or trendy, yet drop this as soon as something new takes its place.<br /> There will always be new and perhaps interesting note taking applications. Some may look fun and you'll be tempted to try them out and fragment your notes. Don't waste your time unless the benefits are manifestly clear and the pathway to exporting your notes is simple and easy. Otherwise you'll spend all your time importing/exporting and managing your notes and not taking and using them. Paper and pencil has been around for centuries and they work, so at a minimum do this. True innovation in this space is exceedingly rare, and even small affordances like the ability to have [[wikilinks]] and/or bi-directional links may save a few seconds here and there, in the long run these can still be done manually and having a system far exceeds the value of having the best system.

      (Relate this to the same effect in the blogosphere of people switching CMSes and software and never actually writing content on their website. The purpose of the tool is using it and not collecting all the tools as a distraction for not using them. Remember which problem you're attempting to solve.)

      Future needs and whataboutisms

      Surely there will be future innovations in the note taking space or you may find some niche need that your current system doesn't solve. Given the maturity of the space even in a pen and paper world, this will be rare. Don't worry inordinately about the future, imitate what has worked for large numbers of people in the past and move forward from there.

      Others? Probably...

    1. Two good places to start are https://blog.r-hub.io/2020/08/25/js-r/#web-dependency-management and https://unleash-shiny.rinterface.com/htmltools-dependencies.html.

      Resources for how to incorporate html and css to shiny

    2. good place to start are the HTML and CSS basics tutorials by MDN.

      These are link for HTML and CSS tutorials

  14. Feb 2021
    1. Sass

      Define variables, such as colors (e.g. $primary: #337ab7) in Sass (styles.scss) then compile to css for web.

      R library "bootstraplib" built on foundation of "sass".

      Use "run_with_themer()" to get a live preview GUI for customizing bootstrap theme.

      Also, use "shinyOptions(plot.autocolors=TRUE)" at top of app to get plot outputs that respect Dark Mode.

  15. Jan 2021
    1. I think I'm seeing some weird behavior when I select "bill_length_mm" on this chart: check it out. Is that expected?

    2. Hey Tom, would you mind taking a look at the following in the next round of testing?

      • Let me know if the colors are OK in this chart
      • Should I replace the WellPanel elements here with something else? Link

      Thanks!

  16. Oct 2020
  17. Jun 2020
  18. Mar 2020
    1. We save all of this code, the ui object, the server function, and the call to the shinyApp function, in an R script called app.R

      The same basic structure for all Shiny apps:

      1. ui object.
      2. server function.
      3. call to the shinyApp function.

      ---> examples <---

    2. ui

      UI example of a Shiny app (check the code below)

    3. server

      Server example of a Shiny app (check the code below):

      • random distribution is plotted as a histogram with the requested number of bins
      • code that generates the plot is wrapped in a call to renderPlot
    4. I want to get the selected number of bins from the slider and pass that number into a python method and do some calculation/manipulation (return: “You have selected 30bins and I came from a Python Function”) inside of it then return some value back to my R Shiny dashboard and view that result in a text field.

      Using Python scripts inside R Shiny (in 6 steps):

      1. In ui.R create textOutput: textOutput("textOutput") (after plotoutput()).
      2. In server.R create handler: output$textOutput <- renderText({ }].
      3. Create python_ref.py and insert this code:
      4. Import reticulate library: library(reticulate).
      5. source_python() function will make Python available in R:
      6. Make sure you've these files in your directory:
      • app.R
      • python_ref.py and that you've imported the reticulate package to R Environment and sourced the script inside your R code.

      Hit run.

    5. Currently Shiny is far more mature than Dash. Dash doesn’t have a proper layout tool yet, and also not build in theme, so if you are not familiar with Html and CSS, your application will not look good (You must have some level of web development knowledge). Also, developing new components will need ReactJS knowledge, which has a steep learning curve.

      Shiny > Dash:

      • Dash isn't yet as stabilised
      • Shiny has much more layout options, whereas in Dash you need to utilise HTML and CSS
      • developing new components in Dash needs ReactJS knowledge (not so easy)
    6. You can host standalone apps on a webpage or embed them in R Markdown documents or build dashboards. You can also extend your Shiny apps with CSS themes, Html widgets, and JavaScript actions.

      Typical tools used for working with Shiny

    7. You can either create a one R file named app.R and create two seperate components called (ui and server inside that file) or create two R files named ui.R and server.R

  19. Feb 2018