similar to: Question when compiling source code with VC++

Displaying 20 results from an estimated 20000 matches similar to: "Question when compiling source code with VC++"

2010 Sep 13
4
Problem with WARNING...headers with CRLF line endings
Dear all, When running R CMD check on Windows XP to test my package I get the following warning message: "* checking line endings in C/C++/Fortran sources/headers ... WARNING Found the following sources/headers with CR or CRLF line endings: src/xpsDict.h" The problem is that this file is created by the compiler AUTOMATICALLY during the compilation process, and since the file is
2009 Mar 29
2
Compiler options for Makefile.win
Dear all, For certain reasons I have to compile the source code of my package on Windows XP using Microsoft Visual Studio 9.0, thus I had to create a "Makefile.win". Now I have a question regarding compiler options /MT vs /MD for Makefile.win. The following partial output shows that when building my package on Windows XP using "R CMD build --binary xps" with compiler
2009 Sep 18
1
Package crashes R under Windows Vista
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 Windows XP, but recently a user tried to use it on Windows Vista where it crashed R immediately. Since I assume that some users may migrate to the upcoming Windows 7 where the problem will be the same, I
2010 Dec 18
0
[BioC] problem with function
Hi Christian, Chuck (and lists) It seems that the problem may be the strange behaviour of 'unstack' inside a function. See this thread in the R mailing list: http://tolstoy.newcastle.edu.au/R/help/04/03/1160.html Anyway, I got round the problem by using 'aggregate' instead of converting to a list and then tapply to sum values of metric. Probably more efficient as well. Thanks
2010 Feb 10
2
wcstombs error when compiling package with Debian/Ubuntu
Dear Debian/Ubuntu experts, For the second time users of my BioC package reported problems when trying to compile it on Debian/Ubuntu. The error is always the same: "'wcstombs' was not declared in this scope", see: https://www.stat.math.ethz.ch/pipermail/bioconductor/2010-February/031739.html https://stat.ethz.ch/pipermail/bioconductor/2009-August/029192.html Since I have no
2004 Feb 02
1
Robust nonlinear regression - sin(x)/x?
You reall have only one parameter in your model, c = a/b. You can't identify both a and b from your model, therefore, you should fit the linear model: lm(z ~ c* sin(x)/x) Ravi. ----- Original Message ----- From: cstrato <cstrato at aon.at> Date: Monday, February 2, 2004 2:28 pm Subject: [R] Robust nonlinear regression - sin(x)/x? > Dear all > > Since I did not receive any
2007 May 27
2
[Bioc-devel] promptClass
promptClass fails to identify methods associated with the class. Here is a fix: Index: promptClass.R =================================================================== --- promptClass.R (revision 41719) +++ promptClass.R (working copy) @@ -165,7 +165,7 @@ if (nmeths > 0) { .meths.body <- " \\describe{" for (i in 1:nmeths) { - .sigmat
2013 Aug 29
2
Packages not found
Dear all, On the CRAN website http://cran.r-project.org/ it is currently not possible to get to the packages. Clicking on "Packages" or on "Contributed extension packages" results in Error 404: Object not found!, see: http://cran.r-project.org/web/packages/ 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
2013 Aug 30
1
Problem with texi2pdf(..,clean=TRUE)
Dear all, To create a *.pdf file from a *.Rnw file I do: olddir <- getwd(); setwd(outdir); tryCatch({Sweave("QAReport.Rnw"); tools::texi2pdf("QAReport.tex", clean=TRUE) }, finally = setwd(olddir) ); This works fine, however 'clean=TRUE' does only work when: outdir <-
2014 Jun 23
1
operation on ‘numsels’ may be undefined
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<size; i++) { numsels = (arrMask[i] == 1) ? ++numsels : numsels; }//for_i Even on the recently added release server 'zin2' Linux (Ubuntu 12.04.4 LTS) the
2015 Sep 26
2
Hidden files problem in R CMD check
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-archive-of-a-directory-except-for-hidden-files Instead of doing: $tar czf xps_1.29.2.tar.gz xps I did now: $COPYFILE_DISABLE=1 tar czf
2011 Mar 11
1
WARNING Undocumented S4 methods 'initialize' - why?
Dear all, I am just writing the documentation file for S4 class 'QualTreeSet' and get the following warning with R CMD check: * checking for missing documentation entries ... WARNING Undocumented S4 methods: generic 'initialize' and siglist 'QualTreeSet' All user-level objects in a package (including S4 classes and methods) should have documentation entries. See the
2015 Sep 26
2
Hidden files problem in R CMD check
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 'ls -al' (or with mc) none of these files does exist!! (with exception .BBSoptions). Here is a partial output of 00check.log: * using log directory
2008 Dec 22
1
How to add a slot to S4 class of an existing package?
Dear all, Since my package is based on S4 classes, I would like to know how to add a slot to an existing S4 class without breaking the code of users of my package. Assume the following S4 class: setClass("MyClass", representation(name = "character", type = "character", data = "data.frame" ), prototype(name =
2011 Apr 23
4
How to create vignette.pdf for R-2.13.0?
Dear all, While R CMD check and R CMD INSTALL have always created the vignettes on R-2.12.1 or any earlier versions of R, I am no longer able to build the vignettes on R-2.13.0. Instead R CMD check gives me the following output: * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... WARNING Package vignette(s) without corresponding PDF:
2007 Dec 23
1
Problem with initialize of S4 classes
Dear all Below is the code for "scriptPreFilter.R" which gives the following result: > source("scriptPreFilter.R") > prefltr <- new("PreFilter", mad=c(0.5,0.01)) [1] "------initialize:PreFilter------" [1] "------initialize:Filter------" > str(prefltr) Formal class 'PreFilter' [package ".GlobalEnv"] with 2 slots
2008 Dec 05
2
Error in R CMD INSTALL on Windows XP using Rtools28
Dear all When trying to install my package on Windows XP on my Mac, I get the following error: ---------- Making package xps ------------ ... ... xpsDict.cxx "C:\Programme\Microsoft Visual Studio 9.0\VC\bin/link" /dll /def:xps.def /out:xps.dll fp10.obj -opt:noref -nologo -include:_G__cpp_setupG__Hist -include:_G__cpp_setupG__Graf1 -include:_G__cpp_setupG__G3D
2015 Sep 26
0
Hidden files problem in R CMD check
Christian, those are resource forks from your files - possibly maintained by your (likey very old?) editor. First, is seems that you are not creating the tar ball correctly - the correct way is to use R CMD build which should not include resource forks nor files on the ignore list. That said, if for some reason you intend to create is by hand (not recommended), you may want to set
2013 Aug 28
1
Error when using buildVignettes()
Dear all, When running function 'testQAReport()', which uses function 'buildVignettes()' to create a pdf-file I get the following error: > source("testQAReport.R") > testQAReport() Error in .get_package_metadata(pkgdir) : Files 'DESCRIPTION' and 'DESCRIPTION.in' are missing. Since I did not get this error in earlier versions of R, could you
2004 Dec 23
0
[LLVMdev] VC++: Cannot open include file: 'windows.h': No suchfile or directory
Yes, it should find windows.h with the default configuration. But you have to be suspicious of beta code that Microsoft gives out for free. It might just be very buggy, or it might be deliberately crippled. Considering the price tag on Visual Studio, it's one or the other (and probably both). Out of curiosity, did it accept the solution and project files as is, or did it want to