Displaying 4 results from an estimated 4 matches for "mustexist".
2010 Oct 18
0
wishlist: system.file(..., mustExist = TRUE)
...N")
if (!identical(theFile, ""))
scan(what="", sep="\n", theFile)
else
stop("Cannot find file \"DESCRIPTION\" in package \"base\"")
but that would be pretty ugly in a help file.
What do you think of adding an argument mustExist=FALSE or
mustFind=FALSE to system.file() such that if it is TRUE and
no file is found then system.file throws an error? Then my
example could be
scan(what="", sep="\n", system.file("DESCRIPTION", mustExist=TRUE))
and it would throw an informative error message inst...
2006 Feb 06
1
Evaluate output after each rep()
Hi R-Help,
I'm trying a develop a test simulation where i evaluate the probability
of not getting a value of 100 from the function rbinom(6000, 200, .5)
[indeed, a very small probability]. At the end of each rep, I would
like to evaluate the output, continue with the loop if the output
contains the value 100, stop if the output lacks a 100.
How do I get R to evaluate the output after
2006 Jul 26
2
Install R-patched_2006-07-13 on i386-pc-solaris2.10 with Sun Studio 11
...../src/R-patched_2006-07-24/configure
--prefix=/opt/R-2.3.1-patched_2006-07-24-Sun_Studio_11 --with-readline
--disable-mbcs R_PAPERSIZE=letter --disable-rpath --with-bzlib
--with-zlib --with-spcre --with-tcltk --disable-R-profiling
--disable-nls
Error in parseNamespaceFile(package, package.lib, mustExist = FALSE) :
subscript out of bounds
Execution halted
*** Error code 1
The following command caused the error:
(cat
../../../../src/R-patched_2006-07-24/src/library/tools/R/makeLazyLoad.R;
\
echo "makeLazyLoading(\"tools\")") | \
R_DEFAULT_PACKAGES=NULL LC_COLLATE=C ....
2011 Jan 01
1
[LLVMdev] "nmake check" doesn't work for MSVC
...h(item)
> File "M:\Development\Source\LLVM\utils\lit\lit\main.py", line 183, in search
> cache[path] = res = search1(path)
> File "M:\Development\Source\LLVM\utils\lit\lit\main.py", line 174, in search1
> cfg = TestingConfig.frompath(cfgpath, None, litConfig, mustExist = True)
> File "M:\Development\Source\LLVM\utils\lit\lit\TestingConfig.py", line 44, in frompath
> exec f in cfg_globals
> File "M:\Development\x64-msvc\llvm\test\lit.site.cfg", line 19, in <module>
> lit.load_config(config, "M:/Development/Source/...