Displaying 20 results from an estimated 4000 matches similar to: "R help"
2024 Jul 30
1
C API - no NULL pointer guarantee?
Erez,
I think the API is very explicit about this, NULL is not an accepted input for any function taking SEXP by design. The special case of try*Eval() return values can be taken as a case where the resulting object is not actually SEXP but rather a special type which can be NULL (=failure) or SEXP. It may be even perhaps useful to declare it as a separate type to make this clearer, but I
2024 Jul 30
1
C API - no NULL pointer guarantee?
Thank you Ivan,
At this point, without it being documented explicitly, I tend to lean on the safe side.
If the non-null assumption is ever incorrect, on debug and safe builds unwrapping is an assert that will guarantee to crash R.
While the source code has plenty of NULL checks, also for some SEXP, it's hard to tell just from grepping if any are related to the public API or not.
Secondly
2005 Nov 01
3
(no subject)
Hi
I need an advise if any one can help me.
i have mass of data in 2 array A and B:
A = 0 1 0 0 1 1 0 0
B = 0 0 0 1 0 1 1 1
and i have 3 rules to merge them into 3rd array C:
if A[i] + B[i] == 0 then C[i]=0
if A[i] + B[i] == 1 then C[i]=1
if A[i] + B[i] == 2 then C[i]=2
it looks easy but with the regular way (loop) with large data it takes days (i test it).
If any one can advise me what to do
2010 Jun 08
2
Conditions for using Speex
Hello Speex.
We are a small Canadian company currently researching the possibility of
using Speex for an iPhone application.
We wonder if Speex can be used to develop paid applications and if you
require any fees or other payments if it used commercially
Thank you.
--
Erez T Yanuv Barzilay
Digital Media | Interactive Design
Graduate Student
Center for Digital Media
577 Great Northern Way
2009 Sep 23
1
virt-install error - failed to connect
Hi all,
I installed Xen 3.4.0 on RH5.3 from the source, It is working fine (Dom0),
but when i tried to create new guest (hvm) by the virt-install i got the
next message:
Wed, 23 Sep 2009 12:02:15 ERROR virConnectOpen() failed
Traceback (most recent call last):
File "/usr/sbin/virt-install", line 560, in ?
main()
File "/usr/sbin/virt-install", line 348, in main
2009 Feb 08
2
Graphic boot ...
Hi Peter and Group,
First, thanks for great boot system.
My goal is to create a boot process that is clean from any text
message and shows simple graphics at startup.
That graphic image will last until the X server is starting (with the
same background, might be with different resolution).
My reason is, that many end users prefer graphics on simple cryptic
text messages.
Messages will be
2024 Jul 29
1
C API - no NULL pointer guarantee?
? Sat, 27 Jul 2024 14:36:20 +0300
"Erez Shomron" <r-mails at erezsh.org> ?????:
> I'm working on bindings for the API (for zig), and was wondering if
> the R's C API guarantees it won't return null pointers? The only
> reference I found in the "Writing R Extensions" manual where this not
> the case is `R_tryEval` and `R_tryEvalSilent`.
Based on
2007 Mar 02
3
Reformulated matrices dimensions limitation problem
First I wanted to thank both Marc Schwartz Greg Snow and for their reply.
Then I needed to add a level of complexity to the problem.
I would be able to create the biggest possible matrix.
In other way does it exist a method to ask smthing like the following :
max number of rows for a matrix if column=x?
Thank you
------------------------------------------------------
Passa a Infostrada.
2003 Sep 22
3
journal buffer_credits problem
Hi, we're working on a stackable versioning file system for 2.4.x.
Versioning can easily create lots of files for a file that gets modified
frequently, and our current design puts all versions of a file in the same
directory as the main file. We are therefore evaluating how stable and
efficient different combinations of file systems would be in this scenario.
We've run our versionfs on
2019 Sep 09
3
[PATCH] v2v: rhv-upload-plugin - improve wait logic after finalize
This is a patch which Daniel Erez wrote originally. I have modified
it only to fix a small bug in the debug() statement, and Ilanit kindly
tested it here:
https://bugzilla.redhat.com/show_bug.cgi?id=1680361#c38
Rich.
2018 Jun 05
2
[PATCH] v2v: -o rhv-upload: Set inactivity timeout (RHBZ#1586198).
This increases the inactivity timeout for transfers from the default
(60 seconds) to 1 hour, so that we should never hit it for ordinary
transfers.
Note this requires oVirt >= 4.3.0 although the same change was
backported to the 4.2 branch in later releases. The corresponding
oVirt fix was in https://bugzilla.redhat.com/1563278
I also replaced the deprecated ‘image’ parameter with ‘disk’.
2024 Jul 05
1
Bug? plot.formula does need support plot.first / plot.last param in plot.default
That definitely looks like a bug, but not one that anyone will be eager
to fix. It's very old code that tried to be clever, and that's the
hardest kind of code to fix.
Remember Kernighan's Law: "Everyone knows that debugging is twice as
hard as writing a program in the first place. So if you?re as clever as
you can be when you write it, how will you ever debug it?"
2010 Apr 22
2
pci-attach - HOWTO
Hi,
I tried to attach passrough io device to domU, the command (ended successfully in dom0), but when I entered the domU and typed the "lspci" command I didn''t see the new device, although the dom0 removed it from the "pci-list-assignable-devices".
When I tried to detach it from the domU, the detach command returned with timeout error.
What did I miss? perhaps I
2024 Jul 06
1
Bug? plot.formula does need support plot.first / plot.last param in plot.default
? Fri, 05 Jul 2024 14:35:40 +0300
"Erez Shomron" <r-mails at erezsh.org> ?????:
> This works as expected:
> with(mtcars, plot(wt, mpg, plot.first = {
> plot.window(range(wt), range(mpg))
> arrows(3, 15, 4, 30)
> }))
I think you meant panel.first, not plot.first. At least I cannot find
any mention of plot.first in the R source code. In this example,
2018 Mar 26
1
Re: [PATCH v7 6/6] v2v: Add -o rhv-upload output mode (RHBZ#1557273).
On Mon, Mar 26, 2018 at 09:27:25AM +0000, Daniel Erez wrote:
> You can get it from '.storage.type' on the StorageDomain object.
> E.g.
> sd = connection.system_service().storage_domains_service().list()[0]
> sd.storage.type -> nfs/iscsi/etc
Is there a defined set of what can be returned, and/or a way
to find out if the storage is "block-like" or not?
Alternately
2018 Aug 07
1
[PATCH] v2v: -o rhv-upload: Properly replace SD_UUID in OVF (RHBZ#1612653).
The @SD_UUID@ pattern was not being replaced correctly.
Thanks: Daniel Erez.
---
v2v/rhv-upload-createvm.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/v2v/rhv-upload-createvm.py b/v2v/rhv-upload-createvm.py
index a34627ec8..1d0e8c95d 100644
--- a/v2v/rhv-upload-createvm.py
+++ b/v2v/rhv-upload-createvm.py
@@ -70,7 +70,7 @@ sds_service =
2018 Jul 24
1
Re: [PATCH] v2v: rhv plugin - fix DC search string
On Tue, Jul 24, 2018 at 7:27 PM Richard W.M. Jones <rjones@redhat.com>
wrote:
> On Tue, Jul 24, 2018 at 07:16:10PM +0300, Daniel Erez wrote:
> > Search for DC by 'storage.name=' to make it explicit.
> > I.e. "storage=" uses regex, so similar names can be
> > found in the search query. For example, searching for
> > a domain named FCSD, will find
2009 Feb 05
3
impossible packet length ...
Hi,
on 2 different servers, running 7.1-stable + zfs, I get this
error rather frequently:
Feb 5 17:01:03 warhol-00 kernel: impossible packet length (543383918) from
nfs server sunfire:/dist
Feb 5 17:01:03 warhol-00 kernel: impossible packet length (1936028704) from
nfs server sunfire:/dist
Feb 5 17:01:03 warhol-00 kernel: impossible packet length (1869363744) from
nfs server sunfire:/dist
2006 Jan 24
1
fitting generalized linear models using glmmPQL
Hi, I have tried to run the following (I know it's a huge data set but
I tried to perform it with a 1 GB RAM computer):
library(foreign)
library(MASS)
library(nlme)
datos<-read.spss(file="c:\\Documents and
Settings\\Administrador\\Escritorio\\datosfin.sav",to.data.frame=TRUE)
str(datos)
`data.frame': 1414 obs. of 5 variables:
$ POB : Factor w/ 6 levels
2024 Jul 27
1
C API - no NULL pointer guarantee?
Hello,
I'm working on bindings for the API (for zig), and was wondering if the R's C API guarantees it won't return null pointers?
The only reference I found in the "Writing R Extensions" manual where this not the case is `R_tryEval` and `R_tryEvalSilent`.
Otherwise it's unclear.
The reason I care about this is syntax. Because I don't know whether SEXPs are NULL or