Comments (3)
Sorry, I'm not quite sure I understand the issue - you are setting the environment before Rserve is started (typically using R CMD
) - it merely uses the R home defined by the environment. Normally, the way chroot
ed Rserve is used to have the corresponding R setup in the chroot which is typically a subset of the system R. Rserve doesn't "bind" anything itself, it's being linked against whatever R is available - and that happens before it's even run, so it has no control over that. If you want to have an entirely different R setup in your chroot jail, then you have to first chroot into the jail and then start Rserve - there is nothing Rserve itself can do to make that happen itself since it's linked to whatever R you start it with.
from rserve.
Thanks for the comment.
Indeed the right approach is to use LD_PRELOAD or other ld "tricks" to make sure RServe binds with the right R dll when run in a chroot environment. RServe links to whatever R the dynamic loader picks out, which is typically the system R.
You can close this as a "won't fix", we will try to make it work by either using LD_PRELOAD or by writing a wrapper to chroot first.
from rserve.
LD_PRELOAD
doesn't sound quite right. R controls the locations that will be loaded using via R_HOME_DIR
in the initial script and then $R_HOME_DIR/etc/ldpaths
for the location of libraries, so I would rather make sure those are setup correctly instead.
from rserve.
Related Issues (20)
- RServe SSL connection - buffer size issue HOT 19
- Fatal error: unable to open the base package in Windows 10 with R-4.1.0 HOT 2
- TLS handshake failed when using Rserve with RSclien in local RStudio HOT 5
- Question: How to capture output&message per connection using Java client HOT 10
- Is connection ID (and thereby PWD) exposed in client interface? HOT 1
- Java client does not support the complex type HOT 1
- TLS/SSL Connection Issues from Tableau Desktop HOT 2
- Using additional headers HOT 4
- Installation on windows machine for 1.8-8+ fails HOT 4
- Authentication with Rserve failed HOT 9
- declared variables not retrievable HOT 3
- Please disregard. I mistakenly filed issue for a different project, but can't delete this. HOT 1
- Java client: use exceptions instead of null result HOT 1
- Need some Help with Rserve and SSL HOT 12
- "Ignoring SIGPIPE signal" only when Rserve daemon is started from the server program HOT 5
- eval failed 127, no logging, no stacktrace HOT 2
- R Graphics in Windows HOT 4
- Why and How does Rserve make "conn" folders on Linux? Is there a way to get it to clean up its directories? HOT 6
- Missing conf file is silently ignored HOT 3
- improved feedback? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rserve.