Code Monkey home page Code Monkey logo

Comments (8)

nuest avatar nuest commented on August 25, 2024

@nokome Can you help figuring out what is going wrong here?

from nbstencilaproxy.

nokome avatar nokome commented on August 25, 2024

@nuest : I have partially upgraded the R packaged to the new 0.28 version of the API. There are obviously some bugs to resolve. I'll look into it now.

from nbstencilaproxy.

nuest avatar nuest commented on August 25, 2024

@nokome Is your message https://gitter.im/stencila/stencila?at=5af6a5ccb84be71db9fed8e0 potentially a solution to this error?

from nbstencilaproxy.

nokome avatar nokome commented on August 25, 2024

@nuest sorry, only just saw this. Yes, seems to fix that issue. diff attached.

There are still upgrades I need to do on the RContext I am hoping to finish them tomorrow. So if you can wait, it might save hassles.

image

Edit: Github doesn't support attaching a .patch file! Below:

diff --git a/app.js b/app.js
index 90007b4..47af922 100644
--- a/app.js
+++ b/app.js
@@ -7,7 +7,7 @@
   window.addEventListener('load', () => {
     substance.substanceGlobals.DEBUG_RENDERING = substance.platform.devtools;
     stencila.StencilaWebApp.mount({
-      archiveId: substance.getQueryStringParam('archive') || 'py-jupyter',
+      archiveId: substance.getQueryStringParam('archive') || 'r-markdown',
       storageType: substance.getQueryStringParam('storage') || 'fs',
       storageUrl: substance.getQueryStringParam('storageUrl') || './archives'
     }, window.document.body);
diff --git a/install.R b/install.R
index 3ec693d..26a9151 100644
--- a/install.R
+++ b/install.R
@@ -1,8 +1,5 @@
 library(devtools)
 options(unzip = "internal")
-# see https://github.com/stencila/r/blob/master/README.md
-#devtools::install_github("stencila/r")
-# https://github.com/stencila/r/issues/21
-devtools::install_github("nuest/r")
-stencila:::install()
-# install.packages("tidyverse")
+
+devtools::install_github("stencila/r", ref="master")
+stencila::register()
diff --git a/stencila.js b/stencila.js
index 9cb56b9..ad7b9e4 100644
--- a/stencila.js
+++ b/stencila.js
@@ -23,5 +23,5 @@ console.log("DAR public URL: %s", serverUrl);
 console.log("Serving stencila on :%s", port);
 
 server.use("/", express.static(staticDir));
-server.use(express.logger('dev'));
+//server.use(express.logger('dev'));
 server.listen(port);

from nbstencilaproxy.

nuest avatar nuest commented on August 25, 2024

Sure, we have no deadline. Let me know when you finished your updates and I'll try them out!

from nbstencilaproxy.

nuest avatar nuest commented on August 25, 2024

@nokome How is it going?

from nbstencilaproxy.

nokome avatar nokome commented on August 25, 2024

@nuest : I guess you shouldn't have told me you don't have a deadline 🙂 I must admit that took some pressure off me so I am taking the time to do the necessary upgrades properly (including long overdue formalisation and documentation of the API!). I'll think I can finish off tomorrow - I'll ping you an update either way tomorrow.

from nbstencilaproxy.

nuest avatar nuest commented on August 25, 2024

Thanks! Just for testing (and to reduce the pressue ;-) ) I could also use the dev version of stencila/r, right? Could you push what you have to a branch?

from nbstencilaproxy.

Related Issues (11)

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.