Re: [Rd] Use of C++ in Packages

2019-03-30 Thread cstrato
/r_2example_8C.html BTW, I strongly disagree that C++ does not have  a bright future! Best regards, Christian _._._._._._._._._._._._._._._._._._ C.h.r.i.s.t.i.a.n   S.t.r.a.t.o.w.a V.i.e.n.n.a   A.u.s.t.r.i.a e.m.a.i.l:    cstrato at aon.at _._._._._._._._._._._._._._._._._._ P.S.: Accessing a

[Rd] Severe memory problem using split()

2010-07-12 Thread cstrato
ices utils datasets methods base Best regards Christian _._._._._._._._._._._._._._._._._._ C.h.r.i.s.t.i.a.n S.t.r.a.t.o.w.a V.i.e.n.n.a A.u.s.t.r.i.a e.m.a.i.l:cstrato at aon.at _._._._._._._._._._._._._._._._._._ __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Severe memory problem using split()

2010-07-12 Thread cstrato
(unlist(u2p)) 865176 bytes Nevertheless, a size of 1.2MB for a list representing 2 of 11 columns of a table of size 754KB seems still to be pretty large? Best regards Christian On 7/12/10 11:44 PM, Martin Morgan wrote: On 07/12/2010 01:45 PM, cstrato wrote: Dear all, With great inter

Re: [Rd] Severe memory problem using split()

2010-07-13 Thread cstrato
Dear Martin, Thank you for this explanation. Best regards Christian On 7/13/10 12:31 AM, Martin Morgan wrote: On 07/12/2010 03:00 PM, cstrato wrote: Dear Martin, Thank you, you are right, now I get: ann<- read.delim("Hu6800_ann.txt", stringsAsFactors=FALSE) object.size(

[Rd] Problem with WARNING...headers with CRLF line endings

2010-09-13 Thread cstrato
ng message. Thank you in advance. Best regards Christian _._._._._._._._._._._._._._._._._._ C.h.r.i.s.t.i.a.n S.t.r.a.t.o.w.a V.i.e.n.n.a A.u.s.t.r.i.a e.m.a.i.l: cstrato at aon.at _._._._._._._._._._._._._._._._._._ __ R-devel@r-p

Re: [Rd] Problem with WARNING...headers with CRLF line endings

2010-09-14 Thread cstrato
Dear Bill, It would be great if this warning message could at least be suppressed on Windows. Best regards Christian On 9/14/10 2:06 AM, William Dunlap wrote: -Original Message- From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] On Behalf Of cstrato Sent

Re: [Rd] Problem with WARNING...headers with CRLF line endings

2010-09-14 Thread cstrato
interfere with this step. Do you have any ideas? Best regards Christian On 9/13/10 11:31 PM, Dirk Eddelbuettel wrote: On 13 September 2010 at 23:07, cstrato wrote: | Dear all, | | When running R CMD check on Windows XP to test my package I get the | following warning message: | | "

Re: [Rd] Problem with WARNING...headers with CRLF line endings

2010-09-14 Thread cstrato
ected files will add another 4MB to the source code. Best regards Christian On 9/14/10 9:59 PM, Simon Urbanek wrote: On Sep 14, 2010, at 2:27 PM, cstrato wrote: Dear Bill, It would be great if this warning message could at least be suppressed on Windows. I think you're missing

Re: [Rd] Problem with WARNING...headers with CRLF line endings

2010-09-14 Thread cstrato
ar.gz" increases only from 4MB to 4.3MB. Thus in principle I could upload both files to SVN for BioC 2.7, and this should eliminate the warning message. What is your opinion? Best regards Christian On 9/14/10 11:32 PM, Hervé Pagès wrote: Hi Christian, On 09/14/2010 02:12 PM, cstrato wr

Re: [Rd] Problem with WARNING...headers with CRLF line endings

2010-09-15 Thread cstrato
I will try to change this part but I am not sure if this will solve the problem. Best regards Christian On 9/15/10 1:58 AM, Hervé Pagès wrote: On 09/14/2010 03:30 PM, Duncan Murdoch wrote: On 14/09/2010 6:08 PM, Hervé Pagès wrote: On 09/14/2010 02:58 PM, cstrato wrote: Dear Herve, Thank

Re: [Rd] Problem with WARNING...headers with CRLF line endings

2010-09-15 Thread cstrato
rk Eddelbuettel wrote: On 15 September 2010 at 22:39, cstrato wrote: | Dear Duncan, dear Herve, | | Thank you both for your help and suggestions. I think that you are both | right: | | In principle I do not want to put these files in the source tarball (and | I did not in the past), however because o

Re: [Rd] Problem with WARNING...headers with CRLF line endings

2010-09-25 Thread cstrato
Christian On 9/15/10 11:53 PM, Hervé Pagès wrote: On 09/15/2010 01:51 PM, Dirk Eddelbuettel wrote: On 15 September 2010 at 22:39, cstrato wrote: | Dear Duncan, dear Herve, | | Thank you both for your help and suggestions. I think that you are both | right: | | In principle I do not want to put

[Rd] WARNING Undocumented S4 methods 'initialize' - why?

2011-03-11 Thread cstrato
case R CMD check does not complain, so why does it in the case of 'QualTreeSet'? Here is my: > sessionInfo() R version 2.12.1 (2010-12-16) Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit) locale: [1] C attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] xps_1.11.4 Thank you in advance Best regards Christian _._._._._._._._._._._._._._._._._._ C.h.r.i.s.t.i.a.n S.t.r.a.t.o.w.a V.i.e.n.n.a A.u.s.t.r.i.a e.m.a.i.l:cstrato at aon.at _._._._._._._._._._._._._._._._._._ __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] WARNING Undocumented S4 methods 'initialize' - why?

2011-03-12 Thread cstrato
Dear all, Meanwhile I found my mistake. I forgot to add class QualTreeSet to 'initialize-methods.Rd'. However, I am not sure if I should make 'initialize' public at all. Best regards Christian On 3/11/11 9:58 PM, cstrato wrote: Dear all, I am just writing the documentati

[Rd] How to create vignette.pdf for R-2.13.0?

2011-04-23 Thread cstrato
_1.10.0 [4] affy_1.30.0 affyPLM_1.28.5affyio_1.20.0 [7] preprocessCore_1.14.0 Thank you in advance. Best regards Christian _._._._._._._._._._._._._._._._._._ C.h.r.i.s.t.i.a.n S.t.r.a.t.o.w.a V.i.e.n.n.a A.u.s.t.r.i.a e.m.a.i.l:

Re: [Rd] How to create vignette.pdf for R-2.13.0?

2011-04-24 Thread cstrato
"tmpdt_Test3RMA", verbose=FALSE) In summary it is not quite clear to me what has changed in R-2.13.0 so that chunk 5 no longer works. BTW, the error: SysError in : file /tmpdt_DataTest3_cel.root/tmpdt_DataTest3_cel_20110424_201301.root can not be opened is not clear to me since "

Re: [Rd] How to create vignette.pdf for R-2.13.0?

2011-04-24 Thread cstrato
Dear Uwe, On 4/24/11 10:37 PM, Uwe Ligges wrote: On 24.04.2011 20:59, cstrato wrote: Dear Uwe, Thank you for your reply. ad 2, Yes, i know that "xps-manual.pdf" is the collection of help pages, I have mentioned it only to show that creating pdf-files does work for R-2.13.0. ad 1

Re: [Rd] How to create vignette.pdf for R-2.13.0?

2011-04-25 Thread cstrato
which contains the vignette data such as xps.Rnw, but also xps.tex and xps.pdf. In contrast, R-2.13.0 does not create the subdirectory "inst/doc" and no vignettes are built. One more issue: In contrast to my former believe R CMD INSTALL does not build the vignettes, neither in R-2.12

Re: [Rd] How to create vignette.pdf for R-2.13.0?

2011-04-25 Thread cstrato
4/25/11 8:00 PM, Duncan Murdoch wrote: cstrato wrote: Dear Uwe, Your suggestion to look at the Sweave manual helped me to solve the problem. It seems that in R-2.13.0 every chunk can use the code from the chunk before but not from an earlier chunk. I'm either misreading what you wrote, or

Re: [Rd] How to create vignette.pdf for R-2.13.0?

2011-04-25 Thread cstrato
Thank you. My problem seems to be that at the moment the problem can be seen only on my Mac, since e.g. the Bioconductor servers have no problems creating the vignettes. Best regards Christian On 4/25/11 8:55 PM, Duncan Murdoch wrote: cstrato wrote: Dear Duncan, Thank you for your

Re: [Rd] How to create vignette.pdf for R-2.13.0?

2011-04-25 Thread cstrato
Thank you, I will try. Christian On 4/25/11 9:31 PM, Duncan Murdoch wrote: On 25/04/2011 3:16 PM, cstrato wrote: Thank you. My problem seems to be that at the moment the problem can be seen only on my Mac, since e.g. the Bioconductor servers have no problems creating the vignettes. Then

Re: [Rd] How to create vignette.pdf for R-2.13.0?

2011-04-26 Thread cstrato
maybe my Mac did not like to work during eastern holidays). However, one issue remains: "R64 CMD check xps_1.13.1.tar.gz" no longer creates any pdf files for the vignettes. Best regards Christian On 4/25/11 9:31 PM, Duncan Murdoch wrote: On 25/04/2011 3:16 PM, cstrato wrote: Than

Re: [Rd] How to create vignette.pdf for R-2.13.0?

2011-04-27 Thread cstrato
in any vignettes. Best regards Christian On 4/27/11 10:16 AM, Uwe Ligges wrote: On 26.04.2011 21:58, cstrato wrote: Dear Duncan, dear Uwe, Just now I have re-run everything, and today xps.Rnw can be converted to a vignette w/o any problems using: a, buildVignettes("xps", dir="/Vo

Re: [Rd] How to create vignette.pdf for R-2.13.0?

2011-05-01 Thread cstrato
D check no longer create the vignettes? Best regards Christian On 4/27/11 10:16 AM, Uwe Ligges wrote: On 26.04.2011 21:58, cstrato wrote: Dear Duncan, dear Uwe, Just now I have re-run everything, and today xps.Rnw can be converted to a vignette w/o any problems using: a, buildVignettes(

Re: [Rd] How to create vignette.pdf for R-2.13.0?

2011-05-02 Thread cstrato
contain "inst". Best regards Christian _._._._._._._._._._._._._._._._._._ C.h.r.i.s.t.i.a.n S.t.r.a.t.o.w.a V.i.e.n.n.a A.u.s.t.r.i.a e.m.a.i.l:cstrato at aon.at _._._._._._._._._._._._._._._._._._ On 5/2/11 7:08 AM, Prof Brian Ripley wrote: On Sun, 1 May 2011, Dun

Re: [Rd] How to create vignette.pdf for R-2.13.0?

2011-05-03 Thread cstrato
. Best regards Christian On 5/3/11 1:07 PM, Uwe Ligges wrote: On 02.05.2011 21:24, cstrato wrote: Dear Prof. Ripley, Thank you for your confirmation and explanation, I understand the reason for cleaning things up to save memory. However, it was very convenient to have this feature in earlier

Re: [Rd] How to create vignette.pdf for R-2.13.0?

2011-05-03 Thread cstrato
es for the vignettes. Best regards Christian On 5/3/11 10:13 PM, Uwe Ligges wrote: On 03.05.2011 21:14, cstrato wrote: Dear Uwe, This is my development cycle: First, I run R CMD check until there are no more warnings/errors. Since years it was very convenient that R CMD check builds the pdf-fi

Re: [Rd] How to create vignette.pdf for R-2.13.0?

2011-05-03 Thread cstrato
No, I simply do "tar czf xps_1.13.1.tar.gz xps". Best regards Christian On 5/3/11 11:11 PM, Simon Urbanek wrote: > On May 3, 2011, at 4:48 PM, cstrato wrote: > >> Dear Uwe, >> >> Thank you, however since I use "R CMD INSTALL xps.tar.gz" my source co

Re: [Rd] How to create vignette.pdf for R-2.13.0?

2011-05-04 Thread cstrato
this would mean 140 minutes vs 60 minutes, i.e. the official development cycle would take 1 hr and 20 min longer than my own development cycle. This is time I do not have. Best regards Christian On 5/4/11 12:13 AM, Simon Urbanek wrote: On May 3, 2011, at 5:15 PM, cstrato wrote: No, I simp

Re: [Rd] How to create vignette.pdf for R-2.13.0?

2011-05-08 Thread cstrato
M, Hervé Pagès wrote: Hi Christian, On 11-05-04 01:02 PM, cstrato wrote: Dear Simon, I did not complain about the R doing something wrong. I only wanted to know why, after all these years, R CMD check does suddenly no longer build the pdf-files of the vignettes. I also think that this is a leg

Re: [Rd] How to create vignette.pdf for R-2.13.0?

2011-05-09 Thread cstrato
uss this issue further privately.) Best regards Christian On 5/9/11 7:20 AM, Hervé Pagès wrote: Christian, On 11-05-08 01:19 PM, cstrato wrote: Dear Herve, In my initial mail: https://stat.ethz.ch/pipermail/r-devel/2011-April/060688.html I wrote: "While R CMD check and R CMD INSTALL hav

[Rd] Hidden files problem in R CMD check

2015-09-26 Thread cstrato
me from Spotlight. This did not help. Adding the volume again and thus forcing a rebuild for Spotlight did not help either. What could I do to remove these apparently non-existing hidden files? Best regards Christian _._._._._._._._._._._._._._._._._._ C.h.r.i.s.t.i.a.n S.t.r.a.t.o.w.a V.i.e.n.n.a A.u.s.t.r.i.a e.m.a.i.l:cstrato at aon.at _._._._._._._._._._._._._._._._._._ __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Hidden files problem in R CMD check

2015-09-26 Thread cstrato
lude resource forks. Cheers, Simon On Sep 26, 2015, at 3:30 PM, cstrato wrote: Dear all, When running R CMD check on my Mac (Yosemite 10.10.5) I get suddenly NOTEs and WARNINGs that my tar.gz file does contain hidden files. However, when checking the corresponding directories with 

Re: [Rd] Hidden files problem in R CMD check

2015-09-26 Thread cstrato
at 22:41, cstrato wrote: | Dear Simon, | | Thank you very much for your help, it did solve my problems!! Great! | | I have googled COPYFILE_DISABLE and found the following site which does | explain the issue with tar on Mac OS X, see: | http://unix.stackexchange.com/questions/9665/create-tar

Re: [Rd] Hidden files problem in R CMD check

2015-09-26 Thread cstrato
, but it will not explain this behavior which suddenly popped up. Best regards, Christian On 09/26/15 23:30, Dirk Eddelbuettel wrote: On 26 September 2015 at 23:06, cstrato wrote: | Dear Dirk, | | Yes, I know, however forget for one moment R. No we can't. Your question was about to make

Re: [Rd] Hidden files problem in R CMD check

2015-09-27 Thread cstrato
Simon Urbanek wrote: On Sep 26, 2015, at 5:06 PM, cstrato wrote: Dear Dirk, Yes, I know, however forget for one moment R. If I use tar independent of R it still should not create these hidden files. BTW, do you know where these hidden files are stored on the Mac? Please consider readi

Re: [Rd] xps installation error on Mac OS X 10.11

2016-01-13 Thread cstrato
Dear Jack, First, please do not use r-help or r-devel to ask Bioconductor-related questions, Bioconductor has its own support site for BioC packages: https://support.bioconductor.org/ Second, please note that ROOT_6.x cannot be used for xps. In the README file I mention for Yosemite: ftp://ro

[Rd] Error when using buildVignettes()

2013-08-28 Thread cstrato
for further quality assessments. \\ \section*{Session Information:} <>= sessionInfo() @ \end{document} Can you please tell me why function buildVignettes() of the tools package is no longer able to convert this file into a pdf-file? Thank you in advance. > sessionInfo() R

Re: [Rd] Error when using buildVignettes()

2013-08-28 Thread cstrato
3.0.0 Patched (2013-04-11 r62551) Platform: x86_64-apple-darwin10.8.0 (64-bit) I would check with R 3.0.1 patched and R devel before anything else, especially when troubleshooting vignette-related issues. /Henrik On Wed, Aug 28, 2013 at 12:33 PM, cstrato wrote: Dear all, When running

[Rd] Packages not found

2013-08-29 Thread cstrato
t regards, Christian _._._._._._._._._._._._._._._._._._ C.h.r.i.s.t.i.a.n S.t.r.a.t.o.w.a V.i.e.n.n.a A.u.s.t.r.i.a e.m.a.i.l:cstrato at aon.at _._._._._._._._._._._._._._._._._._ __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Packages not found

2013-08-29 Thread cstrato
ttp://cran.CH.r-project.org/web/packages/ --- Martin > On 29.08.2013 14:08, cstrato wrote: >> Dear all, >> >> On the CRAN website http://cran.r-project.org/ it is >> currently not possible to get to the packages. Clicking >&

Re: [Rd] Error when using buildVignettes()

2013-08-29 Thread cstrato
<%=numtrees%> Affymetrix <%=chiptype%> arrays of type '<%=chipname%>'. you can compile it all in one go into a final PDF by pdf <- R.rsp::rfile("template.Rnw.rsp"). RSP supports <%@include file="..."%> statements and more if you wish to

Re: [Rd] Problem with texi2pdf(..,clean=TRUE)

2013-08-30 Thread cstrato
30/08/2013 3:09 PM, Marc Schwartz wrote: On Aug 30, 2013, at 2:00 PM, cstrato wrote: > Dear all, > > To create a *.pdf file from a *.Rnw file I do: > > olddir <- getwd(); > setwd(outdir); > > tryCatch({Sweave("QAReport.Rnw"); >

Re: [Rd] Problem with texi2pdf(..,clean=TRUE)

2013-08-30 Thread cstrato
) and newer. It is now simply comparing the set of files before and after. Try with one of those and I'll bet you that clean=TRUE does what it supposed to. /Henrik On Fri, Aug 30, 2013 at 1:05 PM, cstrato wrote: Dear Henrik, I am trying to attach the 'QAReport.Rnw' file which I

Re: [Rd] Problem with texi2pdf(..,clean=TRUE)

2013-08-30 Thread cstrato
-- end QAReport.Rnw On 8/30/13 9:46 PM, Henrik Bengtsson wrote: On Fri, Aug 30, 2013 at 12:40 PM, Marc Schwartz wrote: On Aug 30, 2013, at 2:20 PM, Henrik Bengtsson wrote: On Fri, Aug 30, 2013 at 12:14 PM, Duncan Murdoch wrote: On 30/08/2013 3:09 PM, Marc Schwartz wrote: On Aug 30

Re: [Rd] Problem with texi2pdf(..,clean=TRUE)

2013-08-30 Thread cstrato
the next Bioconductor release on October. Best regards, Christian On 8/30/13 9:36 PM, Henrik Bengtsson wrote: On Fri, Aug 30, 2013 at 12:21 PM, cstrato wrote: Dear Duncan, dear Marc, Thank you for your fast reply. Can you please tell me: If texi2pdf() won't delete files how are t

Re: [Rd] Problem with texi2pdf(..,clean=TRUE)

2013-08-30 Thread cstrato
Dear Henrik, I am trying to attach the 'QAReport.Rnw' file which I am using on my Mac to reproduce your problem. Best regards, Christian On 8/30/13 9:50 PM, cstrato wrote: Dear Henrik, Thank you for your explanation. Yes, this behavior is reproducible many times. When I copy

[Rd] Problem with texi2pdf(..,clean=TRUE)

2013-08-30 Thread cstrato
letion of interim files? (The help file?texi2pdf does not mention that this structure is necessary.) Best regards Christian _._._._._._._._._._._._._._._._._._ C.h.r.i.s.t.i.a.n S.t.r.a.t.o.w.a V.i.e.n.n.a A.u.s.t.r.i.a e.m.a.i.l:cstrato at aon.at _._._._._._._._._._._._._.

[Rd] operation on ‘numsels’ may be undefined

2014-06-23 Thread cstrato
;++numsels' with 'numsels+1'? Best regards, Christian _._._._._._._._._._._._._._._._._._ C.h.r.i.s.t.i.a.n S.t.r.a.t.o.w.a V.i.e.n.n.a A.u.s.t.r.i.a e.m.a.i.l:cstrato at aon.at _._._._._._._._._._._._._._._._._._ __

Re: [Rd] operation on ‘numsels’ may be undefined

2014-06-23 Thread cstrato
:45 PM, Romain François wrote: Le 23 juin 2014 à 15:20, cstrato a écrit : Dear all, Since many years the following C++ code does compile on ALL Bioconductor servers (Linux, Windows, Mac) without any warnings: Int_t numsels = 0; //number of selected entries ... for (Int_t i=0; i

Re: [Rd] operation on ‘numsels’ may be undefined

2014-06-23 Thread cstrato
14 7:13 PM, Romain François wrote: Le 23 juin 2014 à 18:28, cstrato a écrit : Dear Romain, Thank you for your suggestions, I like especially the first one. However, you did not explain why I have never got this warning message on any compiler, and why only one of the two identical Ubuntu com

Re: [Rd] operation on ‘numsels’ may be undefined

2014-06-23 Thread cstrato
s a recent thread on this specific aspect of ++ recently, but I forgot which email list. Kasper On Mon, Jun 23, 2014 at 2:54 PM, cstrato mailto:cstr...@aon.at>> wrote: Dear Romain, I do not know enough about compilers, but as far as I remember, they 'work' from right to

Re: [Rd] operation on ‘numsels’ may be undefined

2014-06-24 Thread cstrato
On 06/23/2014 03:18 PM, Hervé Pagès wrote: Hi Christian, On 06/23/2014 11:54 AM, cstrato wrote: Dear Romain, I do not know enough about compilers, but as far as I remember, they 'work' from right to left, Not necessarily. So you should not rely on that. This is what the (somewh

[Rd] Package crashes R under Windows Vista

2009-09-18 Thread cstrato
Vista library "xps.dll" compiled with option "/MD" does work perfectly fine when running from within ROOT! Please, can anybody tell me why Rterm on Vista crashes when running library(xps)? It seems that for option "/MD&qu

Re: [Rd] Package crashes R under Windows Vista

2009-09-19 Thread cstrato
only option. Best regards Christian Duncan Murdoch wrote: On 18/09/2009 6:12 PM, cstrato wrote: Dear all, Please, please I really need your help, since I am not able to solve the problem myself: It seems that until now most Windows users of my Bioconductor package "xps" use Windo

[Rd] Question when compiling source code with VC++

2009-10-15 Thread cstrato
/MD" is used when compiling programs with VC++.) Best regards Christian _._._._._._._._._._._._._._._._._._ C.h.r.i.s.t.i.a.n S.t.r.a.t.o.w.a V.i.e.n.n.a A.u.s.t.r.i.a e.m.a.i.l:cstrato at aon.at _._._._._._._._._._._._._._._._._._ _

Re: [Rd] Question when compiling source code with VC++

2009-10-16 Thread cstrato
instead of option "/MD"? 2, Will the proposed settings to build the DLL still be valid for the upcoming Windows 7? Best regards Christian _._._._._._._._._._._._._._._._._._ C.h.r.i.s.t.i.a.n S.t.r.a.t.o.w.a V.i.e.n.n.a A.u.s.t.r.i.a e.m.a.i.l:

Re: [Rd] Question when compiling source code with VC++

2009-10-16 Thread cstrato
my case neither option works on Vista, see my more detailed question at: https://stat.ethz.ch/pipermail/r-devel/2009-September/054843.html If you have any idea in this case I would appreciate it very much. Best regards Christian Simon Urbanek wrote: On Oct 15, 2009, at 17:01 , cstrato wrote

Re: [Rd] Which packages in R use C++?

2009-12-10 Thread cstrato
Have a look at: http://www.bioconductor.org/packages/release/bioc/html/xps.html It is almost completely C++ Regards Christian _._._._._._._._._._._._._._._._._._ C.h.r.i.s.t.i.a.n S.t.r.a.t.o.w.a V.i.e.n.n.a A.u.s.t.r.i.a e.m.a.i.l:cstrato at aon.at

[Rd] wcstombs error when compiling package with Debian/Ubuntu

2010-02-10 Thread cstrato
ion error on Debian/Ubuntu? Which development headers/packages (glibc-headers, glibc-kernheaders??) need to be installed on Debian/Ubuntu? Best regards Christian _._._._._._._._._._._._._._._._._._ C.h.r.i.s.t.i.a.n S.t.r.a.t.o.w.a V.i.e.n.n.a A.u.s.t.r.i.a e.m.a.i.l:

Re: [Rd] wcstombs error when compiling package with Debian/Ubuntu

2010-02-10 Thread cstrato
clude " to some C++ *.cxx files did solve the problem. The question is, why did this user need to add "#include " on Debian, while this is not necessary on OpenSUSE11.1 and MacOS X? Best regards Christian Dirk Eddelbuettel wrote: Christian, On 10 February 2010 at 22:02, cstra

Re: [Rd] wcstombs error when compiling package with Debian/Ubuntu

2010-02-10 Thread cstrato
y with that some OSes (especially MinGW32) include from more common headers and some do not. So this may be an OS issue but a compiler-version issue is more likely. On Wed, 10 Feb 2010, cstrato wrote: Dear Debian/Ubuntu experts, For the second time users of my BioC package reported pro

Re: [Rd] wcstombs error when compiling package with Debian/Ubuntu

2010-02-10 Thread cstrato
ot; I will include the header file. I did not realize that there is a dedicated r-sig-debian mailing list, which I will use next time. Best regards Christian Dirk Eddelbuettel wrote: Christian, On 10 February 2010 at 22:40, cstrato wrote: | Dear Dirk, | | Thank you for your fast r

[Rd] Problem using ofstream in C++ class in package for MacOS X

2007-02-04 Thread cstrato
Dear all, I am currently learning how to create R packages using C++ classes. For this purpose I have written a small package MyClass (which I try to attach since I do not have access to a website). MyClass has methods WriteFileC() and WriteFileCpp() which implement C-style and C++-style writing

Re: [Rd] Problem using ofstream in C++ class in package for MacOS X

2007-02-04 Thread cstrato
Dirk Eddelbuettel wrote: > On 4 February 2007 at 20:17, cstrato wrote: > | I am currently learning how to create R packages using C++ classes. > > Congratulations :) > > [ This reminds me to email Oleg (CC'ed). Oleg, your HOWTO is a very useful. > Would you co

Re: [Rd] Problem using ofstream in C++ class in package for MacOS X

2007-02-04 Thread cstrato
Dirk Eddelbuettel wrote: > On 4 February 2007 at 21:20, cstrato wrote: > | Thank you for your fast answer. > | Sorrowly, I don´t know how to use a debugger on MacOS X, I am using > | old-style print commands. > | However, here is the output of the crash log from my Mac. Does it h

Re: [Rd] Problem using ofstream in C++ class in package for MacOS X

2007-02-04 Thread cstrato
Seth Falcon wrote: > cstrato <[EMAIL PROTECTED]> writes: > >> Thank you for your fast answer. >> Sorrowly, I don´t know how to use a debugger on MacOS X, I am using >> old-style print commands. >> > > You should be able to use gdb on OS X

Re: [Rd] Problem using ofstream in C++ class in package for MacOS X

2007-02-05 Thread cstrato
; output.close(); } This means, that the operator "<<" seems to cause the problem, but why? Best regards Christian Jochen Laubrock wrote: > Hi cstrato, > > > On 04.02.2007, at 22:47, cstrato wrote: > >> ostream.tcc >> > > > On my system

Re: [Rd] Problem using ofstream in C++ class in package for MacOS X

2007-02-08 Thread cstrato
Ross Boylan wrote: > On Sun, Feb 04, 2007 at 10:47:37PM +0100, cstrato wrote: > >> Seth Falcon wrote: >> >>> cstrato <[EMAIL PROTECTED]> writes: >>> >>> >>>> Thank you for your fast answer. >>>> Sorrowly

Re: [Rd] Problem using ofstream in C++ class in package for MacOS X

2007-02-08 Thread cstrato
Ross Boylan wrote: > On Thu, Feb 08, 2007 at 10:04:14PM +0100, cstrato wrote: > >> Ross Boylan wrote: >> >>> On Sun, Feb 04, 2007 at 10:47:37PM +0100, cstrato wrote: >>> >>> >>>> Seth Falcon wrote: >&g

[Rd] Problem using ofstream in C++ class in package for MacOS X

2007-02-09 Thread cstrato
Dear Ross Thank you for this clarification, maybe there is something misconfigured on my Intel-Mac. BTW, I have now upgraded to XCode 2.4.1 from 2.4, but the result remains the same. I don´t know if this could help clarify what might be wrong, but I am not able to compile plier, a simple pack

Re: [Rd] Problem using ofstream in C++ class in package for MacOS X

2007-02-09 Thread cstrato
Dear Kasper Thank you, but I want to keep the focus on my own problem (I can indeed compile your package). Since I do not have an url, I would like to attach my package, so that people could try it. In my initial mailing I have attached my package as MyClass_0.1.2.tar.gz, but it got scrambled

[Rd] Problem using callNextMethod() in S4

2007-03-04 Thread cstrato
Dear all, Maybe, I am doing something wrong, but using R-2.5.0 on my Intel-Mac, I have problems using function callNextMethod() in method initialize. I am loading the following code as file "testS4.R": setClass("baseClass", representation(myname = "character", mydir = "cha

Re: [Rd] Problem using callNextMethod() in S4

2007-03-04 Thread cstrato
Dear Seth Thank you for your comments. Please see my comments and at the end my corrected code and output. Sorrowly, the problem remains the same. Seth Falcon wrote: > cstrato <[EMAIL PROTECTED]> writes: > > >> Dear all, >> >> Maybe, I am doing something wro

Re: [Rd] Problem using callNextMethod() in S4

2007-03-05 Thread cstrato
Dear Martin Thank you for this extensive explanation! I hope that I have understood it, but I will realize it as I proceed with my package. Now, my example works as I have expected it to work, great! One problem that I face is lack of extensive explanation of S4 classes, especially with respect t

[Rd] Inherited S4 methods

2007-03-15 Thread cstrato
Dear all, Recently, there was a question to use the same method for more than one class: https://stat.ethz.ch/pipermail/r-devel/2007-March/044809.html I have a variation of this question: Is it possible to use the same function name, e.g. "myfunction" in both, an S4 baseClass and derivedClass.

[Rd] Inherited S4 methods

2007-03-16 Thread cstrato
Dear Seth Thank you, maybe I still do not understand S4 methods. I thought that the purpose of function "callNextMethod()" is to allow some kind of inheritance. In the Bioconuductor packages which are using S4, it is only used for method("initialize") but I thought, that it can be used with every

[Rd] Problems with package containing S4 classes

2007-03-16 Thread cstrato
Dear all, Currently, I am trying to create a test package "testS4" using S4 classes, which I am attaching. Running R CMD check gives the following error: coeurebooks-computer:/Volumes/CoreData/CRAN cs$ R CMD check testS4_0.1.1.tar.gz * checking for working latex ...sh: line 1: latex: command

Re: [Rd] Problems with package containing S4 classes

2007-03-16 Thread cstrato
any compiled code... > > remove that line and everything will be fine. > > btw, if you're playing with S4, you must import 'methods' > > b > > On Mar 16, 2007, at 4:55 PM, cstrato wrote: > >> Dear all, >> >> Currently, I am trying to

[Rd] Inherited S4 methods

2007-03-16 Thread cstrato
Dear Seth Thank you, I will further explain this feature. Best regards Christian __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Problems with package containing S4 classes

2007-03-16 Thread cstrato
ics in the respective methods files. Best regards Christian Benilton Carvalho wrote: > do you have a generic for 'export'? > > On Mar 16, 2007, at 5:38 PM, cstrato wrote: > >> Dear Benilton >> >> Thank you, now my package works. >> >> D

Re: [Rd] Problems with package containing S4 classes

2007-03-16 Thread cstrato
; > Do you have a collate field in your description file? IMHO, the > "AllGeneric.R"/"AllClasses.R" approach is the way to go... keeping > your code organized is always a good thing, right? > > b > > On Mar 16, 2007, at 6:35 PM, cstrato wrote: > &g

Re: [Rd] Problems with package containing S4 classes

2007-03-16 Thread cstrato
t; > Session 1.1.1 - The Description File (Writing R Extensions) > > says exactly what you shohuld know about the Collate field (and not > only that). > > b > > On Mar 16, 2007, at 7:01 PM, cstrato wrote: __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Problems with package containing S4 classes

2007-03-16 Thread cstrato
I must have missed this, thank you. Good night Christian Benilton Carvalho wrote: > Biobase itself does. > b > > On Mar 16, 2007, at 7:43 PM, cstrato wrote: > >> Thank you, I have already read the R-exts manual, but the collate >> field is optional. >> Do

[Rd] how to use debug.mypkg

2007-03-22 Thread cstrato
Dear all, The package "affy" has the following statement in file "AffyBatch.R": if (debug.affy123) cat("-->initAffyBatch\n") This is great and I would also like to use it. However, when I run my package I get the following error: Error in .local(object, ...) : object "debug.mypkg" not found Sin

Re: [Rd] how to use debug.mypkg

2007-03-22 Thread cstrato
arvalho wrote: > debug.affy123 is not a function... it's just a logical flag set in > ProgressBarText.R. > > b > > On Mar 22, 2007, at 6:22 PM, cstrato wrote: > >> Dear all, >> >> The package "affy" has the following statement in file "Aff

Re: [Rd] how to use debug.mypkg

2007-03-23 Thread cstrato
t; it doesn't matter where.. > > just pick one of your files and set it... > > of course, your file should be listed in the Collate field (in case > you changed your mind and are now using it). > > b > > On Mar 22, 2007, at 6:52 PM, cstrato wrote: > >> Yes, I k

[Rd] Limitation of dirname() and basename()

2007-03-26 Thread cstrato
Dear all, I have already twice encountered a case which I consider a limitation of dirname() and basename(). In my functions I have a parameter "outfile" which e.g. tells where a file should be stored. Usually "outfile" is of the form: oufile = "/my/path/myname.txt" > outfile <- "/my/path/mynam

Re: [Rd] Limitation of dirname() and basename()

2007-03-27 Thread cstrato
nals work in the same way: > > gannet% dirname /my/path/ > /my > > Please DO study the R posting guide and do the homework requesting of > you before posting. > > On Mon, 26 Mar 2007, cstrato wrote: > >> Dear all, >> >> I have already twice encountered a

Re: [Rd] Limitation of dirname() and basename()

2007-03-27 Thread cstrato
Hin-Tak Leung wrote: > cstrato wrote: >> 1. I did read the help file. >> 2. I have my own workaround, using e.g. >> file.info("/my/path/")[,"isdir"] >> 3. This was a suggestion. >> 4. If you agree with me that "/my/path/" is a pa

Re: [Rd] Limitation of dirname() and basename()

2007-03-27 Thread cstrato
Gabor Grothendieck wrote: > On 3/27/07, cstrato <[EMAIL PROTECTED]> wrote: >> Hin-Tak Leung wrote: >> > cstrato wrote: >> >> 1. I did read the help file. >> >> 2. I have my own workaround, using e.g. >> >> file.info("/my/path/"

Re: [Rd] Limitation of dirname() and basename()

2007-03-27 Thread cstrato
Simon Urbanek wrote: > > On Mar 27, 2007, at 2:49 PM, cstrato wrote: > >> Hin-Tak Leung wrote: >>> cstrato wrote: >>>> 1. I did read the help file. >>>> 2. I have my own workaround, using e.g. >>>> file.info("/my/path/")[,&qu

Re: [Rd] Limitation of dirname() and basename(): file.name() and file.dir() ?

2007-03-28 Thread cstrato
I am glad to hear that there seems to be some commitment for improvement, although I must admit, that I did not realize that both functions do not check if a name is a directory or a filename, even though the definition in "The Open Group Base Specifications" says: dirname - return the direct

[Rd] Replacing slot of S4 class in method of S4 class?

2007-03-30 Thread cstrato
Dear all, Assume that I have an S4 class "MyClass" with a slot "myname", which is initialized to: myname="" in method("initialize"): myclass <- new("MyClass", myname="") Assume that class "MyClass" has a method "mymethod": "mymethod.MyClass" <- function(object, myname=character(0), ...)

Re: [Rd] Replacing slot of S4 class in method of S4 class?

2007-03-30 Thread cstrato
8PM +0200, cstrato wrote: > >> Dear all, >> >> Assume that I have an S4 class "MyClass" with a slot "myname", which >> is initialized to: myname="" in method("initialize"): >>myclass <- new("MyClass", myna

[Rd] Problem with S4 inheritance: unexpected re-initialization?

2007-03-31 Thread cstrato
Dear all, To explain my problem I am attaching a demonstration package "myclasspkg": I have the following two S4 classes with similar inheritance: SubSubClassA <- SubClassB <- BaseClass SubSubClassB <- SubClassB <- BaseClass In R I am calling the following functions: > library(myclasspkg) >

[Rd] Problem with S4 inheritance: unexpected re-initialization?

2007-04-02 Thread cstrato
Dear S4 experts, Since I was reminded that I posted a similar question some time ago, I am attaching a modified version of my demo package, which allows me to track what happens during initialization of the following similar subclasses: SubSubClassA <- SubClassB <- BaseClass SubSubClassB <- S

Re: [Rd] Problem with S4 inheritance: unexpected re-initialization?

2007-04-04 Thread cstrato
Dear Herve Thank you for your helpful comments, and I especially appreciate that you tried to run my package. I will try to answer each point separately. Herve Pages wrote: Hi Christian, I can only give you a few reasons why IMO it is very unlikely that anybody will be able to help you on this

Re: [Rd] Problem with S4 inheritance: unexpected re-initialization?

2007-04-05 Thread cstrato
", sep="") .Object <- callNextMethod(.Object, ...) .Object } ) setValidity("SubSubClassB1", function(object) { cat("--setValidity:SubSubClassB1--\n") cat("SubSubClassB1:val:class(object) = ", class(object), "\

Re: [Rd] Problem with S4 inheritance: unexpected re-initialization?

2007-04-06 Thread cstrato
Dear Herve, dear Martin, First I want to thank Herve very much for your continuous efforts. You can not imagine, how relieved I was that you mangaged to reproduce this behavior. Just when I wanted to send my reply to Herve, I received Martin's comments: As you mention, there were two problems in

  1   2   >