Displaying 20 results from an estimated 800 matches similar to: "R CMD build creates tar file instead of tar.gz file"
2012 Mar 13
1
Coding C++ in R. What is faster : Using bosst external libraries or R.h header file?
Hi everyone,
I have built an R package and for the sake of speed I have decided to rewrite some part of the code in C++. In my original R code I use the pnorm, qnorm, rnorm, pgamma, dgamma, rgamma, rbeta and runif function. First I was thinking in going with the boost libraries, but I noticed the functions described above are available within the R.h header file (or is it Rmath.h?).
So my
2012 Jan 05
1
Calling R functions within C/C++
Hello everyone!
First of all, please note that I'm working under Windows 7.
I have written a Gibbs sampler in R and I'm now in the process of translating it in C++ to increase the speed. I'm relatively new to C++ and this question may be trivial, but my search so far have been unsuccessful. In my Gibbs sampler I am using some basic R functions (like the rep function for example)
2011 May 04
1
Error Rscript: No such file or directory
Hello,
I'm trying to build a simple cpp file using the R CMD SHLIB command and I always
receive the same error message:
cygwin warning:
MS-DOS style path detected: C:/PROGRA~1/R/R-212~1.1/etc/i386/Makeconf
Preferred POSIX equivalent is:
/cygdrive/c/PROGRA~1/R/R-212~1.1/etc/i386/Makeconf
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult
2011 Mar 29
1
'RQuantLib for 2.12 version
Dear R users,
I have been trying to use RQuantLib in the 2.12.2 R version. I downloaded
the .zip file from
<http://sourceforge.net/projects/quantlib/files/QuantLib/>
http://sourceforge.net/projects/quantlib/files/QuantLib/ which didn't work,
so I
I downloaded the package source from
<http://sourceforge.net/projects/quantlib/files/QuantLib/1.0.1/>
2011 Oct 18
1
cygwing warming when creating a package in windows
Dear All,
I am a beginner creating R packages. I followed the Leisch (2009) tutorial
and the document ?Writing R Extensions? to write an example.
I installed R 2.12.2 (I also tried R2.13.2), the last version of Rtools and
the recommended packages in a PC with Windows 7 Home Premium.
I can run R CMD INSTALL linmod in the command prompt and the R CMD check
linmod. The following outputs are
2011 Jan 21
1
glitch in building R package
I follow Alan Lenarcic's very helpful tutorial on building R package for Windows (XP), which could be found in www.stat.columbia.edu/~gelman/stuff_for_blog/AlanRPackageTutorial.pdf<http://www.stat.columbia.edu/~gelman/stuff_for_blog/AlanRPackageTutorial.pdf>. The package involves a small dll compiled from some very simple C++ codes.
The build process seemed to work smoothly, until i
2013 Jul 18
2
question about Makeconf and nvcc/CUDA
Dear R development:
I'm not sure if this is the appropriate list, but it's a start.
I would like to put together a package which contains a CUDA program on Windows 7. I believe that it has to do with the Makeconf file in the etc directory.
But when I just use the nvcc with the shared option, I can use the dyn.load command, but when I use the is.loaded function, it shows FALSE.
2011 Oct 12
1
Error in Rcpp/inline (Windows XP)
Hi, everyone,
I am just trying to use Rcpp in my computer, and I would like to try a
simple example from website, but R keeps reporting me error. I am using
Windows XP, and has installed Rtools and GSI.
Here is the response:
> src = '
+ Rcpp::NumericVector xa(a);
+ Rcpp::NumericVector xb(b);
+ int n_xa = xa.size();
+ int n_xb = xb.size();
+
+ Rcpp::NumericVector xab(n_xa + n_xb - 1);
2011 Aug 02
2
R CMD check problem
Dear friends,
I am building an R package called *mypackage*. I followed every possible
steps (to my understanding) for the same. I got following problem while
doing *R CMD check mypackage*.
* installing *source* package 'mypackage' ...
** libs
cygwin warning:
MS-DOS style path detected: C:/PROGRA~1/R/R-213~1.0/etc/i386/Makeconf
Preferred POSIX equivalent is:
2010 Dec 18
1
Rcmd SHLIB error
I am getting this error message when I try to run Rcmd SHLIB myprog.c.
There appears to be a missing / between etc and i386 in the path. I
am on Windows Vista and am using R version 2.12.1 Patched (2010-12-16
r53864) and just downloaded Rtools 2.12 today. Is this a bug in R?
How can I resolve this?
C:\tmp2>Rcmd SHLIB myprog.c
cygwin warning:
MS-DOS style path detected:
2012 Oct 15
1
how to include --configure-args= in R CMD INSTALL
I am installing RMySQL_0.9-3.tar.gz pkg on windows-7 64 bit machine as:---
C:\Users\trendwise> R CMD INSTALL
--configure-args='--with-mysql-inc="C:\\Program Files\\MySQL\\MySQL Server
5.5\\include"' "C:\\Users\\trendwise\\Downloads\\RMySQL_0.9-3.tar.gz"
* installing to library 'C:/Users/trendwise/Documents/R/win-library/2.14'
* installing *source* package
2007 Nov 14
2
no applicable method for "names"
hi,
after installing R-2.6.0 the function "names" doesn't work anymore on my
windows xp machine.
for example for a simple vector i get
> z <- 1:3
> names(x)
Error in UseMethod("name"): no applicable method for "names"
... instead of NULL. the same is true for lists and dataframes. attr(z,
"names") is a workaround, but i don't want to
2012 May 18
1
Cannot Install Custom Package On Windows7 64-bit
Hi,
After uninstalling Rtools 2.14.0, I have installed the latest version of
Rtools 2.15.0 which gives the two folders
C:\Rtools\bin
C:\Rtools\gcc-4.6.3
R is installed in the directory
C:\R\R-2.15.0
I have set the Environment Variable
PATH=c:\Rtools\bin;c:\Rtools\gcc-4.6.3\bin;c:\R\R-2.15.0\bin;<others>
I am trying to install a custom package (BMEA_0.2.1) which is exactly
2012 Oct 09
2
RMySQL install on windows
I have been trying to install RMySQL on Windows 7 following the
procedure at:
http://biostat.mc.vanderbilt.edu/wiki/Main/RMySQL
I think I have properly installed RTools and created a proper
Renviron.site file saying:
MYSQL_HOME="C:/Program Files/MySQL/MySQL Server 5.5"
When I try to install the packages from source, I get warnings that
suggest I'm still not quite "with the
2011 May 13
3
RMySQL problem on Windows 7 32 bit
I am attempting to analyze Affymetrix exonchip data using the exon map
package. I have installed this package but have had problems installing the
associated programs, specifically RMySQL since no windows binary exists.
I have followed the directions for compiling the package as found on -
http://biostat.mc.vanderbilt.edu/wiki/Main/RMySQL - but still have an error
when executing the
2010 Nov 03
2
Calling C in R in Windows 64 bit
Dear developers,
I am trying to run some C/ Fortran code in R. Although I have experience with that in Windows (Vista) 32 bit, I could not succeed in 64 bit. I downloaded the following:
- R 2.12.0
- Rtools 212
- miktex 2.9
- inno setup 5
-Afterwards, I changed the path as:
?C:\Program Files\R\R-2.12.0\bin;C:\Rtools\bin;C:\Rtools\MinGW64\bin;C:\Program Files\HTML Help Workshop;C:\Program Files
2012 Jun 06
1
problem in compililng c code using R CMD SHLIB
Hello all,
I was trying to compile a simple C program hello.c using R CMD SHLIB
hello.c.
MY R software residing in C:\Program Files\R\R-2.15.0, and also I have
downloaded the Rtools 2.15.0 and it is in C:\Rtools, MY file(hello.c) is in
E:\R_dir.
I have followed the procedures given below
1. In a new CMD.exe window I have set the path as
c:\ Rtools\bin; C:\Rtools\MinGW\bin;C:\Program
2012 Mar 11
1
Problems when building a package for Windows 64
Hello
I have recently installed R 2.14.2 on a brand new pc running Windows 64.
One of things I would like to do is to recompile my R package (with C and
fortran source codes) for this new environment (it works on a mac and on a
linux box). To this end, I had rtools 2.14 downloaded and installed (I
have also added 2.14.2/bin/x64 to PATH so that Rcmd works on a terminal).
On a cmd terminal I
2011 Oct 25
2
Building package/DESCRIPTION file not existing?
Hello useRs
I am trying to build a package for personal use and for making easier working with other people but I keep getting the same error message about the DESCRIPTION file not existing.
when trying to install from a source tar.gz file:
Error in .read_description(dfile) :
file 'C:/Users/PropriƩtaire/AppData/Local/Temp/RtmpHFMONb/R.INSTALL647a3535/mypkg/DESCRIPTION' does not
2010 Nov 26
1
R Tools & Vista_x64: Problem compiling RMySQL?
Hello:
What do I need to do to compile R packages (especially RMySQL) for
the 64-bit version of R 2.12.0 under Vista_x64?
I upgraded to "Rtools212.exe" yesterday but immediately got errors
from "R CMD check RMySQL_0.7-5.tar.gz". After the first error, I
installed it a second time, then got "undefined reference to" roughly 50
different names beginning