Displaying 20 results from an estimated 8000 matches similar to: "Running Fortran code from R"
2008 Oct 24
3
Computational problems in R
Dear all,
I would be grateful if anyone can help me with the following:
My aim is to compute explicitely the sum S=A+B where A=sum(exp(c_i/d)),
i=1,...,n;
B, c_i, and d are real numbers with -Inf<B,c_i<+Inf; and d>0.
The problem is that when c_i/d >710 (for some i) R is setting
exp(c_i/d) to be equal to +Inf and hence the whole summation S.
So in simple cases where for example c_i=8
2008 Oct 20
1
Error reporting in R
Hello,
I am hoping someone can help me with the following:
I am applying the function "mle" on a single data set X n times, each
time using a different set of initial values v[i] (i=1,...,n).
The initial values are all finite. Two cases arise:
A- For some sets of initial values mle is giving parameter estimates.
B- For some other initial values, mle is reporting the following error:
2009 Dec 11
2
Regularized gamma function/ incomplete gamma function
Dear all,
I would be very grateful if you could help me with:
Given the regularized gamma function Reg=int_0^r (x^(k-1)e^(-x))dx/int_0^Inf (x^(k-1)e^(-x))dx ; 0<r<Inf (which is eventually the ratio of the
Incomplete gamma function by the gamma function), does anyone know of a package in R that would evaluate the derivative of the inverse of Reg with respect to k? I am aware that the
2009 May 15
2
Problem building (binary) packages for Windows
Hi,
I am having a problem building binary packages for
Windows recently.
Normally, I use the "Murdoch-Sutherland" tool set,
http://www.murdoch-sutherland.com/Rtools/
just build source packages by
R CMD build <pkgname>
and install these with
R CMD INSTALL <pkgname>
But now, for someone without having this tool set installed,
under Win XP, with R-2.10dev
2004 Nov 07
4
writing a simple package in R 2.0 under Windows XP
Dear listers,
I have developped a set of functions that I would like to package on a
Windows XP plateform for some friends (this would be more simple than to
deliver them as a source text file without handy help). I am working under
Windows XP.
Of course I have gone through the manual "Writing R extension" and try to
sort out what a most simple "packaging" for beginner
2008 Feb 06
1
Building R for Windows
I have some C code (using an old Borland compiler) that calls a DLL that
I'd like to get working from Windows and R (so I can read ABF files -- Axon
Binary Files -- directly in R).
I thought a good first approach would be able to build R in Windows, so
that's what I'm trying to do. [I've done test builds of R under Linux
before, and that seemed fairly simple.]
I've
2010 Jan 31
2
Installling source package
Hi R users,
Im trying to install XML source package (in window platform) using the
following command.
*install.packages(pkgs = "C:\\Documents and
Settings\\skang\\Desktop\\Softwares\\R\\Library\\XML_2.6-0.tar.gz", repos =
NULL, type = "source")*
and get the following result.
gzip: stdin: unexpected end of file
/cygdrive/c/Rtools/bin/tar: Unexpected EOF in archive
2005 Mar 15
2
missing sh.exe file when running "R CMD INSTALL test"
I am trying to learn how to make a simple package that contains no C
or Fortran code. I used package.skeleton(...) to make a package
called "test". The directory and files look good. I downloaded and
installed Rtools (www.murdoch-sutherland.com/Rtools/tools.zip). I
added the path and from the dos prompt I can verify that make.exe and
sh.exe both exist, but when I try to run "R
2011 Jun 09
2
Rtools - "The setup files are corrupted" message when trying to install
Hi,
Apologies if this is the wrong list to be sending this question to.
I am trying to install a copy of the R tools required to create /
compile packages on windows. After downloading Rtools from
http://www.murdoch-sutherland.com/Rtools/ windows keeps complaining that
"The setup files are corrupted".
This has happened with both the Rtools213.exe and the Rtools212.exe
downloads, and
2005 May 06
1
Latex can not find Rd.sty
Hi,
Lately my Latex engine used for checking packages stop working, and I can
not figure out how to fix it.
When creating my package (caMassClass) I get the
* checking caMassClass-manual.tex ... ERROR
LaTeX errors when creating DVI version.
This typically indicates Rd problems.
message. I look in caMassClass-manual.log file and find
! LaTeX Error: File `Rd.sty' not found.
2010 Nov 02
2
can not built a package
Dear all, I tried to build a package from source, and ran into a problem.
>R CMD build RQDA
* checking for file 'RQDA/DESCRIPTION' ... OK
* preparing 'RQDA':
* checking DESCRIPTION meta-information ... OK
ERROR
copying to build directory failed
I searched and found this
http://r.789695.n4.nabble.com/tar-problem-when-using-R-CMD-build-on-Windows-td2734636.html
> SET
2012 Mar 14
3
Problem installing RMySQL package!
I am facing issues while installing RMySQL package on windows(32 bit) installation of R-Project.
I am getting the following warning messages.
Warning messages:
1: running command 'C:/PROGRA~1/R/R-213~1.2/bin/i386/R CMD INSTALL -l "C:/Program Files/R/R-2.13.2/library" D:\DOCUME~1\nagga002\LOCALS~1\Temp\RtmpLZndlE/downloaded_packages/RMySQL_0.9-3.tar.gz' had status 1
2: In
2011 Nov 29
3
Updated Windows toolchain
An updated toolchain is now being used for Windows' builds of R-devel:
details are in the R-admin manual and at
http://www.murdoch-sutherland.com/Rtools/ and
http://www.stats.ox.ac.uk/pub/Rtools/
Both 32- and 64-bit parts of the toolchain use v2.0.1 of the Mingw-w64
project's runtime and a beta of gcc 4.5.4: the Mingw.org project's
builds are no longer used. This should mean that
2004 Jun 25
4
Installing on Windows packages build on Unix
Hello,
I wanted to share with a colleague a few R functions that I wrote. To
this purpose, I created a small package on my machine (Unix) and
emailed it to her. Now she is having troubles installing the package
on her Windows machine. It seems that on her side, install.packages
looks for a "zip" file - while I have created a "tar.gz" file. I tried
to build the package with the
2007 Dec 14
1
windows rtools missing gfortran.exe?
Hi,
I replaced my Rtools today as posted at
http://www.murdoch-sutherland.com/Rtools/Rtools.exe
Trying to build R-devel_2007-12-13.tar.gz without modifying MkRules
gives the gfortran command not found error below. I am wondering if
gfortran.exe is missing from (recent?) Rtools.exe or I am doing
something wrong.
Thanks to hints at Duncan's site, I worked around the error by adding
2004 Mar 15
1
R v1.9.0 alpha w/ Rtools: gzip problem
Hi, Gordon Smyth brought the following problem to my attention.
PROBLEM/"BUG":
Using R v1.9.0 alpha for Windows and the latest Rtools from Brian
Ripley you get the following problem trying to R CMD build a package
(or a bundle);
>R CMD build R.basic
* checking for file 'R.basic/DESCRIPTION' ... OK
* preparing 'R.basic':
* checking whether 'INDEX' is
2008 Jul 14
2
dll problem
I am trying to load a dll compiled with the latest cygwin into R 2.7.0
R version 2.7.0 (2008-04-22)
Copyright (C) 2008 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
I have:
Sys.getenv("Path")
Path
2005 Apr 22
3
Installing packages from source on WindowsXP
Hi,
I'm having some problems installing packages from the source files on
Windows, using R CMD INSTALL pkg. I'm running WindowsXP, and I've
followed the instructions as per the README.packages file from the R
installation. I ran into a hitch, with the install failing following a
"hhc: not found" warning. I figured out that this was related to the
html help workshop.
2005 Jul 24
4
problem building R packages in windows xp
Dear R users,
I am having problems building R packages in Windows xp. I have followed the
instructions from Peter E. Rossi in Documentation -> Other, except for the
TeX version (fpTeX), since when I go to the recommended webpage, it is said
that fpTeX has been discontinued. I have MikTeX in my computer, and I have
followed the recommendations in
2011 Feb 12
1
R 2.13.0 on Windows: R CMD check and '"du"' not found
FYI, I'm sure the following is a temporary issue, but in case it slips
through, I want to raise it here. On Windows 7 64-bit, running Rcmd
check on R devel gives:
* using R version 2.13.0 Under development (unstable) (2011-02-11 r54330)
* using platform: x86_64-pc-mingw32 (64-bit)
* using session charset: ISO8859-1
* checking for file 'aroma.core/DESCRIPTION' ... OK
* this is