search for: wdate

Displaying 20 results from an estimated 55 matches for "wdate".

Did you mean: date
2007 Jun 13
5
Confusion with sapply
...mpany-reporting dates to March. > Set2March <- function(xdate){ + # Combines non-March months into March months: + # Dec2006 -> Mar2007 + # Mar2006 -> Mar2006 + # Jun2006 -> Mar2006 + # Sep2006 -> Mar2006 + # VERY Specific code. + Month <- format(xdate,"%m") + wDate <- month.day.year(julian(xdate)) + if (Month=="12"){ + wDate$year <- wDate$year + 1 + wDate$month <- 3 + }else + if (Month=="06"){ + wDate$month <- 3 + }else + if (Month=="09"){ + wDate$month <- 3 +...
2016 Aug 19
2
can't build from source: error: template with C linkage
Hi All, Users have contacted me because they can not build MCMCglmm from source. All are using R 3.3.0 on various machines with different compilers gcc (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 g++ (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4 Mac OS X El Capitan (version/compiler unspecified) The issue seems to be with mixing C/C++ with the repeated error: /usr/include/c++/5/bits/cpp_type_traits.h:118:3:
2016 Aug 19
1
can't build from source: error: template with C linkage
...talling to library ?/tmp/RcppDepends/lib? > * installing *source* package ?MCMCglmm? ... > ** package ?MCMCglmm? successfully unpacked and MD5 sums checked > ** libs > gcc -I/usr/share/R/include -DNDEBUG??????-fpic??-g -O2 -fstack- > protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -g??-O3 -Wall -pipe -pedantic -std=gnu99??-O3 > -pipe -std=gnu99 -Wno-maybe-uninitialized -Wno-unused-but-set- > variable -c cs_add.c -o cs_add.o > gcc -I/usr/share/R/include -DNDEBUG??????-fpic??-g -O2 -fstack- > protector-strong -Wformat -Werror=format-se...
2016 Aug 19
0
can't build from source: error: template with C linkage
...Cglmm_2.22.1.tar.gz * installing to library ?/tmp/RcppDepends/lib? * installing *source* package ?MCMCglmm? ... ** package ?MCMCglmm? successfully unpacked and MD5 sums checked ** libs gcc -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O3 -Wall -pipe -pedantic -std=gnu99 -O3 -pipe -std=gnu99 -Wno-maybe-uninitialized -Wno-unused-but-set-variable -c cs_add.c -o cs_add.o gcc -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTI...
2019 Jan 06
4
Failed to install RQuantLib in Ubuntu machine
...creating ./config.status* *config.status: creating src/Makevars* *Completed configuration and ready to build.* *** libs* *g++ -std=gnu++11 -I/usr/share/R/include -DNDEBUG -I"/usr/local/lib/R/site-library/Rcpp/include" -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -I/usr/local/include -fpermissive -I../inst/include -I. -DBOOST_NO_AUTO_PTR -fopenmp -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c RcppExports.cpp -o RcppExports.o* *g++ -std=gnu++11 -I/usr/share/R/include...
2019 Jan 07
0
Failed to install RQuantLib in Ubuntu machine
...atus: creating src/Makevars* > > *Completed configuration and ready to build.* > > *** libs* > > *g++ -std=gnu++11 -I/usr/share/R/include -DNDEBUG > -I"/usr/local/lib/R/site-library/Rcpp/include" -g -O2 > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -g -I/usr/local/include -fpermissive -I../inst/include > -I. -DBOOST_NO_AUTO_PTR -fopenmp -fpic -g -O2 -fstack-protector-strong > -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c > RcppExports.cpp -o RcppExports.o* > > *g++ -std=g...
2016 Nov 12
0
Ubuntu 16.10 Yakkety Yak uses GCC 6 but -std=c++98 is missing
...uild_alias=x86_64-linux-gnu' 'R_PRINTCMD=/usr/bin/lpr' 'R_PAPERSIZE=letter' 'R_BROWSER=xdg-open' 'LIBnn=lib' 'JAVA_HOME=/usr/lib/jvm/default-java' 'CC=gcc -std=gnu99' 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' 'CPPFLAGS=' 'F77=gfortran' 'FFLAGS=-g -O2 -fstack-protector-strong' 'CXX=g++' 'CXXFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FO...
2016 Nov 12
2
Ubuntu 16.10 Yakkety Yak uses GCC 6 but -std=c++98 is missing
On 12 November 2016 at 07:59, Dirk Eddelbuettel wrote: | | On 12 November 2016 at 14:23, Kirill M?ller wrote: | | Thanks. I have now CXX = g++ -std=c++98 in my /etc/R/Makeconf, it's | | picked up properly. I can only assume that the last -std= option wins if | | more than one are given on the same command line [1]. | | Good to know it works. | | I am still a little puzzled why it was
2017 Nov 18
3
tcltk problems
Did you istall the tcl- and tk-devel packages? Best, Albrecht -- Albrecht Kauffmann alkauffm at fastmail.fm Am Sa, 18. Nov 2017, um 05:00, schrieb Erin Hodgess: > When I have compiled from sourced on Ubuntu, I did NOT include the > "with-tcltk" and it worked fine. Did you try that, please? > > Thanks, > Erin > > > On Fri, Nov 17, 2017 at 6:34 PM, Rolf
2023 Dec 30
2
custom built R will not change BLAS/LAPACK with update-alternatives
Dear All, I am building R from source[1], following what is done in "rules" for building Debian's R. But the R I generate, in contrast to the standard Debian's R, will not change the BLAS and LAPACK libraries it uses when I change them via "update-alternatives". I have no idea what I am doing wrong (but, somehow, I've been quite capable of making the same
2017 Aug 17
2
How to install Tidyverse on Ubuntu 17.04? Getting gcc errors for -fstack-protector-strong and -Wdate-time
...sell packages. I'll show an example at the end of this post. I've not found anyone else who had exactly that problem on Ubuntu 17.04. But posts from people with similar problems suggest that my gcc might be a version that's too old to recognise the options -fstack-protector-strong and -Wdate-time. Possible work-arounds that I've thought of: 1) Find an older version of Tidyverse that doesn't need those compiler options. 2) Upgrade my Ubuntu's gcc so that whichever one Tidyverse needs becomes the default. But I don't know whether that would nuke other software on my ma...
2018 Jul 01
2
Installing sjPlot in R 3.4.4 on Ubuntu 16.04LTS
...cessfully unpacked and MD5 sums checked** libsgcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -I"/usr/lib/R/library/Matrix/include" -I"/home/drz/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include" -fopenmp -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c external_metis.c -o external_metis.o gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -I"/usr/lib/R/library/Matrix/include" -I"/home/drz/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include" -fopenmp -fpic -g -O2 -fstack-protector-strong -Wformat -W...
2016 Nov 11
3
Ubuntu 16.10 Yakkety Yak uses GCC 6 but -std=c++98 is missing
...I've noticed that packages are compiled in C++14 mode by default. Here's what a g++ command for compiling one of Rcpp's modules look like on my system: g++ -I/usr/share/R/include -DNDEBUG -I../inst/include/ -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c barrier.cpp -o barrier.o According to GCC news [1], the default is now C++14 if no -std is given. R-admin suggests adapting the configuration for GCC 6 [2]. I'm using r-base-core in version 3.3.2-1xenial0 from the Ubuntu repo [3]. Please advise. Best regar...
2017 Apr 05
2
Very hard to reproduce bug (?) in R-devel
...o's encountered an issue like this. "Insanely difficult" is an apt description. :) I've been using the rocker/r-devel for testing. It compiles R with the following CFLAGS: -g -O2 -fdebug-prefix-map=/build/r-base-3.3.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g It looks like it gets those settings from running R CMD config CFLAGS with the already-installed version of R (3.3.3) which comes from a .deb package. https://github.com/rocker-org/rocker/blob/master/r-devel/Dockerfile#L76 I've also compiled R (again, in Docker)...
2020 Apr 04
3
how to pick cipher for AES-NI enabled AMD GX-412TC SOC tincd at 100% CPU
..._ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 The 'numbers' are in 1000s of bytes per second processed. type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes aes-128-cbc 74164.26k 140205.23k 192356.95k 212688.55k 218611.71k 219436.37k root at officelink01:~#...
2016 Dec 02
1
pdftools on Ubuntu
Hi Francois, Thanks for your quick response. Actually, I had already done that... sudo apt-get install libpoppler-cpp-dev Reading package lists... Done Building dependency tree Reading state information... Done libpoppler-cpp-dev is already the newest version (0.41.0-0ubuntu1.1). 0 upgraded, 0 newly installed, 0 to remove and 107 not upgraded. Therefore, I assume I have this installed. Best
2016 Nov 12
3
Ubuntu 16.10 Yakkety Yak uses GCC 6 but -std=c++98 is missing
...ckages are compiled in C++14 mode by default. Here's what a g++ > | command for compiling one of Rcpp's modules look like on my system: > | > | g++ -I/usr/share/R/include -DNDEBUG -I../inst/include/ -fpic -g -O2 > | -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > | -D_FORTIFY_SOURCE=2 -g -c barrier.cpp -o barrier.o > | > | According to GCC news [1], the default is now C++14 if no -std is given. > | R-admin suggests adapting the configuration for GCC 6 [2]. > | > | I'm using r-base-core in version 3.3.2-1xenial0 from the Ubuntu...
2016 Jan 20
1
Bug#811936: blktap: FTBFS with GCC 6: defined but not used
...g++-6 explicitly. You may be able to find out more about this issue at https://gcc.gnu.org/gcc-6/changes.html > sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux ... > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_GNU_SOURCE -I../../include -I../../lvm -I../../part -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -MT atomicio.lo -MD -MP -MF .deps/atomicio.Tpo -c atomicio.c -fPIC -DPIC -o .libs/atomicio.o > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_GNU_SOURCE -I../../include -I../../lvm -I....
2018 Mar 30
2
debian lintian warn: hardening-no-fortify-functions
...o configure: CFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" CXXFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro -Wl,-z,now" /<<PKGBUILDDIR>>/./configure --build=x86_64-linux-gnu --prefix=/usr --includedir="\${prefix}/include" --mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info" --sysconfdir=/...
2017 Nov 27
2
Debian Buster, bind_dlz, and apparmor
...random' 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/bind9-ISaUWy/bind9-9.10.6+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -fno-delete-null-pointer-checks -DNO_VERSION_DATE -DDIG_SIGCHASE' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' Nov 23 10:12:12 debpdc named[16080]: loading configuration from '/etc/bind/named.conf' Nov 23 10:12:12 debpdc named[16080]: reading built-in trusted keys from file '/etc/bind/bind.keys' Nov 23 10:12:12 debpdc audit[16080]: AVC apparmor="DENIED&q...