~l3on/ubuntu/precise/rkward/rebuild1

« back to all changes in this revision

Viewing changes to rkward/rbackend/rembedinternal.h

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Friedrichsmeier
  • Date: 2010-10-04 14:30:00 UTC
  • mfrom: (12.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20101004143000-qey73molmxxwy4w6
Tags: 0.5.4-1
* new upstream release
* bump standards version to 3.9.1 (no changes needed)
* no more need to remove svncopy.sh-script in rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
162
162
        static REmbedInternal *this_pointer;
163
163
        static char *na_char_internal;
164
164
        bool r_running;
 
165
/** Check whether the runtime version of R is at least the given version. Valid only *after* startR() has been called! */
 
166
        bool RRuntimeIsVersion (int major, int minor, int revision) {
 
167
                return (r_version >= (1000 * major + 10 * minor + revision));
 
168
        }
165
169
 
166
170
/** Flags used to classify output. */
167
171
//      static bool output_is_warning;
169
173
//      static bool next_output_is_error;
170
174
        QTextCodec *current_locale_codec;
171
175
private:
 
176
        int r_version;
172
177
// can't declare this as part of the class, as it would confuse REmbed
173
178
//      SEXPREC *runCommandInternalBase (const char *command, bool *error);
174
179
};