Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
Cantor
Commits
2e0dfffe
Commit
2e0dfffe
authored
Oct 19, 2022
by
Stefan Gerlach
Browse files
Try building R server on Windows
parent
39536ae6
Pipeline
#251035
canceled with stage
in 7 minutes and 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/backends/R/rserver/rcallbacks.cpp
View file @
2e0dfffe
...
...
@@ -10,11 +10,26 @@
#include
<QDebug>
#include
<QStringList>
#include
<stdio.h>
#ifndef _WIN32
#ifdef Q_OS_WIN
#include
<R_ext/RStartup.h>
#include
<R_ext/Utils.h>
#include
<R_ext/libextern.h>
structRstart
RK_R_Params
;
extern
"C"
{
// why oh why isn't Rinterface.h available on Windows?
LibExtern
void
*
R_GlobalContext
;
LibExtern
uintptr_t
R_CStackLimit
;
LibExtern
void
R_SaveGlobalEnvToFile
(
char
*
);
}
#else
#include
<Rinterface.h>
#endif
#include
<stdio.h>
RServer
*
server
;
Expression
*
currentExpression
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment