wwbrannon / ado Goto Github PK
View Code? Open in Web Editor NEWAn implementation of Stata's ado language in R
License: Other
An implementation of Stata's ado language in R
License: Other
The way it stores ado command history is a godawful hack, probably also a race condition, and is Unix-specific. Is there a better way?
Need a function that converts varlists to R formulas, for use in modeling functions
Symbols should be coerced to character in varlist, expression_list and expression where this makes sense.
Need support for so-called "c-class values": the system parameters accessible under c(). They need to be usable
We'll also need to implement the creturn command to list them.
The dataset variables need to be visible by their column names, and the modified dataset needs to be assigned back to rstata_env afterward.
Use within()?
This needs to describe - really, focus on - differences from Stata.
In am using Windows 10:
devtools::install_github("wwbrannon/ado")
Downloading GitHub repo wwbrannon/ado@master
from URL https://api.github.com/repos/wwbrannon/ado/zipball/master
Installing ado
"C:/PROGRA1/R/R-341.3/bin/x64/R" --no-site-file --no-environ
--no-save --no-restore --quiet CMD INSTALL
"C:/Users/Jinn-Yuh/AppData/Local/Temp/RtmpGUrXiT/devtools42034122381/wwbrannon-ado-18d7cbf"
--library="D:/Dropbox/Stat/R/Library" --install-tests
sessionInfo()
R version 3.4.3 (2017-11-30)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=Chinese (Traditional)_Taiwan.950
[2] LC_CTYPE=Chinese (Traditional)_Taiwan.950
[3] LC_MONETARY=Chinese (Traditional)_Taiwan.950
[4] LC_NUMERIC=C
[5] LC_TIME=Chinese (Traditional)_Taiwan.950
attached base packages:
[1] stats graphics grDevices utils datasets methods
[7] base
other attached packages:
[1] mcode_0.1.5 BiocInstaller_1.14.3
loaded via a namespace (and not attached):
[1] httr_1.3.1 compiler_3.4.3 R6_2.2.2
[4] tools_3.4.3 withr_2.1.1.9000 githubinstall_0.2.1
[7] curl_3.1 yaml_2.1.16 memoise_1.1.0
[10] data.table_1.10.4-3 yearn_0.1.3 git2r_0.21.0
[13] jsonlite_1.5 digest_0.6.15 devtools_1.13.4
Update various non-vignette docs and CRAN peccadilloes:
Nothing fancy, just needs to print a usage message
Variable names should be able to be abbreviated to the shortest unambiguous substring. Other abbreviation syntax (ranges etc) won't be supported.
Stata's two data types for string and numeric map fairly cleanly onto R's character and numeric. We need:
There needs to be a way to print a backtrace for an R error / condition thrown at any point in executing a Stata command. It should be one of the OR-able debugging flags.
In particular, clean up the NAMESPACE
Commands need to be able to have return codes, and the _rc variable has to be set as the last command's return value
Memory leaks: three entry points to check, do_parse, parse_accept and do_parse_with_callbacks.
A mechanism for the user to persistently register an R function obeying the calling convention as a Stata command.
This way, we don't need much programming support, because R is the extension language.
Makevars and the parser's Makefile have to be generated by a configure script, not be hardcoded
quietly, noisily, capture, by, bysort, xi
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.