On 27/06/2012 15:17, Mayank Bansal wrote:
It would be difficult for me to give the package.

Then, following the posting guide, you need to find an example you can give.

Can you explain me what does this error
"/usr/lib/R/bin/INSTALL: line 34: 9964 Done echo 'tools:::.install_packages()' 9965 
Segmentation fault | R_DEFAULT_PACKAGES= LC_COLLATE=C "${R_HOME}/bin/R" $myArgs --slave 
--args ${args}"
generally mean.
The point is the package compiles normally, if I set ByteCompile to FALSE. 
Could this be some bug in R or my fault?


It means a bug in your R package or your installation.

If your package contains compiled code then it could well be the cause. If not, then R should not segfault with reasonable input, but when it does the cause is quite often the compiler or OS ... we simply do not know and you are not helping us in the way you were asked to in the posting guide.

-----Original Message-----
From: Uwe Ligges [mailto:lig...@statistik.tu-dortmund.de]
Sent: Tuesday, June 26, 2012 7:27 PM
To: Mayank Bansal
Cc: r-help@r-project.org
Subject: Re: [R] Packaging Error



On 26.06.2012 08:54, Mayank Bansal wrote:
I was trying to ByteCompile a package that I made. The package compiles 
successfully with byte compile set to FALSE.
When I set ByteCompile to TRUE, I receive the following error message while 
doing R CMD INSTALL

/usr/lib/R/bin/INSTALL: line 34: 9964 Done echo 'tools:::.install_packages()' 9965 
Segmentation fault | R_DEFAULT_PACKAGES= LC_COLLATE=C "${R_HOME}/bin/R" $myArgs 
--slave --args ${args}

I have not been able to understand the problem. Can someone help me understand 
the problem so that it can be fixed?


Not without your package to try it out.

Best,
Uwe Ligges


Thanks,
Mayank



--
Brian D. Ripley,                  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
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.

Reply via email to