search for: rcompile

Displaying 20 results from an estimated 35 matches for "rcompile".

Did you mean: compile
2011 Apr 20
3
useDynLib in older versions e.g. (2.10)
Hi, Has something changed regarding the useDynLib in the NAMESPACE file in packages? I've written a package that works in e.g. 2.12/2.13 but simply cannot find the dynamic library under windows. The version on CRAN is older than the one I'm talking about and depends on a newer version of R but I want to make the package available to people with older versions. >
2013 Apr 11
1
La_svd compiler error
...All, I have been trying to compile a package for windows that we have written. Since R version 3.0.0 the package doesn't compile any more. (On Linux the package compiles without errors). The error specifically says: gcc -m32 -I"C:/PROGRA~1/R/R-30~1.0/include" -DNDEBUG -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O3 -Wall -std=gnu99 -mtune=core2 -c galgoDistance.c -o galgoDistance.o gcc -m32 -I"C:/PROGRA~1/R/R-30~1.0/include" -DNDEBUG -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O3 -Wall -std=gnu99 -mtune=core2 -c galgo_fitness...
2014 Feb 03
1
Fwd: linker issue
...coming up against - what I believe - is a linker configuration issue. For example, using has_develop() gives the following message... > has_devel() "C:/PROGRA~1/R/R-30~1.2/bin/i386/R" --vanilla CMD SHLIB foo.c gcc -m32 -I"C:/PROGRA~1/R/R-30~1.2/include" -DNDEBUG -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O3 -Wall -std=gnu99 -mtune=core2 -c foo.c -o foo.o gcc -m32 -shared -s -static-libgcc -o foo.dll tmp.def foo.o -Ld:/RCompile/CRANpkg/extralibs64/local/lib/i386 -Ld:/RCompile/CRANpkg/extralibs64/local/lib -LC:/PROGRA~1/R/R-30~1.2/bin/i386 -lR collect2: l...
2002 Nov 14
3
compile from source (win2000)
..many thanks, no it works until he didn't find hhc.exe (..but the path to HTMLHelpWorkshop should be correct !?) and break down, ok i just check all path settings and find a solution for my self ! But here another problem: ...modify without the MkRules in my current binary R.1.6.1\src\gnuwin32 C:\DataMining\rw1061\library>Rcmd INSTALL Oop make: Entering directory
2015 Jul 27
2
R package with Fortran module on Windows? undefined reference to `__stack_chk_fail'
...Rstudio I get these errors: ==> Rcmd.exe INSTALL --no-multiarch --with-keep.source MyPi * installing to library 'C:/Users/IMartinez/Documents/R/R-3.2.1/library'* installing *source* package 'MyPi' ...** libs gfortran -m64 -shared -s -static-libgcc -o MyPi.dll tmp.def Fpi.o -Ld:/RCompile/r-compiling/local/local320/lib/x64 -Ld:/RCompile/r-compiling/local/local320/lib -LC:/Users/IMARTI~1/DOCUME~1/R/R-32~1.1/bin/x64 -lR Fpi.o: In function `__fortranpi_MOD_dboard': Fpi.f90:(.text+0xd7): undefined reference to `__stack_chk_fail' Fpi.o: In function `pi_': Fpi.f90:(.text+0x249...
2012 Oct 09
2
RMySQL install on windows
...rning" turns off this warning. Consult the user's guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-pathnames gcc -m64 -I"C:/PROGRA~1/R/R-215~1.1/include" -DNDEBUG -I"C:/Program Files/MySQL/MySQL Server 5.5"/include -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -std=gnu99 -mtune=core2 -c RS-DBI.c -o RS-DBI.o RS-DBI.c: In function 'RS_na_set': RS-DBI.c:1219:11: warning: variable 'c' set but not used [-Wunused-but-set-variable] gcc -m64 -I"C:/PROGRA~1/R/R-215~1.1/include" -DNDEBUG...
2012 Jun 24
2
Win 64 package build - ERROR: loading failed for 'x64'
...tic-libgcc -o test.dll tmp.def testR.o ../../../win32/test_win32.lib -lgfortran -LC:/PROGRA~1/R/R-215~1.0/bin/i386 -lR installing to C:/JohnsWork/test/make/R/test.Rcheck/test/libs/i386 *** arch - x64 gcc -m64 -I"C:/PROGRA~1/R/R-215~1.0/include" -DNDEBUG -I/JohnsWork/test/src -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -std=gnu99 -mtune=core2 -c testR.c -o testR.o gcc -m64 -shared -s -static-libgcc -o test.dll tmp.def testR.o ../../../win64/test_win64.lib -lgfortran -Ld:/RCompile/CRANpkg/extralibs64/local/lib/x64 -Ld:/RCompile/CRANpkg/extralibs64/local/lib -L...
2012 Dec 24
1
How to ensure -O3 on Win64
...S=-O3 # added all: $(SHLIB) # no change mv $(SHLIB) datatable$(SHLIB_EXT) # no change ==== but -O2 still appears in winbuilder's install.out (after -O3, and I believe the last -O is the one that counts) : gcc -m64 -I"D:/RCompile/recent/R-2.15.2/include" -DNDEBUG -I"d:/Rcompile/CRANpkg/extralibs215/local215/include" -O3 -O2 -Wall -std=gnu99 -mtune=core2 -c dogroups.c -o dogroups.o How can I ensure that data.table is compiled with -O3 on Win64? Thanks, Matthew
2014 Sep 15
1
Debug an R windows (Fortran) DLL within R with gdb?
...a Fortran 77 subroutine (dll). On windows XP, how ?would I 'debug it(Fortran) within R' using gdb? This is how I made it. ---------------------- R CMD SHLIB main.f gfortran -m32 ? ? -O3 ?-mtune=core2 -c main.f -o main.o gcc -m32 -shared -s -static-libgcc -o main.dll tmp.def main.o -Ld:/RCompile/CRANpkg/extralibs64/local/lib/i386 -Ld:/RCompile/CRANpkg/extralibs64/local/lib -lgfortran -LF:/ProgramFiles/R/R-3.1.1/bin/i386 -lR Here is the contents of the file ?main.f ----------------------------------------- ? ? ? SUBROUTINE NGCD(NA, NB, NGCDO)? ? ? ? ? IA = NA ? ? ? ? IB = NB ? ? 1 ? IF (...
2014 Oct 08
1
RCMD SHLIB problem in 64 bits
...ls\bin;C:\Rtools\gcc-4.6.3;C:\Program Files\R\R-3.1.1\bin\*x64*;", opened Cygwin again and typed "RCMD SHLIB Permutation.c" in Cygwin. Error message appeared on Cywin console. $ RCMD SHLIB Permutation.c gcc -m64 -shared -s -static-libgcc -o Permutation.dll tmp.def Permutation.o -Ld:/RCompile/CRANpkg/extralibs64/local/lib/x64 -Ld:/RCompile/CRANpkg/extralibs64/local/lib -LC:/PROGRA~1/R/R-31~1.1/bin/x64 -lR C:/PROGRA~1/R/R-31~1.1/bin/x64/R.dll: file not recognized: My version of R is the latest 3.1.1 and my Rtools is also the latest version 31 I am not sure why this is happening and I h...
2017 Nov 20
2
package check fail on Windows-release only?
...rseSimple, printSpMatrix, printSpMatrix2, qrR, rankMatrix, readHB, readMM, sparse.model.matrix, sparseVector, symmpart, skewpart, tril, triu, updown, pack, unpack, .updateCHMfactor, .validateCsparse, writeMM, cBind, rBind ERROR: lazy loading failed for package 'rockchalk' * removing 'd:/Rcompile/CRANpkg/lib/3.4/rockchalk' * restoring previous 'd:/Rcompile/CRANpkg/lib/3.4/rockchalk' -- Paul E. Johnson http://pj.freefaculty.org Director, Center for Research Methods and Data Analysis http://crmda.ku.edu To write to me directly, please address me at pauljohn at ku.edu.
2010 Jul 26
1
problem with building package on CRAN
...back from Uwe saying that the most recent version of psych failed to pass R CMD check for Windows. The error message was less than helpful, in that it seems to have failed when trying to include the Rcpp library, which I do not directly call. (see below) "* using log directory 'd:/Rcompile/CRANpkg/local/2.11/psych.Rcheck' * using R version 2.11.1 (2010-05-31) * using session charset: ISO8859-1 * checking for file 'psych/DESCRIPTION' ... OK * this is package 'psych' version '1.0-90' * checking package name space information ... OK * checking package depende...
2010 Jan 29
1
Using win-builder with static libraries
...makefile located in the 'src' folder. Any comment will be appreciated, Maxime NB: Here is the compilation error: _____________________________________________________________________________(__ * installing *source* package 'pksmooth' ... ** libs making DLL ... g++ -I"d:/Rcompile/recent/R-2.10.1/include" -O2 -Wall -c ksmoothC.C -o ksmoothC.o ksmoothC.C: In function 'double fxRoot(double (*)(double), double, double)': ksmoothC.C:16: warning: 'root' may be used uninitialized in this function g++ -shared -s -o pksmooth.dll tmp.def ksmoothC.o -Ld:/R...
2015 Jul 27
0
R package with Fortran module on Windows? undefined reference to `__stack_chk_fail'
...> ==> Rcmd.exe INSTALL --no-multiarch --with-keep.source MyPi > * installing to library > 'C:/Users/IMartinez/Documents/R/R-3.2.1/library'* installing *source* > package 'MyPi' ...** libs > gfortran -m64 -shared -s -static-libgcc -o MyPi.dll tmp.def Fpi.o > -Ld:/RCompile/r-compiling/local/local320/lib/x64 > -Ld:/RCompile/r-compiling/local/local320/lib > -LC:/Users/IMARTI~1/DOCUME~1/R/R-32~1.1/bin/x64 -lR > Fpi.o: In function `__fortranpi_MOD_dboard': > Fpi.f90:(.text+0xd7): undefined reference to `__stack_chk_fail' > Fpi.o: In function `pi_...
2014 Jul 22
1
Problems with building a private R-package with Fortran source under Windows
...05AD.o TF01MD.o TF01MX.o TF01MY.o TF01ND.o TF01OD.o TF01PD.o TF01QD.o TF01RD.o TG01AD.o TG01AZ.o TG01BD.o TG01CD.o TG01DD.o TG01ED.o TG01FD.o TG01FZ.o TG01HD.o TG01HX.o TG01HY.o TG01ID.o TG01JD.o TG01JY.o TG01WD.o UD01BD.o UD01CD.o UD01DD.o UD01MD.o UD01MZ.o UD01ND.o UE01MD.o delctg.o select.o -LD:/RCompile/recent/R-3.1.1/bin/i386 -lRlapack -LD:/RCompile/recent/R-3.1.1/bin/i386 -lRblas -lgfortran -Ld:/Rcompile/CRANpkg/extralibs215/local215/lib/i386 -Ld:/Rcompile/CRANpkg/extralibs215/local215/lib -lgfortran -LD:/RCompile/recent/R-3.1.1/bin/i386 -lR AB08NZ.o:AB08NZ.f:(.text+0x658): undefined reference t...
2009 Jul 21
1
Building a package with BLAS under Windows
...vm_dmexp.o cvm_dpoly.o cvm_globals.o cvm_icamax.o cvm_icamin.o cvm_idamax.o cvm_idamin.o cvm_infnm.o cvm_isamax.o cvm_isamin.o cvm_izamax.o cvm_izamin.o cvm_npoly.o cvm_rmatrix.o cvm_rvector.o cvm_scalm.o cvm_scmatrix.o cvm_smexp.o cvm_spoly.o cvm_srmatrix.o cvm_utils.o cvm_zmexp.o cvm_zpoly.o -Ld:/Rcompile/recent/R-29~1.1/bin -lRlapack -Ld:/Rcompile/recent/R-29~1.1/bin -lRblas -lgfortran -lgfortran -Ld:/Rcompile/recent/R-29~1.1/bin -lR cvm_arrays.o:cvm_arrays.cpp:(.text+0xf2): undefined reference to `sscal_' cvm_arrays.o:cvm_arrays.cpp:(.text+0x1e2): undefined reference to `cscal_' cvm_array...
2003 Jan 14
2
building R1.6.2 from source (windows2k)
...my compiling procedure ? make make bitmapdll make tcl make docs (..first i get the error message for Latex3.0 so that i'm update my miktex installation, after this doing again i'm getting no error !) After "make docs" i should change directory to R-1.6.2/doc and type: C:\Rcompile\R-1.6.2\doc>make -f Makefile.win info make: Makefile.win: No such file or directory make: *** No rule to make target `Makefile.win'. Stop. P.S. Rgui.exe works, but the "packages-html-help" files are corrupt !? many thanks for suggestions christian
2012 May 03
1
Setting up a windows system for rcpp
...: END_RCPP 34 : } 35 : 36 : Compilation argument: C:/R_curr/R_2_15_0/bin/x64/R CMD SHLIB file10bc7da0783e.cpp 2> file10bc7da0783e.cpp.err.txt g++ -m64 -I"C:/R_curr/R_2_15_0/include" -DNDEBUG -I"C:/Users/Owe/Documents/R/win-library/2.15/Rcpp/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c file10bc7da0783e.cpp -o file10bc7da0783e.o g++ -m64 -shared -s -static-libgcc -o file10bc7da0783e.dll tmp.def file10bc7da0783e.o C:/Users/Owe/Documents/R/win-library/2.15/Rcpp/lib/x64/libRcpp.a -Ld:/RCompile/CRANpkg/extralibs64/...
2012 Oct 15
1
how to include --configure-args= in R CMD INSTALL
...rning" turns off this warning. Consult the user's guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-pathnames gcc -m64 -I"C:/PROGRA~1/R/R-214~1.2/include" -I"C:\Program Files\MySQL\MySQL Server 5.5\.;"/include -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -std=gnu99 -mtune=core2 -c RS-DBI.c -o RS-DBI.o RS-DBI.c: In function 'RS_na_set': RS-DBI.c:1219:11: warning: variable 'c' set but not used [-Wunused-but-set-variable] gcc -m64 -I"C:/PROGRA~1/R/R-214~1.2/include" -I&qu...
2017 Nov 21
0
package check fail on Windows-release only?
...> qrR, rankMatrix, readHB, readMM, sparse.model.matrix, sparseVector, > symmpart, skewpart, tril, triu, updown, pack, unpack, > .updateCHMfactor, .validateCsparse, writeMM, cBind, rBind > ERROR: lazy loading failed for package 'rockchalk' > * removing 'd:/Rcompile/CRANpkg/lib/3.4/rockchalk' > * restoring previous 'd:/Rcompile/CRANpkg/lib/3.4/rockchalk' all of these these are names of Matrix-package objects.. and I know that yesterday Matrix package version changes (1.1-11 --> 1.1-12) happened on CRAN and hence in servers which update....