lbusett / insert_table Goto Github PK
View Code? Open in Web Editor NEWR function and addin to easily insert tables in Rmd code chunks
Home Page: https://lbusett.github.io/insert_table/
License: GNU General Public License v3.0
R function and addin to easily insert tables in Rmd code chunks
Home Page: https://lbusett.github.io/insert_table/
License: GNU General Public License v3.0
Version 0.0.3
An error is generated when the 'Cancel' button is pressed rather than 'Done' from the addin.
Error in if (out_format == "kable") { : argument is of length zero
The "kable" statement is always present, even if another format is chosen first.
I am trying to use the addin version. If I place my cursor on a blank line in a saved Rmd file and run the addin, then in the popup window instead of an empty table should be there is an error message:
Error: attempt to select less than one element in integerOneIndex
I'm running R 3.3.3 and Rstudio 1.0.153
EDIT: I just updated Rstudio to the latest version (1.1.456) and got the same error.
Hi @lbusett ! I wanted to say thank you for developing this project. I am wondering if you are still working on it since the last commit is over two years ago. I think the idea is really great and it is perfect for what I need it for: to quickly covert the markdown table into properly formatted kable tables.
However, the GUI does not reliably load. An error is appearing after install. Although the GUI appears the first time after being installed, subsequent inserttable:::insert_table()
commands result in the following error: Error in context$selection[[1]] : subscript out of bounds after
I can share environment info etc if you like. Currently I am running insert_table 0.4.0 from MacOS in RStudio 2021.09.1+372 "Ghost Orchid" Release (8b9ced188245155642d024aa3630363df611088a, 2021-11-08) for macOS Mozilla/5.0 (Macintosh; Intel Mac OS X 11_6_2) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.10 Chrome/69.0.3497.128 Safari/537.36 with R version 4.0.5 (2021-03-31) -- "Shake and Throw"
Thanks in advance!
Table copied and inserted and after clicking done the window just closed without giving any output in code chunk.
No Error message also.
Rstudio V - 1.2.1335
I think this would play well with https://github.com/hughjonesd/huxtable .
Version 0.0.4
Typing inserttable::insert_table(...) in the R Studio console generates various errors. Only specifiying tbl_format = "DT" or "rhandsontable" works.
inserttable::insert_table()
Error:tbl_format
must be equal tokableExtra
,DT
orrhandsontable
. Please correct. Aborting!
inserttable::insert_table(tbl_format = "kable")
Error:tbl_format
must be equal tokableExtra
,DT
orrhandsontable
. Please correct. Aborting!
inserttable::insert_table(tbl_format = "none")
Error:tbl_format
must be equal tokableExtra
,DT
orrhandsontable
. Please correct. Aborting!
inserttable::insert_table(tbl_format = "kableExtra - html")
Error:tbl_format
must be equal tokableExtra
,DT
orrhandsontable
. Please correct. Aborting!
inserttable::insert_table(tbl_format = 'kableExtra')
Error in paste0(output_tibble_str, "\n", output_table_str, "\n") :
object 'output_table_str' not found
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.