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

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

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] 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-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
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 

[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] 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

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-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
: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

[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 _._._._._._._._._._._._._._._._._._ __

[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 _._._._._._._._._._._._._.

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

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
) 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
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] 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] 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 >&

[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] 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] 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] 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

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

[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] 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] 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] 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

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

[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] 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(

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

[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] 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

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

[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] 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

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] 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:

[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] 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] 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] Compiler options for Makefile.win

2009-04-02 Thread cstrato
trying to load "library(xps)". Best regards Christian Gábor Csárdi wrote: On Sun, Mar 29, 2009 at 9:31 PM, cstrato wrote: [...] - - - - - - - - Created c:\home\Rabbitus\CRAN\xps\chm\xps.chm, 166,306 bytes Compression decreased file by 442,726 bytes. ** building package i

Re: [Rd] Compiler options for Makefile.win

2009-04-02 Thread cstrato
of R users under Windows that make use of a non-gcc compiler and is reading this list is quite close to 0. Hence you will probably have to find it out yourself. Uwe Ligges cstrato wrote: Dear all, For certain reasons I have to compile the source code of my package on Windows XP using Mi

[Rd] Compiler options for Makefile.win

2009-03-29 Thread cstrato
know why I can build my package w/o problems when using option /MT but not when using option /MD? As a note, I am using "R-2.9.0alpha-win32.exe" which I have downloaded today. Thank you in advance. Best regards Christian _._._._._._._._._._._._._._._._._._ C.h.r.i.s.t.i.a.n

Re: [Rd] How to add a slot to S4 class of an existing package?

2008-12-29 Thread cstrato
o section 6 of this: http://www.bioconductor.org/packages/2.4/bioc/vignettes/Biobase/inst/doc/BiobaseDevelopment.pdf Best wishes Wolfgang Wolfgang Huber EMBL-EBI http://www.ebi.ac.uk/huber cstrato wrote: Dear all, Since my package

[Rd] How to add a slot to S4 class of an existing package?

2008-12-22 Thread cstrato
ility or special trick, which would avoid this error message? Are there other possibilities to access an additional data.frame from an existing class? Is there something like an "evolution" of S4 classes, which distinguishes the different im

Re: [Rd] Error in R CMD INSTALL on Windows XP using Rtools28

2008-12-07 Thread cstrato
I understand, thank you, Christian Gabor Grothendieck wrote: Any Windows batch script that uses the Windows find command. On Sat, Dec 6, 2008 at 1:08 PM, cstrato <[EMAIL PROTECTED]> wrote: Dear Gabor, Sorry, my mistake, here are my correct path settings: System Path: C:\Rtools

Re: [Rd] Error in R CMD INSTALL on Windows XP using Rtools28

2008-12-06 Thread cstrato
h to MiKTeX too (if you have it in a standard location). On Sat, Dec 6, 2008 at 9:41 AM, cstrato <[EMAIL PROTECTED]> wrote: Dear Duncan, dear Gabor, Thank you for this additional information and all these great tips. Setting the system path in the following way solved my problem: c:\Rtoo

Re: [Rd] Error in R CMD INSTALL on Windows XP using Rtools28

2008-12-06 Thread cstrato
seems to be a problem of my complicated setup and not a general problem, so adding this information may confuse other people. Best regards Christian Gabor Grothendieck wrote: On Sat, Dec 6, 2008 at 8:08 AM, Duncan Murdoch <[EMAIL PROTECTED]> wrote: cstrato wrote: Prof Brian

Re: [Rd] Error in R CMD INSTALL on Windows XP using Rtools28

2008-12-05 Thread cstrato
Prof Brian Ripley wrote: On Fri, 5 Dec 2008, cstrato wrote: Dear Duncan Thank you for this explicit explanation, you are right: When setting the system variable "Path" (as administrator) in addition to setting the user variable "PATH" (as user), now everything works f

Re: [Rd] Error in R CMD INSTALL on Windows XP using Rtools28

2008-12-05 Thread cstrato
://batchfiles.googlecode.com which automatically sets all environment variables for you including the PATH making it unnecessary to set your PATH or any environment variables. On Fri, Dec 5, 2008 at 4:06 PM, cstrato <[EMAIL PROTECTED]> wrote: Dear Duncan Thank you for this explicit explanation, you are

Re: [Rd] Error in R CMD INSTALL on Windows XP using Rtools28

2008-12-05 Thread cstrato
t; on my laptop with Rtools27 seems not to be necessary. May I suggest that this could be clarified in "R Installation and Administration" since there only the user variable "PATH" is mentioned (as far as I see). Thank you all one more time. Best regards Christian Dunc

Re: [Rd] Error in R CMD INSTALL on Windows XP using Rtools28

2008-12-05 Thread cstrato
pley wrote: This is a PATH error: you must have Rtools/bin before Windows system directories in your path. As the R-admin manual tells you explicitly fortune("WTFM") applies. On Fri, 5 Dec 2008, cstrato wrote: Dear all When trying to install my package on Windows XP on my Mac,

[Rd] Error in R CMD INSTALL on Windows XP using Rtools28

2008-12-05 Thread cstrato
amme/R/R-2.8.0/doc/html/packages.html' nicht erzeugen. Grund 'Permission denied' 2: In tools:::win.packages.html(.Library) : kann HTML Paketindex nicht aktualisieren installing help >>> Building/Updating help pages for package 'xps

Re: [Rd] Problem with Makefile.win and environment variable

2008-03-21 Thread cstrato
the example you showed is the second. > > The shell you use to can Rcmd INSTALL is not relevant: our software > ensures that a POSIX shell is used for the make. (This is quite > different from nmake.) > > Thank you once again and "Happy Eastern" Best regards Christia

Re: [Rd] Problem with Makefile.win and environment variable

2008-03-21 Thread cstrato
._._._._._._._._._._._._ Prof Brian Ripley wrote: >> cl /Ic:\root/include /MT /EHsc /Ox /D "MSVC" /D "WIN32" /c TMLMath.cxx > > will AFAIK not work when passed to the shell used (which is ash), and > in any case will not work for paths with spaces in. >

Re: [Rd] Problem with Makefile.win and environment variable

2008-03-21 Thread cstrato
nd any solution to this last problem. Do you have some other ideas which I could test? Thank you. Best regards Christian _._._._._._._._._._._._._._._._ C.h.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 _._._._._._._._._._._._._._._._ Prof Brian Ripley wrote: > On Fri, 21 Mar 2

[Rd] Problem with Makefile.win and environment variable

2008-03-21 Thread cstrato
Dear all, When porting my package to WinXP I have the following problem: I need to create an environment variable "MYVAR=c:\mypath" which I have saved in the control panel "System->My Computer" (under the `Advanced' tab). I have two files which need to access MYVAR: config.win, Makefile.win Wh

[Rd] Problem creating Makefile.win to build package using Visual C++

2008-03-02 Thread cstrato
/out:mypkg.dll *.obj Rdll.lib but it is not clear to me how to convert this example to my makefile? Thank you in advance Best regards Christian _._._._._._._._._._._._._._._._ C.h.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] Vector binding on harddisk

2008-02-14 Thread cstrato
framework, from which you say: "it is hard to beat a framework that stores (contiguous) data that is optimized for reading and/or writing". Best regards Christian _._._._._._._._._._._._._._._._ C.h.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

Re: [Rd] Problem with initialize of S4 classes

2007-12-24 Thread cstrato
; of arguments can be done (in the constructor) before > calling 'new' (I find this helpful, to avoid have to be too careful > when constructing initialize methods that deal with both the class and > classes derived from the class). > > Martin > > cstrato <[EMAIL PROT

[Rd] Problem with initialize of S4 classes

2007-12-23 Thread cstrato
alize gets also called in my package? > sessionInfo() R version 2.6.1 (2007-11-26) i386-apple-darwin8.10.1 locale: C attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] xps_0.4.0 loaded via a namespace (an

Re: [Rd] Inconsistent behavior of sQuote and dQuote

2007-10-14 Thread cstrato
to sQuote() and dQuote(), too, with default being ASCII behavior. However, this is only my personal opinion. Best regards Christian Marc Schwartz wrote: > On Sun, 2007-10-14 at 11:56 -0400, Duncan Murdoch wrote: > >> On 14/10/2007 10:44 AM, cstrato wrote: >> >>

[Rd] Inconsistent behavior of sQuote and dQuote

2007-10-14 Thread cstrato
Dear all When comparing sQuote("text") and dQuote("text") on MacOS X and Linux FC4 I get an inconsistent behavior (using the new release version R-2.6.0): sQuote: On Mac I get the correct result "'text'", but on FC4 the incorrect result "`text´". dQuote: On Mac I get the correct result "\"text\"

Re: [Rd] [Bioc-devel] promptClass

2007-05-27 Thread cstrato
v(parent.frame())) { > -mname <- mlistMetaName(f, where) > +mname <- mlistMetaName(f, getPackageName(where)) > if(exists(mname, where = where, inherits = missing(where))) > get(mname, where) > else > > Seth Falcon <[EMAIL PR

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

2007-04-06 Thread cstrato
Dear Herve Although I am currently learning to use S4 classes, and thus I am probably not the person to comment on S4 classes, I completely agree with you. Coming from C++ (most of my code is C++), this is what I have intuitively expected, although I was not able to formulate it. I am glad that

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

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

[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

[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) >

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] 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] 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

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()

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

  1   2   >