Displaying 20 results from an estimated 1300 matches similar to: "Qs on calling R from C"
1999 Apr 07
1
library
I also have several packages in my RW0633 in Windoze
and I would like to keep them in one place when I update the R
system.
Brian say to modify Rprofile to
..lib.loc <- c("c:/MyR/library",.Library)
now Rprofile has a line like
.lib.loc <- unique(c(unlist(strsplit(getenv("RLIBS"),":")),.Library)
Sorry to be dense but where should I put the
2009 Jun 26
1
bug in Rf_PrintValue ?
I'm very green with R, so maybe this is not a bug, but it looks like one to
me. The following program segfaults at the second call to Rf_PrintValue().
To failure depends on the value of the y-string. E.g., if I change it from
"coverage" to, say, "COVERAGE", the segfault does not occur.
/* bug.c */
#include <stdio.h>
#include <Rinternals.h>
#include
2000 Aug 31
2
Problem with R INSTALL locfit on DEC alphaev56-dec-osf4.0d
Dear all,
usually I work under linux, but I tried to install R-1.1.1 on
our alpha's which worked well.
However, installation of the locfit package produced the following
warning:
---------%<----------------
Installing package `locfit' ...
libs
/vol/bin/gcc -I/vol/math/R/include -I/usr/local/include -mieee -g
-O2 -c S_e
nter.c -o S_enter.o
S_enter.c: In function `basis':
2005 Apr 18
2
UnauthorizedAccessException in R(D)COM
Dear friends,
I am trying to create a web application to produce some
statistical result using R. In order to avoid high CPU usage of web
server caused by R, I have to create an ASP.NET web service in another
server to involve R.
But I am facing the unauthorizedAccessException when I call the
web service, even I have assigned access and launch permission to everyone
using
1998 Dec 01
2
help files for libraries that aren't in the defaults library tree
Hello,
I created a library for a bunch of functions that I use frequently
so that I dont have to carry duplicate copies around to wherever I fire
up an R sesssion. However, I have problems locating the help files
for those functions. Here are some details.
I created the library "myR" and installed this in /home/royle/R
using:
R INSTALL -l /home/royle/R /home/royle/Rpackages/myR
1998 Dec 01
2
help files for libraries that aren't in the defaults library tree
Hello,
I created a library for a bunch of functions that I use frequently
so that I dont have to carry duplicate copies around to wherever I fire
up an R sesssion. However, I have problems locating the help files
for those functions. Here are some details.
I created the library "myR" and installed this in /home/royle/R
using:
R INSTALL -l /home/royle/R /home/royle/Rpackages/myR
2000 May 22
1
character arguments with call_R (PR#552)
character arguments with call_R do not work except in the first
position. (In other positions, they just yield a single blank
character.)
The error is at line 1858 of dotcode.c which should be changed from
STRING(CAR(pcall))[i]=s;
to
STRING(CAR(pcall))[0]=s;
Jim
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read
2010 Jul 13
1
Building a custom Windows installer
Dear r-devel list members,
It's been several years since I last built a custom Windows installer for R,
and despite my notes and the instructions in Sections 3.1.7 and D.4 of the R
Installation and Administration Manual, I've run into a problem, receiving
the following error message:
----------- snip -----------
C:\R\src\R-2.11.1\src\gnuwin32\installer>make myR
2009 Apr 15
1
Compiling Fortran Subroutines as R Shared Objects on Mac OS-X
Hello,
I am trying to compile some F77 subroutines as shared objects for R on my Mac.
--> Mac OS-X Version 10.4.11 (Tiger Intel Mac)
I have done this (successfully) before on Sun Solaris and Linux Fedora systems using the following command.
> R CMD SHLIB myfile.f
I have g77 installed from this page.
http://hpc.sourceforge.net/
I am using R 2.8.1, and I have installed all 4 additional
1998 Oct 28
1
Calling R-Functions from C ?
Hi
Is there a way to call R-Functions from C directly ? Is there an API
Any comments are welcome.
Thanks
Reinhard
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To:
2012 Apr 10
1
Building customized R for Windows installer using 'make myR'
I am attempting to build a customized R installer on Windows, using the Inno
Setup installer.
I am following the instructions in Section 3.1.8 of the R Installation and
Administration Manual ("Building the Inno Setup installer"), which includes
the following passage:
An alternative way to customize the installer starting with a binary
distribution is to first
make a full
2008 Mar 30
2
tests Rin Rout
Hi the list,
Some rumour (!) say that is it possible to prepare some tests for
checking our code using .Rin and .Rout. It seems to be a very good
practice, but I did not manage to find information on it.
So does someone know how it works ? What are we suppose to write in Rin ?
More precisely :
- I have a package myPack.r in directories ~/myR/myPack/R/
- I create the directory
2023 Aug 22
2
Is r2u at 3.4.1? [branch about handling package collisions under Ubuntu/Debian]
This is definitely tangential to the list: I'm on Ubuntu (22.04.2 LTS)
not Debian and I'm sure this is about issues in the Ubuntu package
management
on my machine, R is only revealing them.
The original subject line came from me wondering if my going over to the r2u
repository would solve the problem.? However, as I think Dirk said, that's
only really likely to be answered by trying
2001 Nov 28
2
Problem with printer driver sharing Win2k klients.
Hi...
I got this new server at work that I have to get 100% up and running by
tomorrow.
It's running Samba 2.2.1a on SuSE 7.3 Pro
It's supposed to be VPN - File and Printer Server
The printers are:
One OCE 700C / CS90 color copier and One OCE 3165
And there is only one problem left.
I can install the printer drivers for Win9x & NT on the samba server.
But I can't figure out how to
2012 Jan 14
1
Converting .Rout file to pdf via Sweave automatically
The R documentation mentions to create a PDF or DVI file from an Rnw template, the Sweave command can be used used.
However, is there any way to go from a .Rout file straight to pdf with an Rnw template ?
What I'm trying to avoid is adding the Sweave markup to the .tex file manually.
What I think I'm missing is the exact arguments to the Sweave command.
I tried numerous forms of:
2006 Feb 16
3
Rf_errorcall - translate to Pascal
Hello!
I (try to) convert the external R header files to Pascal (Delphi). At
one place I stumbled over a macro that uses a method that is not
declared in a LGPL header file:
In Rinternals.h:
#define error_return(msg) { Rf_error(msg); return R_NilValue; }
#define errorcall_return(cl,msg){ Rf_errorcall(cl, msg); return R_NilValue; }
~~~~~~~~
2010 Feb 23
1
patch about compile R with clang
clang is compiler http://clang.llvm.org, it is fast and better c compiler then gcc, yesterday i use clang and gfortran compile R.
The only two change in source code is :
1. the configure file (in confiure when test include wctype.h,gcc can compile but clang need include both wchar.h wctype.h),so this is patch
--- /r/configure
+++ /myr/configure
@@ -39172,6 +39172,7 @@
cat
2009 Jun 08
0
How to explore R internals through gdb?
Hi everyone.
I'm trying to learn my way around the R internals. I've gone pretty much as
far as I can go with the information given in Writing R Extensions and R
Internals, but I still have a lot of questions, too many in fact to post
them to the r-devel list. But I think I could answer many of these if I
could just step through R's execution during some basic operations.
What
2003 Aug 14
0
Simple C-R interface, SEXP and other declarations
I am trying to integrate OpenOffice Calc (OO) with R. One of the steps I am
taking is to create a very simple command line C program with the R shared
lib embedded in it. It would simply pass an R/S expression to R, print the
result, and catch errors. I know this is "overkill," but it is a step
toward something larger.
Has anyone done this before? If so, I would love to check out
2003 Jul 16
1
Integrating R in OpenOffice
Hi All,
A group of about 3-4 of us are looking into the possibility of incorporating R
into OpenOffice's (OO) spreadsheet component (sc) . We wish to use OO's nice
ODBC ability to query a postgresql-based gene expression database thus
populating an OO sc and then use Bioconductor via R to analyse user-selected
parts of this spreadsheet.
We've looked at and compiled and used