Re: [Rd] Multiple versions of data in a package

2014-07-22 Thread ONKELINX, Thierry
Dear Chris, Add both snps_36 and genes_36 to the same rda file. Then you should both load with a single data() command. However make sure to document all functions well. Then it is up to the user to use the functions correctly. You can implement some controls to give a warning when incorrect d

Re: [Rd] Licence for datasets in a R-package

2014-07-22 Thread Gionata Bocci
Thank you all very much for your (extremely) prompt reply. If datasets' authors won't agree on releasing their data under GPL, I'll follow G. Grothendieck suggestion and build a ad-hoc data-package. Thanks, Gionata. 2014-07-21 20:04 GMT+02:00 Gábor Csárdi : > On Mon, Jul 21, 2014 at 1:56 PM,

Re: [Rd] Licence for datasets in a R-package

2014-07-22 Thread Spencer Graves
For a data set that are available on the web, one can write a function to download it. This can be done either because of license issues or because the database changes, and you might like to get the latest version. One example is fda::readHMD. The Ecfun package contains many other examples.

[Rd] Problems with building a private R-package with Fortran source under Windows

2014-07-22 Thread Alexander Braumann
Hi, I recently managed to port the slicot library (http://slicot.org/) to R. I created a new package, put the fortran libs into the src directory together with a Makevars file that include the line: PKG_LIBS=$(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) R CMD check did run through on my ubuntu 14.04

[Rd] Question: Publishing R/S objects with WebServices (SOAP/WSDL)

2014-07-22 Thread Kurt Schallitz
Hello, Can anyone tell me if there is a package which will allow me to write a package in R, then publish the package using WebServices? The idea is that I want to be able to pass a data set into R, have R perform the calculations, then send the result back to either a .Net application or a LIMS B

Re: [Rd] Question: Publishing R/S objects with WebServices (SOAP/WSDL)

2014-07-22 Thread Dirk Eddelbuettel
On 22 July 2014 at 07:21, Kurt Schallitz wrote: | Can anyone tell me if there is a package which will allow me to write a | package in R, then publish the package using WebServices? The idea is that | I want to be able to pass a data set into R, have R perform the | calculations, then send the res

Re: [Rd] Question: Publishing R/S objects with WebServices (SOAP/WSDL)

2014-07-22 Thread Tobias Verbeke
Hi Kurt, The R Service Bus was made to do this. http://rsb.doc.openanalytics.eu/dev/ http://rsb.doc.openanalytics.eu/dev/wsdocs/index.html Running in production at multiple big pharma companies since 2010. Open source and freely available. Best, Tobias - Original Message - > From: "K

Re: [Rd] Problems with building a private R-package with Fortran source under Windows

2014-07-22 Thread John Nolan
On Windows, there is a separate file makevars.win (not makevars) that is used at compile/link time. See the R-exts manual, particularly section 5.8.2. Hope that helps, John .. John P. Nolan Math/Stat Department 227 Gray Hall,

Re: [Rd] Question: Publishing R/S objects with WebServices (SOAP/WSDL)

2014-07-22 Thread Geoff Jentry
So far I see many packages that allow R to consume WebServices, but I haven't seen anything that allows you to publish a package as a WebService. If you haven't already, look at the RWebServices package from Bioconductor. __ R-devel@r-project.org ma

[Rd] Byte Order Mark in ?connections

2014-07-22 Thread Yihui Xie
Hi, There seems to be a couple of typos in the documentation of connections about the Byte Order Mark, e.g. 0xFFFE should be 0xFEFF, and c(0xef, 0xbb, 0xff) should be c(0xef, 0xbb, 0xbf). https://github.com/wch/r-source/blob/4c15a67b/src/library/base/man/connections.Rd#L366-L383 > charToRaw('\UFE

[Rd] Removed 'extern' on R_running_as_main_program in Rinterface.h -- intentional?

2014-07-22 Thread Kevin Ushey
Hi R-devel, In this commit: https://github.com/wch/r-source/commit/c67a107dd7b0f074cec9359b8e2ca07c6243283c R_running_as_main_program was moved from Rmain.c to Rinterface.h, and lost its 'extern' declaration. This change is causing us linker problems (since we now have duplicate symbols for R_run