similar to: specifying exports for R CMD SHLIB

Displaying 20 results from an estimated 10000 matches similar to: "specifying exports for R CMD SHLIB"

2007 Jan 17
5
percent sign in plot annotation
Hello, I would like to annotate a graph with the expression 'alpha = 5%' (the alpha should be displayed as the greek letter). I tried > text(1,1,expression(alpha == 5%)) which gives a syntax error. escaping the percent sign (\%) or doubling (%%) does not help. What do I do? Thanks, Martin Keller-Ressel -- Martin Keller-Ressel Research Unit of Financial and Actuarial
2005 Jul 05
1
timezone problems
Hi, Im using R 2.1.1 and running Code that previously worked (on R 2.1.0 I believe) using the 'timeDate' function from the fCalendar package. The code now throws an error: Error in if (Sys.timezone() != "GMT") warning("Set timezone to GMT!") However I have read the documentation of the fCalendar package and I have set my system variable TZ to GMT. I tracked the
2004 Apr 06
2
R loosing history
Hello, Im running R 1.8.1 on Win2000 and frequently using the function history() to keep track of what I did in my R session. In a recent session I typed history(max=Inf) and to my surprise there were only 15 lines of code where there should have been approx. 300 lines and I lost a lot of valuable work. Do you have any idea what caused this behaviour? help(history) didn't make me any
2020 Sep 23
3
jitter-bug? problematic behaviour of the jitter function
Dear all, i have noticed some strange behaviour in the ?jitter? function in R. On the help page for jitter it is stated that "The result, say r, is r <- x + runif(n, -a, a) where n <- length(x) and a is the amount argument (if specified).? and "If amount is NULL (default), we set a <- factor * d/5 where d is the smallest difference between adjacent unique (apart from fuzz) x
2020 Sep 23
3
jitter-bug? problematic behaviour of the jitter function
Dear all, i have noticed some strange behaviour in the ?jitter? function in R. On the help page for jitter it is stated that "The result, say r, is r <- x + runif(n, -a, a) where n <- length(x) and a is the amount argument (if specified).? and "If amount is NULL (default), we set a <- factor * d/5 where d is the smallest difference between adjacent unique (apart from fuzz) x
2005 Mar 03
1
Underscore character in Rd files
Hi, I'm trying to document a data frame in Rd format. The data frame contains a variable called 'Health_Env'. When I create a template for the Rd file using 'prompt()' the variable name is included as-is and when I run R CMD CHECK I get a latex error because latex considers '_' a special character (used for subscripts) which is only allowed in math mode. When I
2004 Oct 26
1
Error in lazyLoadDBfetch
Hello, what does the following error mean?? It occured during or at the end of a lengthy (and memory-intensive) calculation using a routine from a shared library called via the '.C' function: Error in lazyLoadDBfetch(key, datafile, compressed, envhook) : recursive default argument reference I could not find any help with help.search("lazyLoadDBfetch") Im using R
2003 Nov 03
2
calling R from Perl
Hi, I want to call R from Perl to generate plots to be displayed on a webpage. What I found out so far is that there is a package called RSPerl on www.omegahat.org which should do what I need. However in the description it says it has been tested with R 1.3.* the latest. I'm using R 1.8.0 right now so the package seems rather unmaintained. It is not easy for me to just install it and see
2010 Dec 14
1
How to specify compiler options when using R CMD SHLIB
Hi I've built a dll using Fortran code and can call it by either R or Fortran. Calling by the former gives me the wrong answer and the later gives the correct answer. >From what I've read, it looks like I should use the subroutines DBLEPR, INTPR and REALPR to print to the R console rather than using Fortran standard I/O and that if I use the command R CMD SHLIB source.f that these
2020 Sep 23
0
[R] jitter-bug? problematic behaviour of the jitter function
Hello, R 4.0.2 on Ubuntu 20.04, sessionInfo at end. This came up in r-help, I'm answering to the OP and also posting to r-devel since I believe it is more appropriate there. I can confirm this. The original instructions are the first and the last, but even with smaller numbers the error shows up. set.seed(2020) jitter(c(1,2,10^4)) # desired behaviour #[1] 1.058761 1.957690
2006 Jul 26
1
R CMD SHLIB flags
How can one specify multiple extra flags to R CMD SHLIB? The example in R-exts section 5.5 MAKEFLAGS="CFLAGS=-O3" R CMD SHLIB *.c works for a single flag, but when I try MAKEFLAGS="CFLAGS=-g -O2 -Wall" R CMD SHLIB *.c only the first flag is used and the rest seem to be ignored (version 2.3.1, Mac OS X) -thomas Thomas Lumley Assoc. Professor, Biostatistics
2009 Oct 20
1
Changing options in R CMD SHLIB
Dear, When trying to use directive OpenMP in my code, I observed that the directive ones were being considered as commentaries. Compiling with command R CMD SHLIB xxx.f95 - fopenmp and calling the function in the R verified that threads was not being considered. I was to observe the options of the compiler R CMD SHLIB --help Usage: R CMD SHLIB [options] files | linker options Build a shared
2001 Mar 13
1
passing arguments to R CMD SHLIB
Dear People, I want to run gcc with optimisation turned on (-O2), and with -Wall (all warnings) enabled, when using R CMD SHLIB. When I do make, which is R CMD SHLIB -Wall -O2 cftp.c mcmc.c latticefn.c -lm in this case, I get faheem ~/research/cftp>make R CMD SHLIB -Wall -O2 cftp.c mcmc.c latticefn.c -lm make[1]: Entering directory `/home/faheem/research/cftp' gcc -I/usr/lib/R/include
2012 Apr 13
1
Question with R CMD SHLIB in 64 bit R
Hi, I have some C++ code that I compiled into a dll for use in 32 bit R and would like to recompile for use in 64bit R. I thought it would be as easy as going to R-2.15.0\bib\x64 and running R CMD SHLIB mfregRF.c but that doesn't do anything. It doesn't give me any error messages, but it also doesn't create a shared (so) file. I just get the command prompt back. I also tried
2012 Feb 14
2
R CMD SHLIB in Windows XP - No output at all
Hello all, I'm trying hard to make R CMD SHLIB work on Windows XP (32-bit) - please note that I don't have the admin rights on the computer. In terms of setup, I have followed the procedure : => installed Rtools 2.14 => changed my path : PATH=C:\Trading\R\RTools\bin;C:\Trading\R\RTools\MinGW\bin;C:\Trading\R\R-2.14.1\bin\i386;C:\WINDOWS\system32;%OTHER_PATHS% But when I try R CMD
2001 Nov 17
2
choosing g/g++ compiler executable in R CMD SHLIB
Dear People, After considerable effort, I managed to install gcc-3.0 on my Debian system. However, Debian keeps gcc-2.95 around as the default compiler, and gcc, g++ point to the 2.95 version. The 3.0 versions need to be explicitly invoked as gcc-3.0, g++-3.0 etc. How can I get R CMD SHLIB to invoke gcc-3.0 instead of gcc and g++-3.0 instead of g++? I would like this to be done by default but
2004 Sep 14
2
R CMD SHLIB setup problem...
All, When I try and compile a shared library (on WinXP) I get the following error: E:\data\proj>R CMD SHLIB toy_dll.c Makevars:1: *** missing separator. Stop. Has someone else had this error and fixed it? This code compiles and works fine on Linux (fedora core 2). Everything was working fine under R1.8.1 but I've broken something when I upgraded to R1.9.1. So I am assuming
2010 Oct 08
1
R CMD SHLIB changes function name when compiling
Hi, I'm trying to write a function in C for implementation with .Call. When compiling using R CMD SHLIB characters seem to be added to the function name. Here's the complete C code from the file summariseMCMC.c: #include<R.h> #include<Rdefines.h> #include<Rinternals.h> void summariseMCMC(SEXP data) { PROTECT(data=AS_NUMERIC(data)); UNPROTECT(1); } Then
2003 Mar 16
1
R CMD SHLIB uses foo.c instead of foo.cc if both are present (PR#2644)
Full_Name: Faheem Mitha Version: 1.6.2 OS: Debian GNU/Linux Submission from: (NULL) (209.42.199.193) Suppose you are making a shared library using R CMD SHLIB foo.cc If there is a file called foo.c in the same directory, then it will be used instead. faheem ~/scratch/r-base>R CMD SHLIB foo.cc gcc-3.0 -I/usr/lib/R/include -D__NO_MATH_INLINES -mieee-fp -fPIC -g -O2 -c foo.c -o foo.o
2006 Feb 28
1
trouble with R CMD SHLIB on winXP
Hi, Has anyone come across this difficulty using R-2.2.1 in Windows XP: when I try to run R CMD SHLIB mycode.c I get the response: "The system cannot execute the specified program." I've tried installing all windows updates, reinstalling R and putting "R-2.2.1\bin" at the head of my path. Googling that error message leads to lots of stuff about *.manifest files. The