Displaying 20 results from an estimated 125 matches for "defns".
Did you mean:
deans
2005 Jul 19
0
build of REventLoop package crashes with 2.1 due tosyntax error in Defn.h (PR#8017)
Full_Name: Richard Boyce
Version: 2.1.-1
OS: Debian testing/unstable
Submission from: (NULL) (128.95.123.29)
While building a custom package using a modified version of Duncan's REventLoop
with R version 2.1 (Debian package r-base, r-base-dev) and R source from apt-get
source 2.1.1 I get the following error:
$ R CMD build vjREventLoop
* checking for file
2005 Jul 20
1
(PR#8017) build of REventLoop package crashes with 2.1 due
In what way is this a bug in R? It looks like a bug in the package, and
as Defn.h is not part of R's API any packge using it is `at risk' (and
cannot be installed in a binary-only installation, or even an installed
version of R).
In particular, Defn,.h depends on config.h, and it seems you installed a
binary version of R and used separate sources. I would suggest building
R from
2007 Nov 26
0
[LLVMdev] Fibonacci example in OCaml
...= expr -> Apply(f, x) ]
| [ v = LIDENT -> Var v
| n = INT -> Int(int_of_string n)
| "("; e = expr; ")" -> e ] ];
defn:
[ [ "let"; "rec"; f = LIDENT; x = LIDENT; "="; body = expr ->
LetRec(f, x, body) ] ];
prog:
[ [ defns = LIST0 defn; "do"; run = expr -> defns, run ] ];
END
open Printf
let program, run =
try Gram.parse prog Loc.ghost (Stream.of_channel (open_in "fib.ml")) with
| Loc.Exc_located(loc, e) ->
printf "%s at line %d\n" (Printexc.to_string e) (Loc.start_line...
2008 Jul 01
1
Autoconf / Windows package building problem for device package
Dear list,
Tadashi Kadowaki has developed a pdf device package
that allows to add hyperlinks and popups
to (currently) text, mtext and rect calls.
The package passes R CMD check (minor warnings) and compiles
on MacOS X and GNU/Linux, but we do not succeed in building
the package for Windows.
The current version of the package can be
checked out as
svn checkout
2006 Nov 15
0
INSTALL R-2.4.0 on Compaq Tru64 UNIX V5.1B
Dear all:
I got some error messages when I installed R-2.4.0 on Compaq Tru64 Unix
V5.1B, I set the R_HOME=/shs/R and then try 'make' command after
configuration and it showed "Make: Cannot open /share/make/vars.mk.
Stop.",after that,I used the 'gmake' to implement.
The following is my installation steps:
1. ./configure --enable-R-shlib --prefix=/shs/R MAKE=gmake (no
2007 Nov 25
2
[LLVMdev] Fibonacci example in OCaml
Here's my translation of the Fibonacci example into OCaml:
open Printf
open Llvm
let build_fib m =
let fibf =
define_function "fib" (function_type i32_type [| i32_type |]) m in
let bb = builder_at_end (entry_block fibf) in
let one = const_int i32_type 1 and two = const_int i32_type 2 in
let argx = param fibf 0 in
set_value_name "AnArg" argx;
let
1997 Nov 27
2
R-beta: Memory Management in R-0.50-a4
Dear R users
we're having a problem reading a largish data file using
read.table(). The file consists of 175000 lines of 4
floating pt numbers. Here's what happens:
> dat_read.table('sst.dat')
Error: memory exhausted
(This is line 358 of src/main/memory.c).
Cutting down the file to around 15000 lines allows
read.table() to work OK.
I edited the memory limits in Platform.h
2010 Aug 23
1
Speed improvement to PROTECT, UNPROTECT, etc.
As I mentioned in my previous message about speeding up evalList, I've
been looking at ways to speed up the R interpreter. One sees in the
code many, many calls of PROTECT, UNPROTECT, and related functions, so
that seems like an obvious target for optimization. Indeed, I've
found that one can speed up the interpreter by about 10% by just
changing these.
The functions are actually macros
2016 Aug 03
3
Problem with configuring Xapian
Hi all,
> It would be better to use the XO_LIB_XAPIAN macro provided by
> xapian-core instead of writing your own code to probe for
> xapian-config.
>
> Everything from line 3 to line 18 of your current configure.ac could be
> replaced with just:
>
> XO_LIB_XAPIAN
>
> If you've installed xapian-core then the macro should just be
> found automatically.
I
2003 Feb 06
1
make fails for 1.7.0 on mac os x 10.1
I've been running a binary installation (kindly provided by Jan de Leeuw)
on mac G4, but was inspired this morning to try to install 1.7.0 on the G4
as well as on my desktop solaris box.
This worked smoothly on my solaris system but on the G4 the
make dies shortly after compiling lapack with:
/usr/bin/libtool: internal link edit command failed
make[4]: *** [libRlapack.dylib] Error 1
make[3]:
2011 Oct 16
2
[LLVMdev] Static destructor problem with recent HEAD
On Sat, Oct 15, 2011 at 9:49 PM, Chandler Carruth <chandlerc at google.com>wrote:
> On Sat, Oct 15, 2011 at 9:20 PM, Talin <viridia at gmail.com> wrote:
>
>> I recently updated my version of LLVM from revision 140108 to 142082, and
>> several things broke, most of which were easily fixed. However, I'm now
>> getting a "pure virtual method called"
1999 Oct 12
1
Looking for R_Home ...
This is my first question to this list and possibly a bit dumb, but anyway:
Can anybody tell me, where, e.g. in the "unix" reference release a DEFINITION of
char * R_Home can be found? Via Defn.h the "extern" DECLARATION is everywhere,
but when I derived a somewhat other main() program my linker complained about the
missing definition.
Thomas Hoffmann.
2006 Nov 15
1
Feature request: put NewEnvironment and R_NewhashedEnv into API
Hi,
I would like to be able to create new environments from package C
code. AFAICT, this isn't allowed since both NewEnvironment and
R_NewHashedEnv are declared in Defn.R.
If exposing this isn't controvertial, I would submit a patch.
However, I'm not sure where the declarations should go (Rdefines.h?)
and whether they need to change to Rf_*.
+ seth
2006 May 08
2
problems compiling under solaris
Hi!
I've been trying to compile R with gcc version 3.4.2 on a box running Solaris 2.6.
I keep on hitting this error during the compile:
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -std=gnu99 -c dynload.c -o dynload.o
In file included from dynload.c:33:
../../src/include/Defn.h:943: error: parse error before "mbstate_t"
make[3]: ***
2015 Dec 16
2
Building R in 64-bit mode
Hope I am not sounding too much like a broken record - as far as 64-bit
build on AIX is concerned.
** Short - 32-bit builds complete normally, 64-bit builds stop at
"installing 'sysdata.rda'" with message:
Error: Line starting 'Package: tools ...' is malformed!
Execution halted
*** Longer...
I could file a bug - Importance, showstopper - but I would prefer to
better
2016 Dec 24
0
distinct DISubprograms hindering sharing inlined subprogram descriptions
> On Dec 23, 2016, at 18:36, David Blaikie <dblaikie at gmail.com> wrote:
>
>
>
>> On Fri, Dec 23, 2016 at 11:47 AM Duncan P. N. Exon Smith <dexonsmith at apple.com> wrote:
>> A few disjoint thoughts; sorry they're so delayed (I skimmed the responses below, and I think these are still relevant/not covered elsewhere).
>>
>> Firstly, why
2013 Jan 11
2
[LLVMdev] Sub-Register Allocation
llvm-dev,
I'm trying to get a better understanding of sub-registers. I'm seeing the
code generator make an odd decision that I was hoping someone could point
me in the right direction of explaining.
The architecture is 68000, which has 8, 16, and 32 bit views of all of it's
data registers. In order to zero extend you can load a big view with zero,
and then copy into the small view.
1998 Apr 02
1
attributes now inherited
Hi R-Developers,
After my message about a month ago concerning attributes being lost during
simple operations, Martin Maechler invited me to fix the code if I was in
a hurry (especially for attributes in general). We've just made the
following changes here, which appear to implement the rules in the
Blue Book (pg. 257)
Enclosed is the output from "diff -c" from /R-0.61.1/src
2011 Oct 16
0
[LLVMdev] Static destructor problem with recent HEAD
Interestingly, I also get a similar error in a different executable (my
unittest):
pure virtual method called
terminate called without an active exception
0 tartc 0x00000001010a8265 PrintStackTrace(void*) + 53
1 tartc 0x00000001010a88cc SignalHandler(int) + 364
2 libSystem.B.dylib 0x00007fff831341ba _sigtramp + 26
3 libSystem.B.dylib 0x7261742e65637365 _sigtramp +
1999 Aug 03
3
RW 0.64.2 substring() string truncation?
Hi,
(First, apology for my earlier incorrectly addressed "subscribe"
post.)
Can somebody tell me what exactly is going on below. Basically, I am
running into some kind of "string truncation" problem when I try
to get a substring starting past the 8192nd character (see sample
session below). There doesn't appear to be any problem creating the
string, and nchar()