Displaying 20 results from an estimated 1000 matches similar to: "[Rd] example package for devel newcomers"
2011 Jul 31
3
example package for devel newcomers
Hi,
I'd like to know whether there is a package (or more, of course) regarded
as a good example that could be used also as an instructional tool for
newcomers to R extensions development.
Thanks.
--
Alexandre
--
Alexandre Santos Aguiar, MD, SCT
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198
2012 Feb 17
1
Race Condition In PHP Session Handler
php-5.3.3-3.el6_2.6.x86_64
2.6.32-220.4.2.el6.x86_64
After some testing we moved our production PHP intranet site from an old
server to a new CentOS 6.2 instance running the mentioned versions. At
first it worked well and then user's started to experience a hung site.
Upon some digging it appears that the PHP module is getting stuck in a
race condition regarding the sessions file -
[root at
2010 Jun 26
1
Passing the parameter (file name) to png()
I am fitting 3 parameter model to my response matrix and want to generate
item characterstic curve.
I want to specify file name to save item characterstic curve by passing it
as external parameter to the R batch script. The following is the code I
have written for this.
*R Script:*
library(ltm)
cmd_args = commandArgs();
for (arg in cmd_args) cat(" ", arg, "\n",
2009 Nov 07
3
SELinux is preventing httpd from loading /usr/local/apache/modules/libphp5.so
Dear my friends...
Anybody would be so nice for telling me the solution of my problem.
My Apache2 can not start.
I find this error in /var/log/messages:
Nov 7 14:20:47 cencen setroubleshoot: SELinux is preventing httpd from
loading /usr/local/apache/modules/libphp5.so which requires text
relocation. For complete SELinux messages. run Realertrag -l
077ac3bc-5f20-4954-99c3-a754f9cd7df2
I've
2012 Jun 04
1
nodejs based website
Hello,
I am trying to setup a node.js based website called 'hummingbird'.
It's a monitoring package that you can read about here:
http://projects.nuttnet.net/hummingbird/
My question is when I hit the site all I see is a directory listing
http://107.21.183.42/hummingbird/
Similar to what would happen if you went to a php site without php
being configured in apache with the
2010 Mar 25
3
httpd stopped working under SELinux so I had to turn SELinux off. libxml2.so.2: failed to map segment from shared object: Permission denied
Hi.
CentOS 5.4 64-bit with SELinux, happily running for over a year, suddenly
httpd fails to start up, getting an error message like:
Starting httpd: Syntax error on line X of /etc/httpd/conf.d/php.conf:
Cannot load /etc/httpd/modules/libphp5.so into server: libxml2.so.2:
failed to map segment from shared object: Permission denied
I turned off SELinux and was able to start httpd.
But what went
2014 Sep 16
2
repoquery -f does not work well.
Hi.
I've found inconstancy between output of repoquery and rpm. I was
looking forward towards apache php 5.4 module which must provided by
some package SCL (can someone tell me?).
rpm -qf /etc/httpd/modules/mod_proxy.so
httpd-2.2.15-29.el6.centos.x86_64
repoquery -qf /etc/httpd/modules/mod_proxy.so
so repoquery results in no output
yum list installed httpd
Loaded plugins: fastestmirror
2012 Apr 16
2
libvirt slow responding after define poool with existing VG with some other lv
If I add VG with some other lv-s to libvirt pool then libvirt slow
responding. How to fix it?
<pool type='logical'>
<name>LVM_MAIN</name>
<uuid>a2713bed-ad4a-fb79-83b5-65a9e8f1094e</uuid>
<capacity>0</capacity>
<allocation>0</allocation>
<available>0</available>
<source>
2011 Jul 31
1
example package for devel newcomers
Hi,
I'd like to know whether there is a package (or more, of course) regarded
as a good example that could be used also as an instructional tool for
newcomers to R extensions development.
Thanks.
--
Alexandre
--
Alexandre Santos Aguiar, MD, SCT
-------------- Pr?xima Parte ----------
Um anexo n?o-texto foi limpo...
Nome: n?o dispon?vel
Tipo: application/pgp-signature
Tamanho: 198
2008 Oct 02
1
For newcomers to the mailing list.
1. Don't top post.
2. Don't hijack another thread with new unrelated info.
3. Trim your responses.
4. Turn off html in your mail client.
5. Try and do some basic google searches on your problem.
Quoted from:
http://www.centos.org/modules/tinycontent/index.php?id=16
2014 Jan 22
1
Linking to native routines in other packages
Dear all,
in my package 'stochvol' I have unsuccessfully been trying to make a C
routine called 'sampler' available to be called from other packages' C code.
Following
http://cran.r-project.org/doc/manuals/R-exts.html#Linking-to-native-routines-in-other-packages
I have included
#include <R_ext/Rdynload.h>
R_init_stochvol(DllInfo *dll) {
2007 Jun 01
1
Calling C routine in anther package in C code (R_RegisterCCallable)
Hi,
I want to make use of some C routines from other packages to write extensions
in C.
In "Writing R Extensions", it says there is an experimental interface to
support this in (or from ?) R 2.4.0.
I had a dummy library containing src/dummy.cpp and R/zzz.R:
====== src/dummy.cpp ====
#include <R.h>
#include <Rinternals.h>
#include <R_ext/Rdynload.h>
2004 May 19
0
R Optimization 101 for R Newcomers: An extended example
To new R-Programmers:
This long-winded note gives an example of optimizing in R that should
only be of interest to newcomers to the language. Others should ignore.
My hope is that it might help illuminate some basic notions of code
improvement, looping, and vectorization in R. However, I welcome
comments from anyone that enlarge, correct, or improve it. I remain a
novice R programmer.
For the
2003 May 16
1
Reloading a shared library with dyn.load
Hi,
I'm using dyn.load to load a shared library (compiled from C
code) into R. If I dyn.unload it and then dyn.load it again, I
get an hourglass icon in Rgui (R 1.7.0, Win 2000), and it
just sits there forever. I can't press Escape to stop the
current computation, but I can close Rgui without resorting to
using the Task Manager.
Is it a problem with my use of R_alloc? Do I need
2017 Feb 09
2
R CMD check error
Martyn,
No, that didn't work.
One other thing in the mix (which I don't think is the issue) is that I call one of the
C-entry points of expm. So the DESCRIPTION file imports expm, the NAMESPACE file imports
expm, and the init.c file is
#include "R.h"
#include "R_ext/Rdynload.h"
/* Interface to expm package. */
typedef enum {Ward_2, Ward_1, Ward_buggy_octave}
2003 Dec 09
1
R Interface handholding
Hello,
I need a bit of handholding with R, specifically, with writing
packages for it. I'm a systems programmer, and am, on the request
of several users of our software, working on generating R interfaces.
For starters, I've written the following R function (which compiles):
SEXP myincr(SEXP Rinput)
{ // Returns input integer incremented by one
int input;
SEXP returner;
PROTECT(Rinput =
2016 May 04
0
Is it possible to increase MAX_NUM_DLLS in future R releases?
>>>>> Qin Zhu <qinzhu at outlook.com>
>>>>> on Mon, 2 May 2016 16:19:44 -0400 writes:
> Hi,
> I?m working on a Shiny app for statistical analysis. I ran into this "maximal number of DLLs reached" issue recently because my app requires importing many other packages.
> I?ve posted my question on stackoverflow
2016 Dec 22
0
Is it possible to increase MAX_NUM_DLLS in future R releases?
I have read both the historical r-devel threads and the most recent one
regarding this. After reviewing the code, it would seem to beg for a
linked-list implementation vs. an array implementation.
This has several interesting consequences.
Cons:
1) We pay for dynamic allocation every time we register a DLL. This isn't
a problem in the grand scheme of things as registering a DLL results in
2017 Feb 10
0
R CMD check error (interfacing to C API of other pkg)
>>>>> Therneau, Terry M , Ph D <therneau at mayo.edu>
>>>>> on Thu, 9 Feb 2017 12:56:17 -0600 writes:
> Martyn,
> No, that didn't work.
> One other thing in the mix (which I don't think is the issue) is that I call one of the
> C-entry points of expm. So the DESCRIPTION file imports expm, the NAMESPACE file imports
2003 May 28
0
R_GlobalEnv
Hi,
I'm trying to access the current R global environment from
within C, using R_GlobalEnv.
In the example below, Rgui (R 1.7.0. Win2K) crashes when I try
to run assignValueToFooInR_GlobalEnv, but not when I run
assignValueToFooInRhoEnv with Rho=.GlobalEnv. Can anyone tell me why?
[ My motivation is that I want use defineVar to initialise a
workingEnvironment (corresponding to Value