Displaying 17 results from an estimated 17 matches similar to: "[PATCH nbdkit] Add Tcl plugin, for writing plugins in Tcl."
2011 Feb 08
1
Compiling a Tcl extension for an R package
Dear R developers,
I plan to upload a first version of my R package RnavGraph to the R CRAN
server in a week or two. However I'm still struggling with an image
resizing function written in C as a tcl extension. I did all my
development in Ubuntu, and everything works fine in Ubuntu, however my
attempts to compile this C function under Windows or OSX have all failed.
I provide a minimal self
2018 Oct 01
2
[PATCH nbdkit] plugins: Add scripting language version to --dump-plugin output.
On Lua:
lua_version=5.3.4
On Perl:
perl_version=5.28.0
On Python 2:
python_version=2.7.15
On Python 3:
python_version=3.7.0
python_pep_384_abi_version=3
On Ruby 2.5.1p57:
ruby_api_version=2.5.0
On Tcl:
tcl_version=8.6
tcl_patch_level=8.6.8
---
plugins/lua/lua.c | 11 +++++++++++
plugins/perl/perl.c | 4 ++++
plugins/python/python.c | 8 ++++++++
2003 Oct 22
1
Core dump when calling tclvalue (PR#4724)
Full_Name: Neil McKay
Version: 1.8.0
OS: Linux (RedHat 7.1)
Submission from: (NULL) (129.124.42.210)
I get a core dump when executing the following code:
> library("tcltk")
> zzz<-tclArray()
> tclvalue(zzz)
Running under gdb gives this output:
Program received signal SIGSEGV, Segmentation fault.
makeRTclObject (tclobj=0x0) at tcltk.c:48
48
2011 Aug 14
2
Problem installing R Commander plugin...
Hi ho folks:
I'm running the indicated version of R on Hardy Heron Ubuntu.
(Yes, I am quite aware that it is considered old news but then I don't
run the "latest and greatest" computer gear. I've tried both Gnome and
KDE editions of Ubuntu Lynx and even a current run of Fedora. I find
Heron simply works better on my machine.)
When I try to install RcmdrPlugin.PT most of
2020 Jun 07
3
[External] Re: use of the tcltk package crashes R 4.0.1 for Windows
On Sun, Jun 7, 2020 at 5:53 PM <luke-tierney at uiowa.edu> wrote:
>
> On Sun, 7 Jun 2020, peter dalgaard wrote:
>
> > So this wasn't tested for a month?
> >
> > Anyways, Free() is just free() with a check that we're not freeing a null pointer, followed by setting the pointer to NULL. At that point of tcltk.c, we have
> >
> > for (objc = i = 0;
2020 Jun 07
0
[External] Re: use of the tcltk package crashes R 4.0.1 for Windows
> On 7 Jun 2020, at 18:59 , Jeroen Ooms <jeroenooms at gmail.com> wrote:
>
> On Sun, Jun 7, 2020 at 5:53 PM <luke-tierney at uiowa.edu> wrote:
>>
>> On Sun, 7 Jun 2020, peter dalgaard wrote:
>>
>>> So this wasn't tested for a month?
>>>
>>> Anyways, Free() is just free() with a check that we're not freeing a null
2008 May 04
1
Change in the Tcl/Tk loading in R 2.7.0 (under Unix/Mac OS X)?
Hello,
Up to R 2.6.2, I used to start Tcl *without Tk* (I need only Tcl for
some part of my work, like a socket server written in Tcl only, for
instance) with this code under Mac OS X (particularly on this system,
because I don't want to start X11 just to use Tcl code, which is
required for Tk!):
> Sys.unsetenv("DISPLAY")
> library(tcltk)
I got then the message
2020 Jun 07
0
[External] Re: use of the tcltk package crashes R 4.0.1 for Windows
On Sun, 7 Jun 2020, peter dalgaard wrote:
> So this wasn't tested for a month?
>
> Anyways, Free() is just free() with a check that we're not freeing a null pointer, followed by setting the pointer to NULL. At that point of tcltk.c, we have
>
> for (objc = i = 0; i < length(avec); i++){
> const char *s;
> char *tmp;
> if (!isNull(nm)
2020 Jun 07
5
use of the tcltk package crashes R 4.0.1 for Windows
So this wasn't tested for a month?
Anyways, Free() is just free() with a check that we're not freeing a null pointer, followed by setting the pointer to NULL. At that point of tcltk.c, we have
for (objc = i = 0; i < length(avec); i++){
const char *s;
char *tmp;
if (!isNull(nm) && strlen(s = translateChar(STRING_ELT(nm, i)))){
// tmp =
2020 Jun 07
0
[External] use of the tcltk package crashes R 4.0.1 for Windows
Ah, I see it now:
The remapping of free() to Rm_free() and calloc() to Rm_calloc() happens in memory.c, but not in tcltk.c; the macro Calloc in R_ext/RS.h maps to a call to R_chk_alloc which is defined in memory.h; RS.h is included in tcltk.c, so tcltk.c winds up calling Rm_calloc() via Calloc(), but then the NON-remapped free(), and the walls come tumbling down.
If the "#if
2020 Jun 07
2
[External] Re: use of the tcltk package crashes R 4.0.1 for Windows
Hi,
Does it make sense to withdraw the Windows R 4.0.1 binary until the issue is resolved?
Best,
John
> -----Original Message-----
> From: luke-tierney at uiowa.edu <luke-tierney at uiowa.edu>
> Sent: Sunday, June 7, 2020 11:54 AM
> To: peter dalgaard <pdalgd at gmail.com>
> Cc: Jeroen Ooms <jeroenooms at gmail.com>; Fox, John <jfox at mcmaster.ca>; r-
2020 Jun 07
4
[External] Re: use of the tcltk package crashes R 4.0.1 for Windows
I've committed the change to use Free instead of free in tcltk.c and
sys-std.c (r78652 for R-devel, r78653 for R-patched).
We might consider either moving Calloc/Free out of the Windows
remapping or moving the remapping into header files so everything
seeing our header files uses our calloc/free. Either would be less
brittle that the current status.
Best,
luke
On Sun, 7 Jun 2020, peter
2012 May 14
0
phyloclim could not be installed in linux - problems on tkrplot dependence
Dear R-helpers, Christoph (author of phyloclim) and Luke (author of
tkrplot),
I would like to get your helps on installing of phyloclim in Ubuntu linux.
It seems a package named 'tkrplot' could not be installed at firstly, then
packages depends on it could not be installed latter.
As I have tested, installation of phyloclim works smoothly in Mac. I
attempted to install these packages in
2019 Sep 01
11
[nbdkit PATCH 00/10] Avoid -Wshadow
While working on can_FOO caching, at one point I got confused by
whether 'readonly' meant the global set by -r or a local passed to
.open(). A quick attempt to compile with -Wshadow found several other
confusing points; this series gets us to the point that we can add
-Wshadow to builds with --enable-gcc-warnings.
Eric Blake (10):
server: Avoid -Wshadow warnings
guestfs: Avoid
2009 Dec 29
0
aMSN segfaults at login after configuring my home network
After configuring my home network, aMSN segfaults.
I posted this issue originally in the aMSN forums under this thread:
http://www.amsn-project.net/forums/viewtopic.php?t=7593
I was told that my issue is related to SAMBA, referring this thread:
http://www.amsn-project.net/forums/viewtopic.php?t=6343
After uninstalling SAMBA, aMSN stops segfaulting and works as expected.
After installing it
2020 Jun 07
7
use of the tcltk package crashes R 4.0.1 for Windows
Hi,
The following code, from the examples in ?TkWidgets , immediately crashes R 4.0.1 for Windows:
--------------------- snip --------------------
library("tcltk")
tt <- tktoplevel()
label.widget <- tklabel(tt, text = "Hello, World!")
button.widget <- tkbutton(tt, text = "Push",
command = function()cat("OW!\n"))
tkpack(label.widget,
2002 Jul 11
1
dyn.load tcl/tk (PR#1774)
<<insert bug report here>>
------------------------------------------------------
Error:
R : Copyright 2002, The R Development Core Team
Version 1.5.1 (2002-06-17)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type `license()' or `licence()' for distribution details.
R is a collaborative project with