similar to: Including C Code for Tcl and Tk in an R package

Displaying 20 results from an estimated 90 matches similar to: "Including C Code for Tcl and Tk in an R package"

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
2010 Nov 08
0
Compiling Tcl extension C Code for an R package
Dear R Community, I'm working on an R package that needs resizing of images. I try to keep dependencies of Tcl packages as little as possible, so I implemented the Image Scaling procedure in C as a Tcl extension found here http://wiki.tcl.tk/25685 . Here a temporary download link of the slightly modified source http://www.waddell.ch/RnavGraph/imagescale_adrian_85.c The file works with the
2015 Sep 28
2
Link R with Tcl 8.6 on Windows
Dear all, I am working on an R package intended for CRAN that requires Tcl version 8.6 because of the TclOO tcl extension and the -angle option for canvas text items. R for Windows currently still ships with Tcl 8.5. Does anyone have experience with linking R under Windows to a Tcl interpreter of version 8.6? When I link R 3.2.2 (installed from the binary on Windows 8) to a custom Tcl
2010 Aug 12
2
accessing tcl variables within R and tcl
Dear R users, I have some troubles with dealing with tclObj objects. I try to explain it with a toy example: Say I define the following tcl procedure which just prints out each list element library(tcltk) .Tcl('proc test {myList} { foreach i $myList { puts stdout $i } }') and I call it with: > tcl('test',letters[1:5]) # Works as expected Now say I define
2010 Jun 11
1
Windows, OSX and Linux: updating a graphic device and double buffering
Hello there, I'm struggling with the base graphics system on different operating systems. I would like to get an animation effect by re-plotting with the plot function. See the attached code example: move the slider quick from one side to the other. I experience different levels of success, depending on which OS I use. - Linux (Ubuntu >9.10, R 2.9.2-3): Each plot command gets
2010 Aug 10
1
Adding Tcl source to an R package
Dear R Community, I'm writing an R package with a lot of Tcl and Tk code. I use the Tcl wrapper functions provided by the tcltk package if possible. However I also define "pure" Tcl functions. I so far defined them with the .Tcl function, for example (in R): .Tcl('proc test {a b} { return [expr {sqrt(pow($a,2)+pow($b,2))}] }') so that I can use the procedures later on
2010 Sep 01
1
Installing a Tcl/Tk Extension on OSX
Dear R-Community, I need the Img tk extension for my R package. It all works on my Ubuntu machine (libtk-img). However I experience a great deal of trouble when I try to install the package on OSX 10.5 or 10.6 (in fact I'm not able to do it). As I understand it, the ActiveTcl with it's teacup package manager do not have an effect on the the x11 tcl installation which R accesses. MacPorts
2009 Mar 25
1
Piecewise
Hi, I am a biologist (relatively new to R) analyzing data which we predict to fit a power function. I was wondering if anyone knew a way to model piecewise functions in R, where across a range of values (0-x) the data is modeled as a power function, and across another range (x-inf) it is a linear function. This would be predicted by one of our hypotheses, and we would like to find the AICs
2008 Feb 07
5
wav to flac corruption
I have exactly the same problem. I encoded a BWF file to flac and then then decoded back to wav, using --keep-foreign-metadata, and I ended up with a bit-perfect copy of the original BWF. So I was fairly confident that the flac encoding is working correctly, the problem definitely appears to be with the flac players. Unfortunately it seems that the majority of flac players cannot play 24bit
2007 May 06
2
96k/24-bit BWF encoding
Hi, I am attempting to use flac to encode 96k/24-bit broadcast wav (BWF) files. BWFs are wav files with some extra meta-data chunks, and is the favoured archival format for many institutions around the world. These files are encoded successfully by flac, however the resulting flac file is not playable on all flac players - it plays successfully in foobar2000 but is silent in winamp, and when
2003 Aug 19
1
DNAT changed IP address and now doesn''t work
We changed the external and internal IP addresses and now our DNAT entry is failing. Any ideas? DNAT net loc:10.222.66.10:443 tcp 8084 Thanks, Dave.
2007 May 06
0
96k/24-bit BWF encoding
Hi Justin, I have a suggestion, but it may not be very convenient. You could try converting the 24/96 BWF to AIFF, and then use flac to compress the 24/96 AIFF. There is no difference in audio quality between the FLAC file generated from BWF (WAV) vs. AIFF, so perhaps this extra step will solve your problem in the short term. Sorry I haven't used BWF or WAV very frequently, but
2008 Feb 11
0
wav to flac corruption
--- Justin Waddell <jwaddell@gmail.com> wrote: > I have exactly the same problem. > > I encoded a BWF file to flac and then then decoded back to wav, using > --keep-foreign-metadata, and I ended up with a bit-perfect copy of > the original BWF. So I was fairly confident that the flac encoding is > working correctly, the problem definitely appears to be with the flac >
2000 Feb 22
5
Login Problems
I have upgraded my computer from win95 to win98 and now I'm getting "The password is incorrect. Try again." on shares that were working. Any ideas??? Thanks Rob -- ------------------------------------------------------- Stonebridge Technologies ------------------------------------------------------- Robert Spiecha rspiecha@sbti.com SE (Memphis) (888) 541-5879
2008 May 22
1
rsync, OpenSolaris, & Mac Attributes?
I've been trying to set up an OpenSolaris-based ZFS NAS server, with one of its functions being a backup server for my Mac-based network. I'm using rsync 3.0.3 pre2 on my Macs with some extended attribute patches, but have been running into some compatibility problems when rsyncing via SSH from a Mac to the Solaris server (I'm not running daemon mode on the server, but rsync 3.0.3 pre2
2016 Jul 07
2
Error building Tcl: R-patched_2016-07-05
I am trying to build R under 64bit Windows7. I am using a fresh install of Rtools34 and R-patched_2016-07-05. I am getting the following error: C:/Rtools/mingw_64/bin/gcc -shared -s -static-libgcc -o tcltk.dll tmp.def init.o tcltk.o tcltk_win.o ../../../gnuwin32/dllversion.o -L../../../../Tcl/bin64 -ltc l85 -ltk85 -LC:/R/RLocalSoft/lib/x64 -LC:/R/RLocalSoft/lib -L../../../../bin/x64 -lR
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 ++++++++
2016 Jul 07
0
Error building Tcl: R-patched_2016-07-05
On 07/07/2016 5:47 PM, Avraham Adler wrote: > I am trying to build R under 64bit Windows7. I am using a fresh > install of Rtools34 and R-patched_2016-07-05. I am getting the > following error: > > C:/Rtools/mingw_64/bin/gcc -shared -s -static-libgcc -o tcltk.dll tmp.def init.o > tcltk.o tcltk_win.o ../../../gnuwin32/dllversion.o -L../../../../Tcl/bin64 -ltc > l85 -ltk85
2018 Feb 13
0
R Compilation gets stuck on Windows 64
Hi Avraham, I tried with the patched version. The same error message. gcc -std=gnu99 -m64 -shared -s -mwindows -o R.dll R.def console.o dynload.o editor.o embeddedR.o extra.o malloc.o opt.o pager.o preferences.o psignal.o rhome.o rt_complete.o rui.o run.o shext.o sys-win32.o system.o dos_wglob.o dllversion.o ../main/libmain.a ../appl/libappl.a ../nmath/libnmath.a getline/gl.a
2018 Feb 09
2
R Compilation gets stuck on Windows 64
On Fri, Feb 9, 2018 at 9:29 AM, Kenny Bell <kmbell56 at gmail.com> wrote: > I suggest that you work off the build process in the rwinlib repository so > you are starting from something that you know works and already incorporates > the set of dependencies you need. Hello, Kenny. For what it's worth I've been successfully building R+OpenBLAS on Windows64 since 2013, which