Displaying 10 results from an estimated 10 matches for "rstd_readconsole".
Did you mean:
_rstd_readconsole
2010 Jul 21
1
Plot window does not update in embedded code
...ank, and the window also doesn't want to close. I
suspect that my R_ReadConsole routine is the problem. This routine
waits for user input and returns this (which I thought it should). It
seems that this causes the event loop that updates the windows to also
be on hold. I did have a look at 'Rstd_ReadConsole' in
'src/unix/sys-std.c', but I can't figure out what exactly happens in
this routine.
How do I ensure that the windows keep being updated?
Presently I am working under Linux. However, I also want to be able to
run my code under windows, so I hope there is a cross-platform
solutio...
2000 Jul 11
1
Help: R seg faults
...at iofflush.c:41
#1 0x8122165 in rl_prep_terminal (meta_flag=0) at rltty.c:555
#2 0x811cb08 in _rl_callback_newline () at callback.c:76
#3 0x811cb4a in rl_callback_handler_install (prompt=0x4093c210 "> ", linefunc=0x80e8798 <readline_handler>) at callback.c:95
#4 0x80e89b5 in Rstd_ReadConsole (prompt=0x4093c210 "> ", buf=0xbfffeedc "", len=1024, addtohistory=1) at ../../../R-1.1.0/src/unix/sys-std.c:357
#5 0x80e6b2e in R_ReadConsole (prompt=0x4093c210 "> ", buf=0xbfffeedc "", len=1024, addtohistory=1) at ../../../R-1.1.0/src/unix/system.c:6...
2008 Jul 10
1
memory leak in readline code
...46EE: malloc (vg_replace_malloc.c:149)
==10743== by 0x68BFF9: xmalloc (in /usr/lib/libreadline.so.4.3)
==10743== by 0x6770D5: readline_internal_teardown (in /usr/lib/libreadline.so.4.3)
==10743== by 0x688992: rl_callback_read_char (in /usr/lib/libreadline.so.4.3)
==10743== by 0x80E739C: Rstd_ReadConsole (sys-std.c:905)
==10743== by 0x8057F61: Rf_ReplIteration (main.c:205)
==10743== by 0x805827E: R_ReplConsole (main.c:306)
==10743== by 0x8058514: run_Rmainloop (main.c:966)
==10743== by 0x805676D: main (Rmain.c:33)
==10743==
==10743== LEAK SUMMARY:
==10743== definitely lost: 234 bytes...
2008 Aug 07
1
memory leak in sub("[range]", ...) when #ifndef _LIBC (PR#11946)
...31EC0D5: readline_internal_teardown (in
/a/devlnx3206.insightful.com/opt/builds/R/devel/LX/46036/dist/lib/R/lib/libreadline.so.4)
==28643== by 0x31FD992: rl_callback_read_char (in
/a/devlnx3206.insightful.com/opt/builds/R/devel/LX/46036/dist/lib/R/lib/libreadline.so.4)
==28643== by 0x80E7634: Rstd_ReadConsole (sys-std.c:905)
==28643== by 0x8057EA9: Rf_ReplIteration (main.c:205)
==28643== by 0x80581C6: R_ReplConsole (main.c:306)
==28643== by 0x805845C: run_Rmainloop (main.c:966)
==28643== by 0x80566B5: main (Rmain.c:33)
==28643==
==28643==
==28643== 7,996 bytes in 1,999 blocks are definitely...
2001 Jul 03
0
(PR#1008) SIGSEGV under 1.1.1 too
...110f9a in __libc_free (mem=0x8849a38) at malloc.c:3023
#2 0x4002c814 in _rl_free_history_entry () from /usr/lib/libreadline.so.3
#3 0x4002ac0f in readline_internal_teardown () from
/usr/lib/libreadline.so.3
#4 0x4003a07e in rl_callback_read_char () from /usr/lib/libreadline.so.3
#5 0x80e4a8f in Rstd_ReadConsole (prompt=0x40982210 "> ",
buf=0xbffff038 "for (i in 1:100) an1 <- ann(cbind(runif(1000),
runif(1000)), k = 4)\n", len=1024, addtohistory=1) at sys-std.c:376
#6 0x80e2b6e in R_ReadConsole (prompt=0x40982210 "> ",
buf=0xbffff038 "for (i in 1:100)...
2003 Sep 14
1
R on BeOS
...n i make methods:
dumping R code in package 'methods'
Error in .Call("R_initialize_methods_metadata", table, PACKAGE =
"methods") :
.Call function name not in load table
Execution halted
The other big problem is that select() is not working on BeOS R5.
So on Rstd_ReadConsole() the if (FD_ISSET(fileno(stdin), what))
statement always fails.
I did FD_SET(fileno(stdin), what) manually to enable the console.
What other inputs exist that could have problems here ?
I only found fd_set used in the modules internet aqua and in tcltk and
those all dont work on BeOS anyway.
I...
2008 Aug 07
0
memory leak in sub("[range]", ...) when #ifndef _LIBC (PR#12488)
...ternal_teardown (in
> /a/devlnx3206.insightful.com/opt/builds/R/devel/LX/46036/dist/lib/R/lib/libreadline.so.4)
> ==28643== by 0x31FD992: rl_callback_read_char (in
> /a/devlnx3206.insightful.com/opt/builds/R/devel/LX/46036/dist/lib/R/lib/libreadline.so.4)
> ==28643== by 0x80E7634: Rstd_ReadConsole (sys-std.c:905)
> ==28643== by 0x8057EA9: Rf_ReplIteration (main.c:205)
> ==28643== by 0x80581C6: R_ReplConsole (main.c:306)
> ==28643== by 0x805845C: run_Rmainloop (main.c:966)
> ==28643== by 0x80566B5: main (Rmain.c:33)
> ==28643==
> ==28643==
> ==28643== 7,996 by...
2008 Jul 10
0
RODBC Close Memory Leak Question
...malloc (vg_replace_malloc.c:149)
==8682== by 0x4D6BFC51: xmalloc (in /usr/lib/libreadline.so.5.0)
==8682== by 0x4D6AA4B9: readline_internal_teardown (in
/usr/lib/libreadline.so.5.0)
==8682== by 0x4D6BC1DA: rl_callback_read_char (in
/usr/lib/libreadline.so.5.0)
==8682== by 0x80F9A8F: Rstd_ReadConsole (sys-std.c:902)
==8682== by 0x8058949: Rf_ReplIteration (main.c:206)
==8682== by 0x8058A89: R_ReplConsole (main.c:306)
==8682== by 0x8058D67: run_Rmainloop (main.c:967)
==8682== by 0x8056670: main (Rmain.c:35)
==8682==
==8682==
==8682== 5,544 bytes in 99 blocks are definitely lost in lo...
2005 Dec 21
1
(Debian Bug 344248): R segfaults when pressing Delete (PR#8422)
...s still a likely cause.
This seems to be a readline 5.1 error. I was unable to reproduce it with
4.3 or 5.0.
gdb) bt
#0 0xb7f4c942 in _rl_dispatch_callback () from
/usr/local/lib/libreadline.so.5
#1 0xb7f5fd82 in rl_callback_read_char () from
/usr/local/lib/libreadline.so.5
#2 0x0816b98b in Rstd_ReadConsole (prompt=0xb7f6fafc "", buf=0xbf8bb1ec "", len=1024,
addtohistory=0) at /users/ripley/R/svn/R-devel/src/unix/sys-std.c:663
Switching the link from libreadline.so.5 back to libreadline.so.5.0 made
this behave again.
Can you confirm you are running rl5.1? Given the segfaul...
2005 Apr 26
10
Ctrl-c crashes R when run as sudo (PR#7819)
I tried to submit this in R, but not sure if it worked.
When running R as sudo, using ctrl-c dumps me to the command line.
Hitting exit to exit the terminal window results in R taking 100% of
resources.
I am using R-2.1.0 on Fedora Core 3.
Thanks.
Manuel