Comments (8)
@nokome Can you help figuring out what is going wrong here?
from nbstencilaproxy.
@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.
@nokome Is your message https://gitter.im/stencila/stencila?at=5af6a5ccb84be71db9fed8e0 potentially a solution to this error?
from nbstencilaproxy.
@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.
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.
Sure, we have no deadline. Let me know when you finished your updates and I'll try them out!
from nbstencilaproxy.
@nokome How is it going?
from nbstencilaproxy.
@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.
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)
- Add a "New Stencila Session" link on the Jupyter landing page UI HOT 2
- Fix serving static files through nbserverproxy HOT 1
- Automatically detect and install required contexts (e.g. R, Py, SQL) using dar reproducible elements HOT 10
- Set up context for plain Python (not using JupyterPy) HOT 11
- Add a landing page listing all Dar documents/projects in the archive folder HOT 7
- [Suggestion] Change urlpath to just "stencila" HOT 2
- [Suggestion] Automatically convert .ipynb and .Rmd files in the user's repo to Dar HOT 2
- Get merged upstream into repo2docker HOT 1
- Sprint wrap-up blog post HOT 17
- mini, JS and SQL example
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nbstencilaproxy.