search for: r_test

Displaying 8 results from an estimated 8 matches for "r_test".

Did you mean: _test
2010 Apr 18
2
how to use Excel VBA's Shell() to call and execute R file
I have an R file R_test.R saved in C:\R_test folder. The R_test.R looks like this: setwd("C:/R_test") rnorm(100) write(rnorm(100),"data.txt") q(save="no", runLast = F) Next I would like use an Excel VBA/macro Shell() function to call R and execute R_test.R file. The syntax is *Shell(path...
2001 Jul 12
1
Sys.getenv
...8: Under Solaris I do setenv dendro_us hoffmann echo $dendro_us gives back: hoffmann which is correct. When in R I do: Sys.getenv("dendro_us") I get dendro_us "" which is NOT correct: Inverse effect (taken from help of Sys.getenv) Under R: print(Sys.putenv("R_TEST"="testit", ABC=123)) [1] TRUE TRUE Sys.getenv("R_TEST") gives back: R_TEST "testit" which seems correct. When in Solaris I do: echo $R_TEST R_TEST: Undefined variable. which is NOT correct: Third type of behaviour: echo $HOME /home/woodstock/hoffmann and...
2008 Jun 17
2
Calling functions
...nction and saved the file as Xtabs.R, in a central place on a network so others will be able ot use the function, My question is how do i call this function? I've tried to chance the working directory, and tried to load it via; > library(Xtabs, lib.loc="//filer/common/technical/surveys/R_test") but neither seem to work? the function inside is called CrossTable. Mant thanks in advance [[alternative HTML version deleted]]
2004 May 24
1
ROracle on RHEL 3 x86_64
Hello, I am trying to configure my system with ROracle. I am running RHEL 3 AS x86_64. I have the Oracle client 9.2.0.4 x86_64. I have successfully compiled and run both R-1.8.1 and R-1.9.0 (tried ROracle on both installations). I am using DBI 1.8 and ROracle 0.5-4. I have used both the default Redhat installed gcc 3.2.3 and gcc 3.4. I am able to compile ROracle successfully with the
2020 Mar 19
2
R CMD check --as-cran attempts to hide R_LIBS_USER but fails
...=en _R_CHECK_INTERNALS2_=1 R_LIBS=/tmp/hb/RtmpQj4hXb/RLIBS_26e766e32c18 R_ENVIRON_USER='' R_LIBS_USER='' R_LIBS_SITE='no_such_dir' '/usr/lib/R/bin/R' --vanilla --slave < '/tmp/hb/RtmpQj4hXb/file26e763770b6a' `-R --vanilla --slave `-sh -c LANGUAGE=C R_TESTS=startup.Rs '/usr/lib/R/bin/R' CMD BATCH --vanilla 'env.R' 'env.Rout' `-sh /usr/lib/R/bin/BATCH --vanilla env.R env.Rout `-R -f env.R --restore --save --no-readline --vanilla `-sh -c 'pstree' --arguments --long --show-parents 10558 `-pstree...
2020 Mar 19
1
R CMD check --as-cran attempts to hide R_LIBS_USER but fails
..._LIBS=/tmp/hb/RtmpQj4hXb/RLIBS_26e766e32c18 R_ENVIRON_USER='' > | R_LIBS_USER='' R_LIBS_SITE='no_such_dir' '/usr/lib/R/bin/R' --vanilla > | --slave < '/tmp/hb/RtmpQj4hXb/file26e763770b6a' > | `-R --vanilla --slave > | `-sh -c LANGUAGE=C R_TESTS=startup.Rs '/usr/lib/R/bin/R' CMD BATCH > | --vanilla 'env.R' 'env.Rout' > | `-sh /usr/lib/R/bin/BATCH --vanilla env.R env.Rout > | `-R -f env.R --restore --save --no-readline --vanilla > | `-sh -c 'pstree' --arguments --long --show-pa...
2020 Mar 19
0
R CMD check --as-cran attempts to hide R_LIBS_USER but fails
...CK_INTERNALS2_=1 | R_LIBS=/tmp/hb/RtmpQj4hXb/RLIBS_26e766e32c18 R_ENVIRON_USER='' | R_LIBS_USER='' R_LIBS_SITE='no_such_dir' '/usr/lib/R/bin/R' --vanilla | --slave < '/tmp/hb/RtmpQj4hXb/file26e763770b6a' | `-R --vanilla --slave | `-sh -c LANGUAGE=C R_TESTS=startup.Rs '/usr/lib/R/bin/R' CMD BATCH | --vanilla 'env.R' 'env.Rout' | `-sh /usr/lib/R/bin/BATCH --vanilla env.R env.Rout | `-R -f env.R --restore --save --no-readline --vanilla | `-sh -c 'pstree' --arguments --long --show-parents 10558 |...
2017 Sep 17
0
FW: CRAN check errors: drake 4.1.0 on r-devel-linux-x86_64-debian-clang
...t statistik.tu-dortmund.de> wrote: > Thanks, we see in reverse dependencies: > > Package: drake > Check: tests > New result: ERROR >???? Running ?testthat.R? [55s/138s] >?? Running the tests in ?tests/testthat.R? failed. >?? Complete output: >???? > Sys.setenv("R_TESTS" = "") >???? > >???? > library(testthat) >???? > library(drake) >???? > >???? > test_check("drake") >???? 1. Failure: function_dependencies() works on :: and ::: > (@test-namespaced.R#19) >???? sort(find_namespaced_functions(crazy)) n...