k-barton / komodor Goto Github PK
View Code? Open in Web Editor NEWR interface for Komodo
License: GNU General Public License v2.0
R interface for Komodo
License: GNU General Public License v2.0
Possibly via temporary file.
kor::captureAll
outputs error message from restartError
instead of the original one. This happens because no sys.calls()
are passed to it (when doTraceback=TRUE
).
Example:
:> test <- function(foo) `{
on.exit(return(foo))
stop("test error")
}
test(1)
Error in fun(quote(1)) : argument "calls" is missing, with no default
while the actual message should be:
Error: test error
... while it should search in kor::getEvalEnv()
.
Upon setting evalEnv
to a list, new variables go to .GlobalEnv
(?), and are not found. Either convert to an environment or set enclosing enviroment to .GlobalEnv
.
Setting evalEnv
to an environment with empty parent env causes no base
functions are found. Throw an error.
For example kor::completion("żaba$jeż")
returns "".
Problem lies in utils:::.guessTokenFromLine
. This is because "\w"
in regex does not find non-ascii characters (as it does on Windows).
Add a function kor::view
to produce html document presenting a data.frame, and view it in the help window or browser tab.
I recently installed the R Interface
package for Komodo Edit. Everything seems perfectly normal from the Komodo side: Rterm window appears, test connection a "success", etc... However, I get the following error in the Rterm window when I try to run a simple test, rnorm(5)
, from the scripting window:
Error in assign("last.warning", last.warning, envir = baseenv()) : cannot change value of locked binding for 'last.warning'
I can input/output R code successfully in the Rterm window, but of course, that defeats the purpose of Komodo entirely.
Here's the full error output.
Any suggestions?
Add search path command for R package help, and for "package:xxx" items when selected (Shift+F1) - when focused.
Allow for attaching packages by selecting from drop down list (above the search path richlistbox).
I'm sure many people would love to take this for a spin :) Great work!
Instructions: http://komodoide.com/packages/submit-instructions/#pane-packages
In 'REvalListener.onDone': while invoking callback
-- EXCEPTION START --
TypeError: response.message.join is not a function
+ stack
updateInfo@chrome://komodor/content/pkgman/pkgman.js:290:13
onDone@resource://gre/modules/commonjs/toolkit/loader.js -> resource://kor/connector.js:102:21
rEvalObserver.observe@resource://gre/modules/commonjs/toolkit/loader.js -> resource://kor/connector.js:306:36
-- EXCEPTION END --
Example:
cat(kor::stringize(kor::pkgManInstallPackages("spdep", ask=FALSE)))
Example:
żółw <- list(trata = 1, tata = 2, abcdefgh = 3)
żółw$ # completions are: a, defgh, ta
Executes kor::write.objList(kor::objls(envir="<DETACHED_ENV_LABEL>", ...), ...)
In addition, on start, item's checkbox is unchecked.
Evaluation environment set by kor::setEvalEnv(new.env())
shows in "Search path" but not in objects tree.
After restarting R and Komodo's socket server: R cannot connect to Komodo - wrong port is given.
Why "Told socket server to stop" is notified twice?
Why "serverObserver: r-server-stopped" shows up after "serverObserver: r-server-started"?
Example:
test <- list(foo = list(A=1, B=2))
completion("test$foo$") # ok
completion("test$`foo`$") # ""
pkgManLoadPackage("<name of the package that gives error messages on load>")
ROB is anyway refreshed when tab panel is brought on top.
Lexer for Komodo is written in Luddite. Currently there are numerous problems with it.
In addition, R code blocks are not fully functional - code completion and syntax checking does not work.
Add internal R code formatter that directly uses parse
data.
When the object has a lot of sub-elements, objls()
s output is huge and blocks R for long time.
Solution: return a header of N lines, possibly with last line as Load more.., clicking on which would load next N-objects.
Upon sending R code, invisibly insert koBrowseHere()
into boomarked lines.
Example output:
Installing package into ‘C:/Users/xxx/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
������próbowanie adresu URL 'https://cloud.r-project.org/bin/windows/contrib/3.5/car_2.1-6.zip'
Content type 'application/zip' length 1597263 bytes (1.5 MB)
downloaded 1.5 MB
zz <- data.frame(A = 1, B = NA)
colnames(zz)[2] <- NA
kor::objls(zz)
Error in fullnames[w.names] <- paste0(objName, "$", .names) :
NAs are not allowed in subscripted assignments
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.