Displaying 20 results from an estimated 4000 matches similar to: "R crashing after successfully running compiled code"
2013 Nov 03
1
Rtools for writing packages
I apologize for what is likely a stupid question - I HAVE looked through
"Writing R Extensions" and HAVE gone through existing help requests, but
have not yet found an answer. I'm sorry if I've missed something obvious.
I am planning on building a package in the near future. I have a number of
C programs that I have written to interface with R (compiled using the R
SHLIB, run
1997 May 29
2
R-beta: WISH: For dyn.load()ing, I'd like is.loaded(.) , symbol.C, symbol.For
In S(plus), I can write functions using code fragments like
if(!is.loaded(symbol.C("my_C_fun")))
dyn.load("......../my_C_fun.o")
r <- .C("my_C_fun",
x = x,
n = n,
...
)
which I would like to have in R, too.
The S-plus help page on this subject says :
S+>> Code Availability
S+>>
S+>> DESCRIPTION:
S+>> is.loaded
2004 Nov 23
2
Quadratic curve on a loop
Dear R community, once again I request your generous help on an R issue
I cannot seem to figure out.
I am trying to do some analysis for multiple sites, in my example I am
using only two, but the same will done on many sites. It's just ONE
line, so I hope somebody can give a me a hand by email.
Look at the loop to make the plot x ~ y. If the curve function is
removed from the loop
2009 Oct 31
3
nut files empty
I just installed nut in Debian and all of my files are missing. I'm
not even sure what all files are required. I hope someone can give me
the list of the files and I can create them. Also if there is any
pertinent info I need.
Thanks
2004 Apr 02
1
cumsum() by subgroup
I need to do a simple cumulative sum by group and add the result to the
data. I found an earlier thread in the help files with a few suggestions.
Somewhat, one of the suggestions does not work with "my data", and I don't
really understand why ?
The error am getting using the "my data" below is...
Error in data.frame(..., check.names = FALSE) :
arguments imply
2010 Jun 09
1
ordisurf (pkg vegan) gives implausible result
I'm having trouble with the ordisurf function in the vegan package.
I have created an ordination plot (cmdscale) of 60 samples based on
Bray-Curtis dissimilarities, and would like to overlay various soil edaphic
characteristics as possible clues to the clustering I observe in my plot.
However, I find that ordisurf creates a surface on the plot that is a
perfect, even gradient - and
2011 Sep 16
1
Mystified - comparing chron times
I have two local variables: startTime and expectedStartTime. Both are chron
related objects.
When I look at the class for the objects I can see they are of class
"times".
When I print them to the console, they both read: "09:30:00"
When I print them as.numeric(), they both read: 0.3958333
When I try and compare them: (as.numeric(startTime) ==
as.numeric(expectedStartTime)) it
2010 Sep 12
2
[LLVMdev] Subtle breaking change in LLVM 2.7 to 2.8 transition
I updated my from LLVM 2.7 to 2.8/trunk tonight and was mystified as to why
my GC plugin silently stopped working.
The problem was that the signature of the virtual function
GCMetadataPrinter::finishAssembly (and beginAssembly) changed.
This change would probably be an excellent candidate for the "gotchas"
section of the 2.8 release notes.
Thanks!
-- Ben
-------------- next part
2014 Feb 06
3
dovecot -n FATAL
Hi List,
Im new to postfix-dovecot and im mystified by the following results in
ubuntu 10.04lts
:~$ dovecot -n
# 1.2.9: /etc/dovecot/dovecot.conf
Error: ssl_key_file: Can't use /etc/ssl/private/ssl-mail.key: Permission
denied
Fatal: Invalid configuration in /etc/dovecot/dovecot.conf
~$ sudo ls -dl /etc/ssl/private/ssl-mail.key
lrwxrwxrwx 1 root root 38 2013-11-27 08:35
2009 Jan 17
2
[LLVMdev] Build problems on MinGW
Hi Anton
>> $ g++ -g tut1.cpp `llvm-config --cxxflags --ldflags --libs core` -o tut1
>> /mingw/lib/libLLVMSystem.a(Process.o):Process.cpp:(.text+0x8d):
>> undefined reference to `GetProcessMemoryInfo at 12'
>> collect2: ld returned 1 exit status
> I believe you will need additional libraries like imagehlp and psapi.
I have /lib/libimagehlp.a and /lib/libpsapi.a
2014 Aug 28
2
[virtio-dev] Re: [PATCH v2 0/4] virtio: Clean up scatterlists and use the DMA API
Il 28/08/2014 20:29, Christian Borntraeger ha scritto:
>>> >> block seems to work, with net a simple ping works, iperf causes this:
>> >
>> > I neither see the bug, nor can I reproduce it on x86_64 on KVM. I
>> > doubt that dma vs. non-dma is relevant. I tried -net user a -net tap
>> > with iperf running in both directions. I also tried
2014 Aug 28
2
[virtio-dev] Re: [PATCH v2 0/4] virtio: Clean up scatterlists and use the DMA API
Il 28/08/2014 20:29, Christian Borntraeger ha scritto:
>>> >> block seems to work, with net a simple ping works, iperf causes this:
>> >
>> > I neither see the bug, nor can I reproduce it on x86_64 on KVM. I
>> > doubt that dma vs. non-dma is relevant. I tried -net user a -net tap
>> > with iperf running in both directions. I also tried
2014 Aug 28
3
[PATCH v2 0/4] virtio: Clean up scatterlists and use the DMA API
On Thu, Aug 28, 2014 at 12:44 AM, Christian Borntraeger
<borntraeger at de.ibm.com> wrote:
> On 27/08/14 23:50, Andy Lutomirski wrote:
>> This fixes virtio on Xen guests as well as on any other platform
>> that uses virtio_pci on which physical addresses don't match bus
>> addresses.
>>
>> This can be tested with:
>>
>> virtme-run --xen
2014 Aug 28
3
[PATCH v2 0/4] virtio: Clean up scatterlists and use the DMA API
On Thu, Aug 28, 2014 at 12:44 AM, Christian Borntraeger
<borntraeger at de.ibm.com> wrote:
> On 27/08/14 23:50, Andy Lutomirski wrote:
>> This fixes virtio on Xen guests as well as on any other platform
>> that uses virtio_pci on which physical addresses don't match bus
>> addresses.
>>
>> This can be tested with:
>>
>> virtme-run --xen
2012 Mar 29
3
scalar assignment within a vector within function
Hello,
I'm trying to create a vector of r^2 values for using a function which I
will run in a "for" loop. Example:
per<-rnorm(100,.5,.2)^2
x<-rnorm(100,10,5)
y<-rnorm(100,20,5)
fr<-data.frame(x,y,per)
test<-rep(0,9)
plotter<-function(i){
temp.i<-fr[fr$per <=(i*.10),]
with(temp.i, plot(x, y, main=(i*.10),))
mod<-lm(y~x-1,data=temp.i)
2007 May 31
2
I have a Belkin F6C900.
My Belking is no longer responding to the megatec driver. I get *
Starting UPS drivers ...
Network UPS Tools - UPS driver controller 2.0.5
Network UPS Tools - Megatec protocol driver 1.5 (2.0.5)
Carlos Rodrigues (c) 2003-2006
Megatec protocol UPS not detected.
Driver failed to start (exit status=1)
* Failed to start UPS drivers!
Thank you,
Barbara Smith
--
Using Opera's
2009 Jul 09
2
Mysteriously vanishing LD_LIBRARY_PATH
Using R-2.8.0 and R-2.8.1, I get behaviour like this:
R version 2.8.0 (2008-10-20)
Copyright (C) 2008 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
[....]
> Sys.getenv("LD_LIBRARY_PATH")
LD_LIBRARY_PATH
2006 May 16
2
liquid: passing objects
I''ve got Liquid installed and maybe since I''m not coming in with Django
experience, I''m completely mystified by how to pass anything worthwhile
to a template.
In my controller:
def preview
@customer = Customer.find(1)
@letter = Letter.find(1)
@liquid_body = Liquid::Template.parse(@letter.body)
@x =
2012 Jul 25
2
[LLVMdev] Purpose of MSP430Wrapper
Hello,
I'm considering creating an LLVM backend for a 16 bit processor and
modelling it around the (experimental) MSP430 back end.
When reviewing MSP430InstrInfo.td I see
def MSP430Wrapper : SDNode<"MSP430ISD::Wrapper", SDT_MSP430Wrapper>;
and can see in MSP430ISelLowering.cpp that
ISD::GlobalAddress:
ISD::BlockAddress:
ISD::ExternalSymbol
all get lowered to
2007 Jul 02
4
Extracting sums for individual factors in data frames
I have a data frame with two columns, one of which is a factor
(Species) and the other is numeric (BA, which stands for basal
area). Here's a sample:
Species BA
ACSA 55.7632696
FRAM 122.9933524
ACSA 67.54424205
ACSA 89.22123136
ACSA 82.46680716
ACSA 22.46238747
ACSA 19.94911335
ACSA 20.42035225
ACSA 19.00663555
ACSA 21.67698931
ACSA 57.80530483
ACSA 30.31636911
Dead 43.98229715
Dead