Displaying 20 results from an estimated 31 matches for "r_printcmd".
Did you mean:
printcmd
1997 Apr 24
1
R-beta: multiple binary types
...quot;$1" = -xxgdb ]
then
shift
DEBUGGER=xxgdb
fi
# Default Printer Paper Size
# Choose one of the following
# R_PAPERSIZE="a4"
# R_PAPERSIZE="letter"
# R_PAPERSIZE="none"
R_PAPERSIZE=a4
export R_PAPERSIZE
# Default Print Command
# Choose one of the following
# R_PRINTCMD="lpr"
# R_PRINTCMD="lp"
R_PRINTCMD=lpr
export R_PRINTCMD
exec $DEBUGGER $RHOME/bin/$OSTYPE/R.binary $*
-------------- next part --------------
#!/bin/sh
if [ "$1" = "lib" ]
then
file=$RHOME/$1/$OSTYPE/$2
else
file=$RHOME/$1/$2
fi
if [ -r $file ]
then
e...
1997 Apr 24
1
R-beta: multiple binary types
...quot;$1" = -xxgdb ]
then
shift
DEBUGGER=xxgdb
fi
# Default Printer Paper Size
# Choose one of the following
# R_PAPERSIZE="a4"
# R_PAPERSIZE="letter"
# R_PAPERSIZE="none"
R_PAPERSIZE=a4
export R_PAPERSIZE
# Default Print Command
# Choose one of the following
# R_PRINTCMD="lpr"
# R_PRINTCMD="lp"
R_PRINTCMD=lpr
export R_PRINTCMD
exec $DEBUGGER $RHOME/bin/$OSTYPE/R.binary $*
-------------- next part --------------
#!/bin/sh
if [ "$1" = "lib" ]
then
file=$RHOME/$1/$OSTYPE/$2
else
file=$RHOME/$1/$2
fi
if [ -r $file ]
then
e...
2015 Aug 29
2
Having both R-current and R-devel installed on Ubuntu
..." \
> # R_BROWSER=xdg-open \
> # PAGER=/usr/bin/pager \
> # PERL=/usr/bin/perl \
> # R_UNZIPCMD=/usr/bin/unzip \
> # R_ZIPCMD=/usr/bin/zip \
> # R_PRINTCMD=/usr/bin/lpr \
> # LIBnn=lib \
> # AWK=/usr/bin/awk \
> # CC="ccache gcc" \
> # CFLAGS="-ggdb -pipe -std=gnu99 -Wall -pedantic -DTESTING_...
2016 Nov 12
0
Ubuntu 16.10 Yakkety Yak uses GCC 6 but -std=c++98 is missing
...=/usr/share/R/include' '--with-blas' '--with-lapack'
'--enable-R-profiling' '--enable-R-shlib' '--enable-memory-profiling'
'--without-recommended-packages' '--build' 'x86_64-linux-gnu'
'build_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' 'LDF...
2012 Aug 08
2
Having both R-current and R-devel installed on Ubuntu
Dear List,
Having used R on Windows for years, I have recently installed Ubuntu as a virtual machine. I admit that I am quite new to the linux world.
Installing R (current version = 2.15.1) went smoothly, but I would like to have both the current version of R and R-devel installed. I've searched the net for info on doing this but so far without luck.
Can anyone help me getting this up and
2015 Aug 29
0
Having both R-current and R-devel installed on Ubuntu
...\
| > # R_BROWSER=xdg-open \
| > # PAGER=/usr/bin/pager \
| > # PERL=/usr/bin/perl \
| > # R_UNZIPCMD=/usr/bin/unzip \
| > # R_ZIPCMD=/usr/bin/zip \
| > # R_PRINTCMD=/usr/bin/lpr \
| > # LIBnn=lib \
| > # AWK=/usr/bin/awk \
| > # CC="ccache gcc" \
| > # CFLAGS="-ggdb -pipe -std=gnu99 -Wall -pedantic -D...
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
2016 Nov 11
1
installing R-devel on ubuntu
...=========================================================
## ~/bin/build-R-devel
#!/bin/sh
cd ~/research/svn/R-devel-build
R_PAPERSIZE=letter
R_BATCHSAVE="--no-save --no-restore"
R_BROWSER=xdg-open
PAGER=/usr/bin/pager
PERL=/usr/bin/perl
R_UNZIPCMD=/usr/bin/unzip
R_ZIPCMD=/usr/bin/zip
R_PRINTCMD=/usr/bin/lpr
LIBnn=lib
AWK=/usr/bin/awk
CC="ccache gcc"
CFLAGS="-ggdb -pipe -std=gnu99 -Wall -pedantic"
CXX="ccache g++"
CXXFLAGS="-ggdb -pipe -Wall -pedantic"
FC="ccache gfortran"
F77="ccache gfortran"
MAKE="make -j4"
../r-devel...
2017 Apr 06
3
failure of make check-all
...OME"
< [53] "R_INCLUDE_DIR" "R_LIBS"
< [55] "R_LIBS_SITE" "R_LIBS_USER"
< [57] "R_OSTYPE" "R_PAPERSIZE"
< [59] "R_PAPERSIZE_USER" "R_PDFVIEWER"
< [61] "R_PLATFORM" "R_PRINTCMD"
< [63] "R_PROFILE" "R_PROFILE_USER"
< [65] "R_RD4PDF" "R_SESSION_TMPDIR"
< [67] "R_SHARE_DIR" "R_SYSTEM_ABI"
< [69] "R_TEXI2DVICMD" "R_UNZIPCMD"
< [71] "R_VERSION" &quo...
2017 Apr 06
0
failure of make check-all
...< [53] "R_INCLUDE_DIR" "R_LIBS"
> < [55] "R_LIBS_SITE" "R_LIBS_USER"
> < [57] "R_OSTYPE" "R_PAPERSIZE"
> < [59] "R_PAPERSIZE_USER" "R_PDFVIEWER"
> < [61] "R_PLATFORM" "R_PRINTCMD"
> < [63] "R_PROFILE" "R_PROFILE_USER"
> < [65] "R_RD4PDF" "R_SESSION_TMPDIR"
> < [67] "R_SHARE_DIR" "R_SYSTEM_ABI"
> < [69] "R_TEXI2DVICMD" "R_UNZIPCMD"
> < [71] "R_VER...
2017 Apr 19
0
R 3.4 has broken C++11 support
...call configure in build shell script (which has not changed in years) with
R_PAPERSIZE=letter \
R_BATCHSAVE="--no-save --no-restore" \
R_BROWSER=xdg-open \
PAGER=/usr/bin/pager \
PERL=/usr/bin/perl \
R_UNZIPCMD=/usr/bin/unzip \
R_ZIPCMD=/usr/bin/zip \
R_PRINTCMD=/usr/bin/lpr \
LIBnn=lib \
AWK=/usr/bin/awk \
CC="ccache gcc" \
CFLAGS="-ggdb -pipe -std=gnu99 -Wall -pedantic" \
CXX="ccache g++" \
CXXFLAGS="-ggdb -pipe -Wall -pedantic" \
FC="ccache gfortran"...
1998 Sep 01
0
R-beta: Re: new platform
...because it is not a
Greg> binary, and if I do R -d then I don't get the emacs extras.
Make a symbolic link from your current directory to
$RHOME/bin/R.binary then create a file .gdbinit in the current
directory. Add the lines
set env RHOME /usr/lib/R
set env R_PAPERSIZE letter
set env R_PRINTCMD lpr
to the .gdbinit file. (Substitute your values for these variables.)
At this point you can type
M-x gdb <RET> R.binary <RET>
to start a gdb session running R.
If you want to set a breakpoint in compiled code that is dynamically
loaded from a library, there is a trick you can use....
2014 Apr 24
1
50% performance of custom R build compared to PPA R for a command
...b/R/lib -lR
My install script for the local build is based on Dirk's script [1].
In particular, my configure command is:
R_PAPERSIZE=letter R_BATCHSAVE="--no-save --no-restore"
R_BROWSER=xdg-open PAGER=/usr/bin/pager PERL=/usr/bin/perl
R_UNZIPCMD=/usr/bin/unzip R_ZIPCMD=/usr/bin/zip
R_PRINTCMD=/usr/bin/lpr LIBnn=lib AWK=/usr/bin/awk CC="gcc"
CFLAGS="-ggdb -pipe -std=gnu99 -Wall -pedantic" CXX="g++"
CXXFLAGS="-ggdb -pipe -Wall -pedantic" FC="gfortran" F77="gfortran"
MAKE="make -j$NJOBS" "${repoDir}/configure"...
1998 Jan 15
1
debugging dynamically loaded code
How can I debug code that I load at runtime?
Currently I do the following:
load R.binary into gdb
run
load shared object code using dyn.load()
quit the R process
from then on gdb seems to be smart enough such that the source code
of the .so file is available and I can set breakpoints etc.
however, when I restart the R process I get:
(gdb) break printing.c:7
Breakpoint 1 at 0x407af036:
2010 Jun 08
3
Question on trying to build R 2.11.1 on Tru64(aka OSF1) system
...ariables, uncomment the VAR=DEFAULT
## lines and set DEFAULT according to your needs.
## See etc/Renviron.in for further variables you may wish to set.
## The command used to spool PostScript files to the printer.
## If unspecified, the system will look for either 'lpr' or 'lp'.
## R_PRINTCMD=lpr
R_PRINTCMD=lpr
## The paper size for the local (PostScript) printer.
## It must either be left blank or set to one of 'a4' or 'letter'.
## If left blank the system will use 'a4'.
## R_PAPERSIZE=a4
R_PAPERSIZE=letter
## Set the default behavior of R when ending a sessio...
2014 Jul 25
1
Multiple -g flags in R CMD SHLIB
Does anybody know why two "-g" flags appear in the call to gcc in R CMD
SHLIB
Example:
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic *-g* -O2
-fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -D_FORTIFY_SOURCE=2 *-g* -c c_file1.c -o
c_object1.o
Surely it need only be listed once?
Alan
[[alternative HTML version deleted]]
2015 Oct 14
0
gcc ubsan alignement test --minimal gcc version?
...rind
x11proto-core-dev xauth xdg-utils xfonts-base xvfb zlib1g-dev
cd /tmp
svn co http://svn.r-project.org/R/trunk R-devel
cd /tmp/R-devel
R_PAPERSIZE=letter R_BATCHSAVE="--no-save --no-restore"
PAGER=/usr/bin/pager PERL=/usr/bin/perl R_UNZIPCMD=/usr/bin/unzip
R_ZIPCMD=/usr/bin/zip R_PRINTCMD=/usr/bin/lpr LIBnn=lib
AWK=/usr/bin/awk CFLAGS="-pipe -std=gnu99 -Wall -pedantic -O2"
CXXFLAGS="-pipe -Wall -pedantic -O2" CC="gcc
-fsanitize=address,undefined" CXX="g++ -fsanitize=address,undefined"
CXX1X="g++ -fsanitize=address,undefined"...
1998 Sep 11
2
R-beta: compiling problems under DU4.0D
I've down loaded R version 0.62.3 .
After packing it out on my Digital personal workstation running DU4.0D
i configure using the command
"R_PRINTCMD=ppr CC=cc CFLAGS="-O" PERL=/local/bin/perl5 ./configure --prefix=/local/math"
after this I'm trying to make the package and issue the command "make"
at the end of this process I get the following error:
make[3]: Entering directory `/local/ttmp/R-0.62.3/src/main'...
2015 Oct 19
1
R 3.2.2 - make check and install package hang
.../cm/shared/apps/R/3.2.1/lib64/R
R_INCLUDE_DIR /cm/shared/apps/R/3.2.1/lib64/R/include
R_LIBS_SITE
R_LIBS_USER ~/R/x86_64-unknown-linux-gnu-library/3.2
R_PAPERSIZE a4
R_PDFVIEWER /usr/bin/xdg-open
R_PLATFORM x86_64-unknown-linux-gnu
R_PRINTCMD lpr
R_RD4PDF times,hyper
R_SESSION_TMPDIR /tmp/Rtmphn5m15
R_SHARE_DIR /cm/shared/apps/R/3.2.1/lib64/R/share
R_SYSTEM_ABI linux,gcc,gxx,gfortran,?
R_TEXI2DVICMD /usr/bin/texi2dvi
R_UNZIPCMD /usr/bin/unzip
R_ZIPCMD...
2015 Oct 13
2
gcc ubsan alignement test --minimal gcc version?
Dear All,
I'm trying to implement the section of the manual pertaining to the
gcc-ubsan test
carried by CRAN on my local computer (ubuntu 14.04):
http://www.stats.ox.ac.uk/pub/bdr/memtests/gcc-UBSAN/README.txt
I was wondering whether someone could tell what the minimal version
of the gcc tool chain needed to run the gcc-ASAN and gcc-UBSAN alignment
tests on ones local