Displaying 20 results from an estimated 3000 matches similar to: "R CMD check problem"
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 May 13
1
Problem compiling package LogicReg - make Error 255
Hello all,
I've been using the R package LogicReg, but ended up having to change a
certain parameter in the Fortran 77 code (namely, I had to change LGCntrMax
to 25 in the file slogic.f).
I am using a 64-bit Windows 7 machine. When I tried to compile, I got the
following error:
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
C:\Program
2009 Aug 05
1
regarding Rglpk loading
Hi everybody,
I installed Rglpk package from local zip files. Then I tried to load the
package in a R session. But R shows following message.
Loading required package: slam
Error: package 'slam' could not be loaded
In addition: Warning message:
In library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc =
lib.loc) :
there is no package called 'slam'
Hence, the
2011 Mar 24
3
R CMD build creates tar file instead of tar.gz file
Dear all,
I'm trying to create my own package by following for instance http://epub.ub.uni-muenchen.de/6175/2/tr036.pdf In step 6 (page 19) it says that the command 'R CMD build <mypackage>' should result in a tar.gz file. However, after running the command I end up with a tar file only (no gz extension). I also get the following warnings in the command prompt
C:\Program
2005 Apr 15
1
Error Building From Source
Greetings:
I am trying to build R-2.0.1 from source on windows. My path is set to:
.;C:\RStools;C:\MinGW\bin;C:\perl\bin;C:\texmf\miktex\bin;C:\HTMLws\;C:\R201\R201\bin;%System
Root%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\
Common Files\Adaptec Shared\System;C:\LINGO9\
and Mkrules has been edited and reads
# path (possibly full path) to same version of R on the host
2008 Aug 22
1
R CMD check problem
I have a query after finding an error running Rtools on a Windows machine.
I am trying to build an update to the R fda library using Rtools27 under
Windows XP Pro. This is the current fda library on RForge:
http://r-forge.r-project.org/projects/fda
Following R CMD build, R CMD check produces the following error in
00Install.out:
installing R.css in F:/work/RForge/fda.Rcheck
make: ***
2004 Jul 26
1
Building Windows Package
I am using R-1.9.1 with windows 2000 and trying to build a package.
However,
when I issue the command:
RCMD build --binary BSDA
I get:
>>> Building/Updating help pages for package 'BSDA'
Formats: chm
hhc: not found
cp: cannot stat `C:/R191/R191/JUNK/BSDA/chm/BSDA.chm': No such file or
direc
tory
make[1]: *** [chm-BSDA] Error 1
make: *** [pkg-BSDA] Error 2
***
2007 Nov 25
1
Package Building under Windows with MikTeX 2.6
Dear WizaRds,
I wrote a small function in R and would like to create a package. The
necessary documentation is done, Rtools etc. are installed and I am
still unable to complete the process under Windows. I did extensive
research in the archives and read the Murdoch-Sutherland website on the
Rtools and MikTeX hints. I realize that I understand only half or less
of what is said there
2012 Jun 09
0
-lgsl -lgslcblas fatal error no such file or directory
Hello,
Novice programmer.
I'm writing C source code and compiling it in as *.dll in the terminal by R
CMD SHLIB foo.c. It works, I'm on a 64 bits windows system. I have the
lastest R 2.15.0 and Rtools using the gcc 4.6.3 compiler.
However, that was a hello world run, and I installed GSL for the 64 bit
system for fast MCMC. The Rcpp package was easy to use, but I opted for a C
with GSL
2012 Jun 16
0
R CMD -lgsl -lgslcblas *.c returns a fatal error: gsl/gsl_rng.h no such file or directory exists
Hello,
I tried this posted on the R devel subforum but no help so far. Maybe the
wider net will be fruitful. Probably a pretty simple issue.
The short story goes, I'm writing C source code and compiling it in as *.dll
in the windows terminal by R CMD SHLIB foo.c. It works, I'm on a 64-bit
system. I have the lastest R 2.15.0 and Rtools, and I am using the gcc 4.6.3
compiler.
However,
2004 Nov 29
2
Building latest version of package
Hi
I have a package which was built using R 1.9.1 and everything worked
fine. I recently upgraded to R 2.0.1 and tried to re-install my package
- and I got:
Error in library(mypackage) : 'mypackage' is not a valid package --
installed < 2.0.0?
So I tried rebuilding it using my new version of R:
R CMD BUILD --binary mypackage
hhc: not found
cp: cannot stat `mypackage.chm': No
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.
2009 Oct 26
2
R CMD check: Error in .C
Function/file names are hypothetical. Say I have written myfunction.R,
which calls myfunction.c via .C("myfunction", ...).
I've compiled successfully myfunction.c via R CMD SHLIB myfunction.c
in the terminal. Then, in the R console:
dyn.load("myfunction.so")
source("myfunction.R")
test <- myfunction() # works fine
So everything is in order, myfunction works
2013 Jun 05
3
[PATCH 1/3] inspection: Refactor windows systemroot detection to allow re-use
This change refactors guestfs___has_windows_systemroot to
guestfs___get_windows_systemroot. The new function returns a
dynamically allocated char * which must be freed.
The new function is no less efficient than before, as it returns the
result of guestfs___case_sensitive_path_silently, which is required
anyway. The new code is slightly more efficient than before, as it
re-uses the result of this
2015 Oct 31
1
Example input data with example output using relative pathway in vignette of R package?
I'm putting together an R package. I would like to show example code in the
vignette, where example data files (included in the package) are used to
generate an (example) output file.
I read about using example data in Hadley Wickham's post (
http://r-pkgs.had.co.nz/data.html), and believe I should keep my example
data as raw data, as it must be parsed to generate the output.
So, I
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 Jan 02
3
problem when installing a R package
Hello all and happy new year !!!
I had a package that worked fine but since I switched to R 2.15.2, It is not
compatible anymore (I have the error message: not installed for
'arch=i386').
I have therefore updated Rtools 2.16 and Path variables as follow:
PATH=C:\Rtools\bin;C:\Perl\bin;C\Rtools\MinGW\bin;C:\PROGRA~1\R\R-2.15.2\bin\i38
2012 Dec 07
0
R CMD SHLIB
Hello r-helpers,
I am new to Rtools and would like to build dll's from fortran subroutines for use within R.
I have had no luck compiling the following simple fortran code;
c sample subroutine to include for R
subroutine multiply(ax,bx,cx)
implicit none
integer ax,bx,cx
cx=ax*bx
end
>From the directory in which the file is located I used the
2005 Jul 04
1
installing packages and libraries
When I run the following:
cd \Rpkgs
rcmd install mypackage -l library
I get a message that it cannot find quadprog which is a library
that mypackage depends on.
Error: package 'quadprog' could not be loaded
I previously used C:\Program Files\R\rw2011\library as my library for CRAN
packages and did not have a problem but now that I use
C:\Program Files\R\library this problem
2006 Mar 31
1
Fortran and C entry point problem.
Dear All,
I have seen a number of e mails on this topic but I have not seen a
general solution to date. I have Fortran and C source codes and they
have been compiled successfully using:
R CMD build mypackage
And
R CMD install mypackage
Without error messages.
I then open R and tests out two functions and get:
> pgl(0.2,1,2,3,4)
Error in