Re: [R] Error while making R package
Vidhu Choudhary wrote: Hi All, *I am still facing the problems in making R package on windows. * -- Making package t1 adding build stamp to DESCRIPTION installing NAMESPACE file and metadata making DLL ... making CGHseg_rewrite.d from CGHseg_rewrite.c making rowMedians.d from rowMedians.c making runavg.d from runavg.c gcc-sjlj -std=gnu99 -IC:/R/R-2.6.2/include -O3 -Wall -c CGHseg_rewrite.c -o CGHseg_rewrite.o gcc-sjlj -std=gnu99 -IC:/R/R-2.6.2/include -O3 -Wall -c rowMedians.c -o rowMedians.o gcc-sjlj -std=gnu99 -IC:/R/R-2.6.2/include -O3 -Wall -c runavg.c -o runavg.o windres --preprocessor=gcc-sjlj -E -xc -DRC_INVOKED -I C:/R/R-2.6.2/include -i t1_res.rc -o t1_res. o gcc-sjlj -std=gnu99 -shared -s -o t1.dll t1.def CGHseg_rewrite.o rowMedians.o runavg.o t1_res.o -L C:/R/R-2.6.2/bin-lR ... DLL made installing DLL installing R files installing data files rm: failed to get attributes of `/': No such file or directory Do you have the recent Rtools and none else? Where is the package located and how do you invoke the install command? I have no further ideas. It works for me some lines further on but I do not have all 120 or so packages installed that are required (although I do have all CRAN and BioC packages for R-2.7.x for Windows installed). Uwe Ligges make[2]: *** [c:/R/R-2.6.2/library/t1/data] Error 1 make[1]: *** [all] Error 2 make: *** [pkg-t1] Error 2 *** Installation of t1 failed *** Removing 'c:/R/R-2.6.2/library/t1' Restoring previous 'c:/R/R-2.6.2/library/t1' *I have made registry changes also as per the link : https://stat.ethz.ch/pipermail/r-devel/2008-January/048059.html * *I can successfully make the package on Linux. * But when I try to R CMD INSTALL on windows( package made in linux) I get the same error of rm: failed to get attributes of `/': No such file or directory make[2]: *** [c:/R/R-2.6.2/library/t1/data] Error 1 I am attaching the .tar file made on windows2000 Thank you Best Regards Vidhu __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Error while making R package
There isn't enough information there to really know but I would at least try this: - upgrade to R 2.7 - make sure you are using the most recent version of rtools from Duncan Murdoch's site - remove the data directory in your package since its the last thing referred to prior to the errors - if that still has a problem remove any vignettes too - if you still have a problem remove all non-R code On Thu, May 1, 2008 at 4:20 PM, Vidhu Choudhary [EMAIL PROTECTED] wrote: Hi All, I am trying to make R package using R 2.6.2 And I am getting following error. When I give R CMD check t1\ -- Making package t1 adding build stamp to DESCRIPTION making DLL ... making CGHseg_rewrite.d from CGHseg_rewrite.c making rowMedians.d from rowMedians.c making runavg.d from runavg.c gcc-sjlj -std=gnu99 -Ic:/R/R-2.6.2/include -O3 -Wall -c CGHseg_rewrite.c -o CGHseg_rewrite.o gcc-sjlj -std=gnu99 -Ic:/R/R-2.6.2/include -O3 -Wall -c rowMedians.c -o rowMedians.o gcc-sjlj -std=gnu99 -Ic:/R/R-2.6.2/include -O3 -Wall -c runavg.c -o runavg.o windres --preprocessor=gcc-sjlj -E -xc -DRC_INVOKED -I c:/R/R-2.6.2/include -i t1_res.rc -o t1_res.o gcc-sjlj -std=gnu99 -shared -s -o t1.dll t1.def CGHseg_rewrite.o rowMedians.o runavg.o t1_res.o -Lc:/R/R-2.6.2/bin-lR ... DLL made installing DLL installing R files installing data files rm: failed to get attributes of `/': No such file or directory make[2]: *** [C:/Vidhu/CGH/RPackage/t1.Rcheck/t1/data] Error 1 make[1]: *** [all] Error 2 make: *** [pkg-t1] Error 2 *** Installation of t1 failed *** Can you please suggest what could be the probable cause of the error Thank you Vidhu __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Error while making R package
On 10/05/2008 4:54 PM, Duncan Murdoch wrote: On 09/05/2008 11:58 AM, Vidhu Choudhary wrote: rm: failed to get attributes of `/': No such file or directory I believe that's a sign of using a bad toolset. Make sure if you have Cygwin installed, it comes *after* the Rtools on your path. It contains some incompatible tools. No, sorry, I forgot: that's caused by a Cygwin uninstall bug. See this message: http://finzi.psych.upenn.edu/R/R-devel/archive/27028.html Duncan Murdoch __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Error while making R package
Hi All, *I am still facing the problems in making R package on windows. * -- Making package t1 adding build stamp to DESCRIPTION installing NAMESPACE file and metadata making DLL ... making CGHseg_rewrite.d from CGHseg_rewrite.c making rowMedians.d from rowMedians.c making runavg.d from runavg.c gcc-sjlj -std=gnu99 -IC:/R/R-2.6.2/include -O3 -Wall -c CGHseg_rewrite.c -o CGHseg_rewrite.o gcc-sjlj -std=gnu99 -IC:/R/R-2.6.2/include -O3 -Wall -c rowMedians.c -o rowMedians.o gcc-sjlj -std=gnu99 -IC:/R/R-2.6.2/include -O3 -Wall -c runavg.c -o runavg.o windres --preprocessor=gcc-sjlj -E -xc -DRC_INVOKED -I C:/R/R-2.6.2/include -i t1_res.rc -o t1_res. o gcc-sjlj -std=gnu99 -shared -s -o t1.dll t1.def CGHseg_rewrite.o rowMedians.o runavg.o t1_res.o -L C:/R/R-2.6.2/bin-lR ... DLL made installing DLL installing R files installing data files rm: failed to get attributes of `/': No such file or directory make[2]: *** [c:/R/R-2.6.2/library/t1/data] Error 1 make[1]: *** [all] Error 2 make: *** [pkg-t1] Error 2 *** Installation of t1 failed *** Removing 'c:/R/R-2.6.2/library/t1' Restoring previous 'c:/R/R-2.6.2/library/t1' *I have made registry changes also as per the link : https://stat.ethz.ch/pipermail/r-devel/2008-January/048059.html * *I can successfully make the package on Linux. * But when I try to R CMD INSTALL on windows( package made in linux) I get the same error of rm: failed to get attributes of `/': No such file or directory make[2]: *** [c:/R/R-2.6.2/library/t1/data] Error 1 I am attaching the .tar file made on windows2000 Thank you Best Regards Vidhu __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Error while making R package
No idea, can you make the package available for us (after R CMD build)? Uwe Ligges Vidhu Choudhary wrote: Hi All, I am trying to make R package using R 2.6.2 And I am getting following error. When I give R CMD check t1\ -- Making package t1 adding build stamp to DESCRIPTION making DLL ... making CGHseg_rewrite.d from CGHseg_rewrite.c making rowMedians.d from rowMedians.c making runavg.d from runavg.c gcc-sjlj -std=gnu99 -Ic:/R/R-2.6.2/include -O3 -Wall -c CGHseg_rewrite.c -o CGHseg_rewrite.o gcc-sjlj -std=gnu99 -Ic:/R/R-2.6.2/include -O3 -Wall -c rowMedians.c -o rowMedians.o gcc-sjlj -std=gnu99 -Ic:/R/R-2.6.2/include -O3 -Wall -c runavg.c -o runavg.o windres --preprocessor=gcc-sjlj -E -xc -DRC_INVOKED -I c:/R/R-2.6.2/include -i t1_res.rc -o t1_res.o gcc-sjlj -std=gnu99 -shared -s -o t1.dll t1.def CGHseg_rewrite.o rowMedians.o runavg.o t1_res.o -Lc:/R/R-2.6.2/bin-lR ... DLL made installing DLL installing R files installing data files rm: failed to get attributes of `/': No such file or directory make[2]: *** [C:/Vidhu/CGH/RPackage/t1.Rcheck/t1/data] Error 1 make[1]: *** [all] Error 2 make: *** [pkg-t1] Error 2 *** Installation of t1 failed *** Can you please suggest what could be the probable cause of the error Thank you Vidhu [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.