Displaying 10 results from an estimated 10 matches for "r_cmd".
Did you mean:
_cmd
2020 Jun 23
4
Restrict package to load-only access - prevent attempts to attach it
...under 'Depends'. I
can document this and hope that's how it's going to be used. But, I'd
like to make it explicit that this API should be used via imports or
::. One approach I've considered is:
.onAttach <- function(libname, pkgname) {
if (nzchar(Sys.getenv("R_CMD"))) return()
stop("Package ", sQuote(pkgname), " must not be attached")
}
This would produce an error if the package is attached. It's
conditioned on the environment variable 'R_CMD' set by R itself
whenever 'R CMD ...' runs. This is done to avoid...
2010 Jun 09
2
Question on trying to build R 2.11.1 on Tru64(aka OSF1)
...ard/R-2.11.1/bin/Rcmd: @: not found
gnumake[2]: *** [MASS.ts] Error 1
gnumake[2]: Leaving directory `/usrX/JunqueYard/R-2.11.1/src/library/Recommended'
Rcmd for this build:
#!/usr/local/bin/bash
#
# ${R_HOME}/bin/Rcmd
## Shell script wrapper for all R CMD commands.
## For internal use only.
R_CMD="${R_HOME}/bin/Rcmd"
export R_CMD
R_VERSION=2.11.1
export R_VERSION
R_OSTYPE="unix"
export R_OSTYPE
## Add 'share/perl' to the perl library path.
if test -n "${PERL5LIB}"; then
PERL5LIB="${R_SHARE_DIR}/perl:${PERL5LIB}"
export PERL5LIB
else
P...
2020 Jul 17
0
Restrict package to load-only access - prevent attempts to attach it
...> can document this and hope that's how it's going to be used. But, I'd
> like to make it explicit that this API should be used via imports or
> ::. One approach I've considered is:
>
> .onAttach <- function(libname, pkgname) {
> if (nzchar(Sys.getenv("R_CMD"))) return()
> stop("Package ", sQuote(pkgname), " must not be attached")
> }
>
> This would produce an error if the package is attached. It's
> conditioned on the environment variable 'R_CMD' set by R itself
> whenever 'R CMD ...'...
2004 Jan 28
1
build fails to build help for nlme
...llowing error
when it tries to build the help for 'nlme':
<snip>
ranef.lme text html latex example
reStruct text html latex example
/home/sfalcon/sw/R-related/R-1.8.1/bin/INSTALL: line 1: 8133 Segmentation fault ${R_CMD} perl "${R_HOME}/share/perl/build-help.pl" ${build_help_opts} "${pkg_dir}" "${lib}" "${R_PACKAGE_DIR}" "${pkg_name}"
ERROR: building help failed for package 'nlme'
** Removing '/home/sfalcon/sw/R-related/R-1.8.1/library/nlme'
make[2]...
2004 May 10
1
Solve for "Please set TMPDIR to a valid temporary directory"
...include $TMP or $TEMP in Var.pm. I did the latter, and it works for me.
I include the fix below.
if($OSTYPE eq "windows"){
## DON'T add R_HOME/bin here: it might contain spaces and will not
## work using system() under Windows 98.
$R_EXE = "Rterm.exe";
$R_CMD = "Rcmd.exe";
getenv("TMPDIR", "TMP", "TEMP", "C:/TEMP"); # Edited to include TMP
and TEMP
print "tmpdir is $TMPDIR\n"; # Edited to include print
if (-d $TMPDIR) {
$TMPDIR = Win32::GetShortPathName($TMPDIR) if $TMPDIR =~ /...
2017 Apr 06
3
failure of make check-all
...t; "PATH"
< [39] "PWD" "QT4_IM_MODULE"
< [41] "QT_ACCESSIBILITY" "QT_IM_MODULE"
< [43] "QT_LINUX_ACCESSIBILITY_ALWAYS_ON" "R_ARCH"
< [45] "R_BROWSER" "R_BZIPCMD"
< [47] "R_CMD" "R_DOC_DIR"
< [49] "R_ENVIRON" "R_ENVIRON_USER"
< [51] "R_GZIPCMD" "R_HOME"
< [53] "R_INCLUDE_DIR" "R_LIBS"
< [55] "R_LIBS_SITE" "R_LIBS_USER"
< [57] "R_OSTYPE&quo...
2017 Apr 06
0
failure of make check-all
...uot;
> < [39] "PWD" "QT4_IM_MODULE"
> < [41] "QT_ACCESSIBILITY" "QT_IM_MODULE"
> < [43] "QT_LINUX_ACCESSIBILITY_ALWAYS_ON" "R_ARCH"
> < [45] "R_BROWSER" "R_BZIPCMD"
> < [47] "R_CMD" "R_DOC_DIR"
> < [49] "R_ENVIRON" "R_ENVIRON_USER"
> < [51] "R_GZIPCMD" "R_HOME"
> < [53] "R_INCLUDE_DIR" "R_LIBS"
> < [55] "R_LIBS_SITE" "R_LIBS_USER"
> < [57] &qu...
2004 Jul 14
1
RCMD fails in Windows XP
I have setup R 1.9.1 on my Dell laptop running windows XP. I have
installed it to C:\R\rw1091. Rgui runs fine, but Rcmd fails if run with
parameters (i.e. install). The windows dialog box cheerfully says "R for
Windows front-end has encountered a problem and needs to close. We are
sorry for the inconvenience." Running the visual C++ debugger informs me
that there is an unhandled
2003 Jun 18
3
Multiple graph sheets
In Splus the code
test.lm <- lm(y ~ x, data = test.data)
plot(test.lm)
generates a graphics window that contains
multiple graph sheets that one may choose
from via the "page" tabs at the bottom of
the window.
Is there a way to do this sort of thing in
R? As another example, I have some repeated
measures data with continuous outcomes and
have been working with the nlme library in
2010 Jun 08
3
Question on trying to build R 2.11.1 on Tru64(aka OSF1) system
Hello,
I am trying to build the R-2.11.1 software for university faculty to use in
research projects on a DEC/Compaq/HP AlphaServer model GS160 16CPU/64GB memory
running Tru64Unix aka OSF1 version 5.1B-5.
Is it known whether it is possible to build the R-2.11.1 software on the
platform I am using?
In my attempts to build the R-2.11.1 software, I first used the native C
and Fortran 77/90/95