Giter Site home page Giter Site logo

mrup's Issues

Default MRU has changed

Default MRU path on Windows seems to have changed in RStudio 2022-02 from

AppData/Local/RStudio-Desktop

to

AppData/Local/rstudio**

Modularize

I might be better if there was a "choose dir" input in the add projects tab, and maybe the rename projects tab as well.
However, I think it would be best to implement a module to reuse the shinyfiles code, and I seem to have a problem making shinyfiles work with modules.
Refactoring (#1) would likely help with this.

Slow loading

Thank you for the nice plugin, this is something I was looking for, but got aware about recently.

I installed your plugin and tried to use it. However, none of the buttons respond, the button icons are missing and the window is blank, no previously used projects are displayed. I am not able to do anything. Although the guide in the README says "It may take several seconds to complete the search, with the time increasing the closer you get to the root directory of a hard disk.", in my case it takes about three minutes. I don't think this is due to a slow computer because I have quite powerful machine with 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz (eight cores) and 64BG of RAM.

About a minute after I start the plugin, I get the following printed in the console nearly 400 times:

Warning in list.dirs(search_dir, full.names = TRUE, recursive = FALSE) :
over-long path

About two minutes after this I get the plugin working.

Warning when navigating dirs with shinyFiles

Two warnings are printed whenever current directory is changed using the shinyFiles widget.
mrup functionality appears unnaffected (?) so far as I can tell.

The warnings:

Warning in is.null(tree) || is.na(tree) :
  'length(x) = 7 > 1' in coercion to 'logical(1)'

Warning in is.null(files$dir) || is.na(files$dir) :
  'length(x) = 2 > 1' in coercion to 'logical(1)'

The warning appears on Mac, haven't checked Windows yet. - Have now, and it does.

There here have been a couple of recent changes in the shinyFiles repo that I maybe need to account for.

Refactor

Needs some serious refactoring. Specifically converting operations into functions would make it much easier to remember how it works.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.