emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* ob-R: Error about longer than max-lines even with :result silent
@ 2021-08-15 13:19 Yasushi SHOJI
  2021-08-15 18:04 ` Berry, Charles via General discussions about Org-mode.
  0 siblings, 1 reply; 5+ messages in thread
From: Yasushi SHOJI @ 2021-08-15 13:19 UTC (permalink / raw)
  To: emacs-org list

Hello,

It seems like the following ECM cause an error:
Error (org-babel): Error reading results: (user-error "Region is
longer than ‘org-table-convert-region-max-lines’ (999) lines; not
converting")

I assumed that with ":results silent" it shouldn't warn or error about
the output.  Is it expected or a bug?

,----
| #+begin_src R :results silent
|   c(1:1000)
| #+end_src
`----

Thanks,
-- 
               yashi


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ob-R: Error about longer than max-lines even with :result silent
  2021-08-15 13:19 ob-R: Error about longer than max-lines even with :result silent Yasushi SHOJI
@ 2021-08-15 18:04 ` Berry, Charles via General discussions about Org-mode.
  2021-08-15 19:34   ` Yasushi SHOJI
  0 siblings, 1 reply; 5+ messages in thread
From: Berry, Charles via General discussions about Org-mode. @ 2021-08-15 18:04 UTC (permalink / raw)
  To: Yasushi SHOJI; +Cc: emacs-org list



> On Aug 15, 2021, at 6:19 AM, Yasushi SHOJI <yasushi.shoji@gmail.com> wrote:
> 
> Hello,
> 
> It seems like the following ECM cause an error:
> Error (org-babel): Error reading results: (user-error "Region is
> longer than ‘org-table-convert-region-max-lines’ (999) lines; not
> converting")
> 
> I assumed that with ":results silent" it shouldn't warn or error about
> the output.  Is it expected or a bug?
> 

This is expected per the `org-babel-insert-result' docstring.

However, the documentation does not mention that `:results none' is an option.  Is that what you want?

HTH,
Chuck


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ob-R: Error about longer than max-lines even with :result silent
  2021-08-15 18:04 ` Berry, Charles via General discussions about Org-mode.
@ 2021-08-15 19:34   ` Yasushi SHOJI
  2021-08-31 13:38     ` Timothy
  0 siblings, 1 reply; 5+ messages in thread
From: Yasushi SHOJI @ 2021-08-15 19:34 UTC (permalink / raw)
  To: Berry, Charles; +Cc: emacs-org list

[-- Attachment #1: Type: text/plain, Size: 917 bytes --]

Hi Charles,

On Mon, Aug 16, 2021 at 3:04 AM Berry, Charles <ccberry@health.ucsd.edu> wrote:
> > On Aug 15, 2021, at 6:19 AM, Yasushi SHOJI <yasushi.shoji@gmail.com> wrote:
[...]
> > It seems like the following ECM cause an error:
> > Error (org-babel): Error reading results: (user-error "Region is
> > longer than ‘org-table-convert-region-max-lines’ (999) lines; not
> > converting")
> >
> > I assumed that with ":results silent" it shouldn't warn or error about
> > the output.  Is it expected or a bug?
> >
>
> This is expected per the `org-babel-insert-result' docstring.
>
> However, the documentation does not mention that `:results none' is an option.  Is that what you want?

Yes, that's exactly what I was looking for.

I'm attaching patches to document it.  Nicolas, or anyone with commit
permission, if you find it useful please merge them.

Thanks,
-- 
              yashi

[-- Attachment #2: doc-ob-results-none.tar.gz --]
[-- Type: application/gzip, Size: 1362 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ob-R: Error about longer than max-lines even with :result silent
  2021-08-15 19:34   ` Yasushi SHOJI
@ 2021-08-31 13:38     ` Timothy
  2021-09-01 11:58       ` Yasushi SHOJI
  0 siblings, 1 reply; 5+ messages in thread
From: Timothy @ 2021-08-31 13:38 UTC (permalink / raw)
  To: Yasushi SHOJI; +Cc: Berry, Charles, emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 426 bytes --]

Hi Yasushi,

> Yes, that’s exactly what I was looking for.
>
> I’m attaching patches to document it.  Nicolas, or anyone with commit
> permission, if you find it useful please merge them.

Thanks for going to the effort to document this Yasushi. I’ve taken a look at
your patches and they look quite good and straightforward to me. I’ve taken the
liberty of pushing them to master.

Thanks again,
Timothy

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ob-R: Error about longer than max-lines even with :result silent
  2021-08-31 13:38     ` Timothy
@ 2021-09-01 11:58       ` Yasushi SHOJI
  0 siblings, 0 replies; 5+ messages in thread
From: Yasushi SHOJI @ 2021-09-01 11:58 UTC (permalink / raw)
  To: Timothy; +Cc: Berry, Charles, emacs-org list

Hi Timothy,

On Tue, Aug 31, 2021 at 10:40 PM Timothy <tecosaur@gmail.com> wrote:
> Thanks for going to the effort to document this Yasushi. I’ve taken a look at
> your patches and they look quite good and straightforward to me. I’ve taken the
> liberty of pushing them to master.

Thank you for taking your time for this. :-)  I really appreciate it.

Best,
-- 
               yashi


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-09-01 12:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-15 13:19 ob-R: Error about longer than max-lines even with :result silent Yasushi SHOJI
2021-08-15 18:04 ` Berry, Charles via General discussions about Org-mode.
2021-08-15 19:34   ` Yasushi SHOJI
2021-08-31 13:38     ` Timothy
2021-09-01 11:58       ` Yasushi SHOJI

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).