[Rd] Closing over Garbage

2015-01-15 Thread Christian Sigg
Given a large data.frame, a function trains a series of models by looping over two steps: 1. Create a model-specific subset of the complete training data 2. Train a model on the subset data The function returns a list of trained models which are later used for prediction on test data. Due to h

[Rd] Terminating and restarting an embedded R instance possible?

2012-08-30 Thread Christian Sigg
I am developing R functions that interface with C++ code from the OpenCV library. During development and unit testing, I embed an R instance to prepare the environment in which the function encapsulating OpenCV code is called. Running the unit testing suite results in starting (and later termin

[Rd] Implications of a Dependency on a GPLed Package

2013-01-25 Thread Christian Sigg
I intend to submit a newly developed package to CRAN (to be licensed under the GPL), which prompted me to re-read the GPL FAQ. The following section caught my attention: > If a programming language interpreter is released under the GPL, does that > mean programs written to be interpreted by it

Re: [Rd] Implications of a Dependency on a GPLed Package

2013-01-25 Thread Christian Sigg
Dear Duncan > I don't think my point contradicts the FSF interpretation. I think they were > talking about using GPL modules in a program you distribute, with the > implication that you are distributing the modules along with your program. > However, I could be wrong. If I am wrong and the F

Re: [Rd] Implications of a Dependency on a GPLed Package

2013-01-25 Thread Christian Sigg
Dear Marc The GPL FAQ section that I quoted addresses all the points that you raise: > There are some questions that need to be answered, since these types of > questions have to be answered within specific contexts. For example: > > 1. Is your package "pure R" code and contains only code that

Re: [Rd] Implications of a Dependency on a GPLed Package

2013-01-25 Thread Christian Sigg
> I am aware of those discussions, and am not advocating for a change of the > current practices of the CRAN maintainers. But if the current practices of > the R project are in conflict with the FSF interpretation of the GPL, they > need to be addressed. Let me correct my last sentence to "...,

Re: [Rd] Implications of a Dependency on a GPLed Package

2013-01-25 Thread Christian Sigg
Dear Simon Thank you for the link. This is exactly the kind of statement that I was looking for. I searched the archives for any mention of the GPL, for posts by Prof. Leisch and some other keywords before posting to the list. Could this statement be added to the R FAQ and/or the CRAN reposito

Re: [Rd] Implications of a Dependency on a GPLed Package

2013-01-25 Thread Christian Sigg
Dear Marc > 2. Can non-GPL compatible packages for R even be created (even if "pure R"), > based upon the interpretation of the GPL that Christian has postulated? I am not trying to offer my own interpretation of the GPL, which is entirely irrelevant. (If anyone is interested, I fall on the "pr