Displaying 20 results from an estimated 10377 matches for "expanded".
2017 May 24
2
reg-tests-1d.R fails in r72721
On 2017-05-24, Duncan Murdoch wrote:
>
> I think the test is wrong because in the first case you are working in a
> locale where that character is representable. In my locale it is not, so x1
> is converted to UTF-8, and everything compares equal.
>
> An explicit conversion of x1 to UTF-8 should fix this, i.e. replace
>
> x1 <- path.expand(paste0("~/",
2003 Nov 08
2
malloc errors? out of memory with many files on HP-UX
Hi, folks.
I've started getting these errors from rsync, and any help would be
appreciated:
>ERROR: out of memory in string_area_new buffer
>rsync error: error allocating core memory buffers (code 22) at util.c(115)
>ERROR: out of memory in string_area_new buffer
>rsync error: error allocating core memory buffers (code 22) at util.c(115)
>ERROR: out of memory in
2015 Aug 12
4
Splitting 'expand' into 'split' and `expand`.
...erent ways to
legalize an action (ignoring an already legal action).
- Expansion
- Promotion
- Custom
Expanding a node will lead to one of two things - the operation will be
split into several equivalent smaller operations (i.e. 64-bit mul => two
32-bit multiplications), or it will be expanded into a different
operation(s) (i.e. SDIVREM => SDIV + SREM or a runtime library call).
This can be ambiguous - should a 128-bit SDIVREM be expanded into two
64-bit SDIVREMs or a 128-bit libcall.
It would be useful for LLVM to distinguish between these two operations -
i.e. instead of LegalizeA...
2006 Dec 22
5
[LLVMdev] in Cygwin problems
How to solve this problem?
$ make
make[1]: Entering directory `/tmp/llvm3/llvm/build/libiberty'
make[2]: Entering directory `/tmp/llvm3/llvm/build/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/llvm3/llvm/build/libiberty/testsuite'
make[1]: Leaving directory `/tmp/llvm3/llvm/build/libiberty'
make[1]: Entering directory
2005 Jan 01
1
Use of expand.model.frame()
Dear list members,
I've encountered a problem using expand.model.frame() with a model specified
without an explicit data argument. To illustrate (R 2.0.1 under Windows XP):
> x <- rnorm(10)
> y <- x + rnorm(10)
> mod <- lm(y ~ x)
> z <- 1:10
> expand.model.frame(mod, "z")
Error in eval(expr, envir, enclos) : Object "y"
2015 Aug 13
2
Splitting 'expand' into 'split' and `expand`.
Are you primarily trying to avoid Expand being implemented as a lib call
with a larger type?
No - I’m stuck in this situation:
- 8-bit addition is legal
- 16-bit addition is illegal, should expand into an add and an add with
carry
- A few operations support 16-bit operands - the 16-bit DREGS register
class
The legalizer sees that 16-bit addition should expand. It sees that there
2017 May 24
1
reg-tests-1d.R fails in r72721
On 2017-05-24, Duncan Murdoch wrote:
[...]
> Okay, how about if we weaken the test?
[...]
> try
>
> stopifnot(path.expand(paste0("~/", filename)) ==
> paste0(path.expand("~/"), filename))
>
Nope:
> ## path.expand shouldn't translate to local encoding PR#17120
> filename <- "\U9b3c.R"
>
>
2012 Dec 27
0
Suggestion: 'method' slot for expand.grid() (incl. diffs)
Dear expeRts,
The order in which the variables vary in expand.grid() is often unintuitive. I
would like to suggest a 'method' slot for expand.grid() which requires only very
little changes (100% backward compatible) and which allows one to control this
order. Please find attached diffs against R-devel.
Cheers,
Marius
### ./src/library/base/R/expand.grid.R
2008 Jun 23
3
expand.grid() function
Hi,
I have one question on expand.grid() function.
When I write following syntax :expand.grid(c("u", "l"), c("u", "l"), c("u", "l")) I get following as desired :
Var1 Var2 Var3
1 u u u
2 l u u
3 u l u
4 l l u
5 u u l
6 l u l
7 u l l
8 l l l
However
2006 Feb 08
1
expand.grid without expanding
Dear list,
I've recently came across a problem that I think I've solved and that I wanted
to share with you for two reasons:
- Maybe others come across the same problem.
- Maybe someone has a much simpler solution that wants to share with me ;-)
The problem is as follows: expand.grid() allows you to generate a data.frame
with all combinations of a set of values, e.g.:
>
2019 Jun 07
2
[R] Open a file which name contains a tilde
> On Jun 6, 2019, at 2:04 PM, Richard O'Keefe <raoknz at gmail.com> wrote:
>
> How can expanding tildes anywhere but the beginning of a file name NOT be
> considered a bug?
>
>
I think that that IS what libreadline is doing if one allows a whitespace separated list of file names.
As reported in R-help,
https://www.mail-archive.com/r-help at
2017 May 24
2
reg-tests-1d.R fails in r72721
Hi,
I am failing make check in r72721 at the end of reg-tests-1d.R. The
relevant block of code is
## path.expand shouldn't translate to local encoding PR#17120
filename <- "\U9b3c.R"
print(Encoding(filename))
x1 <- path.expand(paste0("~/", filename))
print(Encoding(x1))
x2 <- paste0(path.expand("~/"), filename)
print(Encoding(x2))
stopifnot(identical(
2008 Sep 23
1
Generalising to n-dimensions
Hi R-helpers,
I have two queries relating to generalising to n dimensions:
What I want to do in the first one is generalise the following statement:
expand<-expand.grid(1:x[1],1:x[2],...1:x[n]) where x is a vector of integers
and expand.grid gives every combination of the set of numbers, so for
example, expand.grid(1:2, 1:3) takes 1,2 and 1,2,3 and gives 1,1 2,1
1,2 2,2 1,3 2,3
My x
2015 May 15
1
Re: [PATCH v2 1/4] resize: Remove unnecessary 'prog' from error message.
On Friday 15 May 2015 11:40:56 Richard W.M. Jones wrote:
> The common error function already prints the program name, so
> we don't need to print it twice.
>
> Before:
>
> $ virt-resize --expand ""
> virt-resize: error: virt-resize: empty --expand option
>
> After:
>
> $ virt-resize --expand ""
> virt-resize: error: empty
2013 Nov 19
5
xenwatch: page allocation failure: order:4, mode:0x10c0d0 xen_netback:xenvif_alloc: Could not allocate netdev for vif16.0
Hi Wei,
I ran into the following problem when trying to boot another guest after less than a day of uptime.
(the system started 15 guests at boot already which went fine). dom0 is allocated a fixed 1536M.
Both host as pv guests run the same kernel, some hvm''s run a slightly older kernel (3.9 f.e.)
The are quite some granttable messages in xl dmesg, i also included these and a
2012 Oct 31
3
expand.grip for permutations
if i were to have a block size of 4 people and i want to assign a treatment
combination to the entire block, there would be 16 different treatment
combinations (TTTT, TTTP, TTPP, PTTP, etc.)
i am trying to get all 16 permutations and i am able to use this code below.
drugs=c('P','T');
comb=expand.grid(drugs,drugs,drugs,drugs)
for a block size of 3 the code would be
2020 Mar 28
0
[klibc:update-dash] dash: expand: Fix trailing newlines processing in backquote expanding
Commit-ID: 42c84c0c2ed8f5b9a81bd70582edfa9d7ead08be
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=42c84c0c2ed8f5b9a81bd70582edfa9d7ead08be
Author: Nikolai Merinov <n.merinov at inango-systems.com>
AuthorDate: Mon, 29 Apr 2019 19:13:37 +0500
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 21:42:55 +0000
[klibc] dash: expand:
2006 Dec 22
0
[LLVMdev] in Cygwin problems
On Sat, 23 Dec 2006, Roman wrote:
> How to solve this problem?
Java isn't supported. Use --enable-languages=c,c++
-Chris
> $ make
> make[1]: Entering directory `/tmp/llvm3/llvm/build/libiberty'
> make[2]: Entering directory `/tmp/llvm3/llvm/build/libiberty/testsuite'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
2003 May 08
2
Expanding upon expand.grid()
Hello All:
The function expand.grid() does nearly exactly what I want for
permutation tests I wish to carry out, and it does so quickly when the
number is kept small as in the example below:
expand.grid(rep(list(c(-1, 1)), 3))
Var1 Var2 Var3
1 -1 -1 -1
2 1 -1 -1
3 -1 1 -1
4 1 1 -1
5 -1 -1 1
6 1 -1 1
7 -1 1 1
8 1 1 1
Understandably,
2007 May 14
2
[LLVMdev] Compiling llvm-gcc in linux/ppc
Hi everyone, I am using linux/ppc and after porting llvm's jit for this
architecture, I am currently trying to compile llvm-gcc on it.
I have gcc 4.1.1 and use llvm-gcc from cvs.
Compilation fails and the message is:
gcc -O2 -DIN_GCC
-DDEFAULT_TARGET_MACHINE=\"powerpc-unknown-linux-gnu\" -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
-Wno-long-long