Changeset 3741 for trunk/lang/R


Ignore:
Timestamp:
Jul 3, 2013, 9:10:00 AM (11 years ago)
Author:
gah
Message:

fix Makefile

Location:
trunk/lang/R
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/lang/R/Makefile.in

    r3725 r3741  
    2121R               = @R@
    2222
    23 coresrcdir      = ${PWD}/../../rappture/src/core
    24 corelibdir      = ${PWD}/../src/core
    25 R_flags         = --configure-args='--with-rappture-include=$(includedir)\
    26                                     --with-rappture-lib=$(libdir)'
     23coresrcdir      = ${PWD}/$(srcdir)/../../src/core
     24corelibdir      = ${PWD}/../../src/core
     25R_flags         = --configure-args='--with-rappture-include=$(coresrcdir) \
     26                                    --with-rappture-lib=$(corelibdir)'
    2727
    2828RLIB            = R
  • trunk/lang/R/Rappture/man/Rappture-package.Rd

    r2709 r3741  
    3131~~ Literature or other references for background information ~~
    3232}
    33 ~~ Optionally other standard keywords, one per line, from file KEYWORDS in ~~
    34 ~~ the R documentation directory ~~
    3533\keyword{ package }
    3634\seealso{
  • trunk/lang/R/Rappture/src/RpLibraryRInterface.cc

    r3177 r3741  
    2424rp_lib_finalizer(SEXP ptr)
    2525{
    26     RpLibrary* lib = NULL;
    2726    if (!R_ExternalPtrAddr(ptr)) {
    2827        return;
    2928    }
    30     lib = (RpLibrary *) R_ExternalPtrAddr(ptr);
     29#ifdef notdef
     30    /* Until we figure this out, don't delete the library object.  R is
     31     * calling the finalizer on every method of the library object.  This is a
     32     * problem only if someone explicitly deletes the library object from
     33     * R. */
     34    RpLibrary* lib;
     35    lib = (RpLibrary *)R_ExternalPtrAddr(ptr);
    3136    if (lib != NULL) {
    3237        delete lib;
    33         lib = NULL;
    34     }
     38    }
     39#endif
    3540    R_ClearExternalPtr(ptr);
    36 
    3741}
    3842
     
    9296    SEXP path)              // null terminated path
    9397{
    94     RpLibrary* lib = NULL;
     98    RpLibrary* lib;
    9599    SEXP ans;
    96100    int handleVal = -1;
     
    123127
    124128    lib = (RpLibrary*) getObject_Void(handleVal);
    125 
    126129    if (lib == NULL) {
    127130        error("invalid Rappture Library Object");
Note: See TracChangeset for help on using the changeset viewer.