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. Here are the results of the check command: c:\PROGRA~1\R\R-3.0.1\bin\i386>R CMD check cudasize R CMD check cudasize * using log directory 'c:/PROGRA~1/R/R-3.0.1/bin/i386/cudasize.Rcheck' * using R version 3.0.1 (2013-05-16) * using platform: i386-w64-mingw32 (32-bit) * using session charset: ISO8859-1 * checking for file 'cudasize/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'cudasize' version '1.0' * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'cudasize' can be installed ... ERROR Installation failed. See 'c:/PROGRA~1/R/R-3.0.1/bin/i386/cudasize.Rcheck/00install.out' for details. And the 00install.out file: * installing *source* package 'cudasize' ... ** libs *** arch - i386 cygwin warning: MS-DOS style path detected: c:/PROGRA~1/R/R-30~1.1/etc/i386/Makeconf Preferred POSIX equivalent is: /cygdrive/c/PROGRA~1/R/R-30~1.1/etc/i386/Makeconf CYGWIN environment variable option "nodosfilewarning" 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 cygwin warning: MS-DOS style path detected: c:/PROGRA~1/R/R-30~1.1/etc/i386/Makeconf Preferred POSIX equivalent is: /cygdrive/c/PROGRA~1/R/R-30~1.1/etc/i386/Makeconf CYGWIN environment variable option "nodosfilewarning" 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 make: `symbols.rds' is up to date. ERROR: compilation failed for package 'cudasize' * removing 'c:/PROGRA~1/R/R-3.0.1/bin/i386/cudasize.Rcheck/cudasize' I've been experimenting with the Makeconf file, but to no avail. Does anyone have any suggestions, please? Thanks, Erin [[alternative HTML version deleted]] ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel