Displaying 20 results from an estimated 6000 matches similar to: "Help - C Compiler"
2010 Jun 10
1
Rmath.dll importing in VB6 problem
Hi,
I am facing a problem which i think i need to explain it to you with some
background.
I need to use the Project R pnorm function in Visual Basic 6.0.
I have already installed R and this is how i perform and get back the
result:
> pnorm(2, 15)
[1] 6.117164e-39
which is what i need.
I have already installed R, i generated the Rmath.DLL file out so i can
import it into my VB6 and use it.
2008 May 13
1
OS X / R.h
Hey, I have a question about including the R framework in a file. I'm
running OS X 10.5.2. When I attempt to use:
#include <R/R.h>
And compile I get the following error:
/Library/Frameworks/R.framework/Headers/R.h:40:21: error: Rconfig.h:
No such file or directory
/Library/Frameworks/R.framework/Headers/R.h:41:57: error: R_ext/
Arith.h: No such file or directory
2012 Jul 25
1
Rconfig.h & unsupported architectures
Hi all,
Recently, when compiling R packages containing C code, I've started
getting the following error:
* installing to library ?/Users/hadley/R?
* installing *source* package ?appdirs? ...
** Creating default NAMESPACE file
** libs
*** arch - i386
gcc -arch i386 -std=gnu99
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include/i386 -DNDEBUG
2019 Dec 12
4
R 3.6.2 is released
The build system rolled up R-3.6.2.tar.gz (codename "Dark and Stormy Night") this morning.
The list below details the changes in this release.
You can get the source code from
http://cran.r-project.org/src/base/R-3/R-3.6.2.tar.gz
or wait for it to be mirrored at a CRAN site nearer to you.
Binaries for various platforms will appear in due course.
For the R Core Team,
Peter
2019 Dec 12
4
R 3.6.2 is released
The build system rolled up R-3.6.2.tar.gz (codename "Dark and Stormy Night") this morning.
The list below details the changes in this release.
You can get the source code from
http://cran.r-project.org/src/base/R-3/R-3.6.2.tar.gz
or wait for it to be mirrored at a CRAN site nearer to you.
Binaries for various platforms will appear in due course.
For the R Core Team,
Peter
2019 Dec 12
4
R 3.6.2 is released
The build system rolled up R-3.6.2.tar.gz (codename "Dark and Stormy Night") this morning.
The list below details the changes in this release.
You can get the source code from
http://cran.r-project.org/src/base/R-3/R-3.6.2.tar.gz
or wait for it to be mirrored at a CRAN site nearer to you.
Binaries for various platforms will appear in due course.
For the R Core Team,
Peter
2019 Dec 12
2
R 3.6.2 is released
It is not obvious what it is that you are calling "R-patched", nor where there could be an entry for "3.6.2 patched".
The prerelease/patched versions are snapshots of R-3-6-branch made at 00:20 so the current one will have been made before the release version run started at 09:00 this morning, and hence the nightly tarball will be of the release candidate. However it will not
2000 Apr 26
2
Cross compiling a package for Windows on Linux
I would like to compile for Windows a rather simple R package that
contains some C code. It does not contain any Fortran code.
I tried the cross-compilation route using the pre-built set of tools
from http://www.devolution.com/~slouken/SDL/Xmingw32/, as described in
$R_SRC/src/gnuwin32/INSTALL
Using the sources in r-devel from the rsync site I am able to build
libR.a in src/gnuwin32 but I
2000 Jun 16
2
R and OpenBSD
Howdy!
Has anybody successfully installed R under OpenBSD? I just tried to
install the latest R-release under OpenBSD 2.7 and got the following
errors in the make step:
pnorm.c:62 'ML_ERR_return_NAN' undeclared
pnorm.c:62 'ML_NAN' undeclared
pnorm.c:62 'ML_NEGINF' undeclared
--Ragnar
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help
2000 Jun 16
2
R and OpenBSD
Howdy!
Has anybody successfully installed R under OpenBSD? I just tried to
install the latest R-release under OpenBSD 2.7 and got the following
errors in the make step:
pnorm.c:62 'ML_ERR_return_NAN' undeclared
pnorm.c:62 'ML_NAN' undeclared
pnorm.c:62 'ML_NEGINF' undeclared
--Ragnar
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help
2004 Mar 19
1
R_qsort_int_I() error
Hi,
I want to use R_qsort_int_I() in my C function, but getting the
following error. It looks like there is a conflict between Rmath.h,
which I use to generate random numbers, and R_ext/Boolean.h I would
appreciate any help to fix this problem.
gcc -ansi -g -o Gibbs gibbs.c subroutines.o rand.o vector.o -lm -lRmath
-llapack -lblas -lfrtbegin -lg2c -lm -shared-libgcc
In file included from
2010 Sep 29
1
location of Rconfig.h when using architecture-dependent subdirs
Hello,
I just tried configuring R to use architecture-dependent subdirs
$ r_arch=x86_64 ./configure --prefix=/u/smat/konis/testdir
on a Debain Squeeze box
$ uname -a
Linux smapc007 2.6.32-5-686 #1 SMP Sat Sep 18 02:14:45 UTC 2010 i686
GNU/Linux
After building and installing, the Rconfig.h ended up in
.../lib/R/include/x86_64 but R.h still includes it as
#include <Rconfig.h>
2010 May 13
1
results of pnorm as either NaN or Inf
I stumbled across this and I am wondering if this is unexpected behavior
or if I am missing something.
> pnorm(-1.0e+307, log.p=TRUE)
[1] -Inf
> pnorm(-1.0e+308, log.p=TRUE)
[1] NaN
Warning message:
In pnorm(q, mean, sd, lower.tail, log.p) : NaNs produced
> pnorm(-1.0e+309, log.p=TRUE)
[1] -Inf
I don't know C and am not that skilled with R, so it would be hard for me
to look into
2008 Apr 18
1
R-extension in unix system -- help to locate header files
Hi list,
To call C, I used to use R-extension in windows but I'm moving to unix system
because my PC doesn't have enough memory. My C codes requires to include the
following header files:
#include <stdlib.h>
#include <R.h>
#include <Rdefines.h>
#include <Rmath.h>
#include <R_ext/Applic.h>
#include <R_ext/PrtUtil.h>
In windows, I had no problem with it
2008 Oct 17
1
missing Rversion.h and Rconfig.h when installing RSQLite under FC8
Hello,
I am having problems installing RSQLite under FC8. The error message
seems to indicate Rversion.h and Rconfig.h are missing. To illustrate
the problem, I have copied below the output shown when I first install R
(binary distribution) and then try to install RSQLite. Because the
problem does not occur when installing RSQLite with R under Windows I
suspect the problem is perhaps due to my
2024 Jul 29
1
Minor inconsistencies in tools:::funAPI()
Hi Ivan
Can you please clarify what input files should be used with your
proposed function? I tried a few files in r-svn/src/include and one of
them gave me an error.
> getdecl("~/R/r-svn/src/include/R.h")
[1] "R_FlushConsole" "R_ProcessEvents" "R_WaitEvent"
> getdecl("~/R/r-svn/src/include/Rdefines.h")
Error in regmatches(lines,
2010 Feb 10
1
R Startup configuration file
Currently when R starts up it can be configured by a file of
environment variable specifications and a file of R code. This makes
programmatic modification of startup configuration tricky.
Case in point: I start R, do install.packages("foo"), and up pops the
'choose a CRAN mirror' dialog. I'd like to put a 'Save my choice'
button on that dialog. Currently it would
2019 Dec 12
0
R 3.6.2 is released
Hi.
Under R-news there is an entry for 3.6.2 patched regarding LAPACK. However,
when uncompresding the current R-patched, it creates R-Rc directories. Is
this a naming oversight or is the patched version actually the unadjusted
release candidate?
Thank you,
Avi
On Thu, Dec 12, 2019 at 4:58 AM Peter Dalgaard via R-devel <
r-devel at r-project.org> wrote:
> The build system rolled up
2009 Feb 20
1
C function calling in R
Dear all,
I have a problem in calling my C code from R. If I do not need to use
#include<R.h>, the codes work properly. But when I need to use it, my
codes produce an error as:
logpostCLM.cpp:7:15: error: R.h: No such file or directory
logpostCLM.cpp:8:24: error: Rinternals.h: No such file or directory
logpostCLM.cpp:9:19: error: Rmath.h: No such file or directory
logpostCLM.cpp:10:24:
2013 Jul 04
1
R-devel Digest, Vol 125, Issue 2
Hi all,
I have a problem but i am not sure that this is the right mailing list.
I'm writing a R program which call a C++ program, through the function .Call. I use to compile the c++ script with the command
R CMD SHLIB SpTempWrapC.cpp -Wall -l covmodel.h -l util.h
Everything works fine since, for mistake, i paste in the terminal the content of the r-script. Now, when i try to compile,