[R] Error while making R package
Duncan Murdoch
murdoch at stats.uwo.ca
Sat May 10 22:54:35 CEST 2008
On 09/05/2008 11:58 AM, 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
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.
Duncan Murdoch
> 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 at 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.
More information about the R-help
mailing list