similar to: calling C function from R

Displaying 20 results from an estimated 2000 matches similar to: "calling C function from R"

2004 Jun 17
2
using "= matrix (...)" in .C calls
Dear R-devel, I am trying to alter rpart so that it makes additional calculations when growing the tree. In the "rpart.s" there is a call to the C routine: rp <- .C("s_to_rp2", as.integer(nobs), as.integer(nsplit), as.integer(nodes), as.integer(ncat),
2002 Apr 25
1
understanding and resolving seg faults
Dear r-devel, I am mutating rpart to do calculations on trees. I am trying to extract information from the tree. However, I got a seg. fault. This is the offending line in "rpmatrix.c": deltaI[0][0] = spl->improve; (Commenting it out cures the seg fault) I would like some advice on how to debug this. I have allocated memory with calloc and deltaI[0][0] should be
2006 Jan 15
1
[LLVMdev] A question about alias analysis
Oh, your meaning is pointers in a aliasset have equal address logically? But I think that two pointers are alias means they point to a same memory object, so if pointers "p" and "q" are alias, it seem as p = q, not &p = &q. Another question is about "forwarding". "AliasSet[XXXX, 0] may alias, Mod/Ref forwarding to YYYY" (XXXX != YYYY) means the
2020 Jan 08
3
回复: bug report
Hi,Tomas: &nbsp; &nbsp; &nbsp;here is the&nbsp; test info:&nbsp; &nbsp;Thanks for your kind help .&nbsp; &nbsp; &nbsp;************************************************************ &nbsp; &nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IMPORTANT NOTICE &nbsp; &nbsp;
2019 Nov 21
2
Tablegen PAT limitation?
Hi Krzysztof, Today I try it on llvm9.0.0 version. &nbsp; def bos : RPPInstMMEMrr<OPC_STORE, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (outs), (ins MGPR:$rs1, SGPR32:$rbase, MGPR:$roffset, uimm2:$rshift), &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; !strconcat(opcodestr, ""), "$rs1,
2019 Nov 22
2
Tablegen PAT limitation?
def STOREbos { // InstructionEncoding Instruction RPPInst RPPInstMMEMrr &nbsp; field bits<32&gt; Inst = { 0, 0, 0, 1, rs1{2}, rs1{1}, rs1{0}, index{0}, 0, 0, 0, 1, 0, rbase{3}, rbase{2}, rbase{1}, rbase{0}, rbase{4}, roffset{4}, roffset{3}, roffset{2}, roffset{1}, roffset{0}, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; &nbsp; field bits<32&gt; SoftFail = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2019 Nov 25
2
Tablegen PAT limitation?
You are welcome. I changed the pattern, the same old error pop up again, crash in the same place. Type set is empty for each HW mode: possible type contradiction in the pattern below (use -print-records with llvm-tblgen to see all expanded records). vtInt: &nbsp; (vt:{ *:[Other] }) UNREACHABLE executed at /home/nancy/work/rpp_clang/llvm/utils/TableGen/CodeGenDAGPatterns.cpp:824!
2019 Nov 20
4
Tablegen PAT limitation?
Hi, The full trace stack: Type set is empty for each HW mode: possible type contradiction in the pattern below (use -print-records with llvm-tblgen to see all expanded records). vtInt: (vt:{ *:[Other] }) UNREACHABLE executed at /home/nancy/work/rpp_clang/llvm/utils/TableGen/CodeGenDAGPatterns.cpp:824! [ 85%] Building X86GenEVEX2VEXTables.inc... &nbsp;#0 0x000000000081b9b5
2002 Nov 22
1
Segmentation fault using "survival" package (PR#2320)
Full_Name: Jerome Asselin Version: 1.6.1 OS: RedHat Linux 7.2 Submission from: (NULL) (142.103.173.179) Hello, I get a segmentation fault when I run the following code. I wouldn't expect meaningful results because my response variable contains only missing values. However, I would expect something like a regular error (not a segmentation fault). library(survival) data <-
2000 Aug 09
1
circles overshoot (PR#629)
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C00241.18831EF0 Content-Type: text/plain; charset="iso-8859-1" Anyone ever tried to plot(c(1.0,0,2),c(1.0,0,2)); symbols(c(1.0),c(1.0),circles=(c(1.0)),inch=FALSE,add=TRUE); #? Why does the circle overshoot ? The problem is
2006 Nov 03
2
installation problem
<DIV id=wmMessage> <DIV>I am running a Fedora 5 system and I would like to setup dovecot as IMAP only for the purpose of running squirrelmail.&nbsp; I compiled&nbsp;and installed the source per the documentations but get the following errors in my maillog&nbsp;at startup.</DIV> <DIV>&nbsp;</DIV> <DIV><STRONG>Nov&nbsp; 2 23:03:17 liberty
2012 May 03
2
testing samba 4 alongside samba 3
** hello folks, all started with searching for an MS exchange server connector to fetch my office my by Thunderbord on my private machine. So far I used Davmaill (OWA) but I'm not that satisfied, so I found OpenChange but that needs Samba4 installed on my NAS. So I was checking the Samba wiki and mailing archive but I'm bit confused. There are several version available, plus franky, what
2008 Jun 09
1
nonlinear fitting on many voxels
After many months, I am now banging my head against the wall because I can't find a solution to this seemingly trivial problem.&nbsp; Any help would be appreciated: I am trying to apply a nonlinear fitting routine to a 3D MR image on a voxel-by-voxel basis.&nbsp; I've tested the routine using simulated data and things went well.&nbsp; As for the real data, the fitting routine
2017 Feb 21
1
Could not login as root or other Linux user account
Ubuntu server 16.04.2samba has upgraded from As per repository (latest version)I was configuring samba as per document from wiki &quot;ActivedirectoryWINbindHowto&quot;After editing the common-account and common-auth I rebooted the server.I could notlogin as root or any Linux user. Server says &quot;Incorrect login&quot; But I tried with all otherLinux user login which&nbsp;
2020 Jan 03
2
bug report
Hi, &nbsp; &nbsp; I have use&nbsp; kvm ? virsh ? virt&nbsp; &nbsp;for almost half year ?all things goes well ? &nbsp; &nbsp; but recently? I use virt-copy-in&nbsp; found some problem ? I&nbsp; have&nbsp; &nbsp;do&nbsp; nothing&nbsp; with my server&nbsp; ?but the problem appear .&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
2017 Jan 26
1
could not receive mails from dovecot pop3
Hi Greetings.&nbsp;I have windows server2012R2&nbsp; and installed&nbsp;Hypervisor &nbsp;I have installed Ubuntu 16.04 server edition in Virtual machine(hyper-v 2012r2) &nbsp;Postfix and dovecot are running &nbsp;dovecot version :2.2.22 (fe789dz) &nbsp;Able to send mail is ok. mail received in /var/mail/%u &nbsp;could not receive mail from client Thunderbird.
2000 Aug 14
2
Working Fine - Suddenly Not
Hello All, AIX 4.3.3 / Samba 2.0.6 Have had no problems in months accessing shares / using SAMBA. This morning users called to say that they cannot connect. Stopped and restarted the NMBD and SMBD services. smbstatus shows no issues. Log files show users attempting to connect but no errors as to why they get the message "\\<server_name> is not accessible The session was
2019 Oct 21
2
How to create vector pointer type?
Hello, Say the original type is Integer i16*,&nbsp; I want to create a v16i16* type to replace it. static Type *getVectorPtr(Type *Ty) { &nbsp; &nbsp; PointerType *PointerTy = dyn_cast<PointerType&gt;(Ty); &nbsp; &nbsp; assert(PointerTy &amp;&amp; "PointerType expected"); &nbsp; &nbsp; unsigned addSpace = PointerTy-&gt;getAddressSpace();
2000 Jul 12
2
Home Share Question
HPUX / AIX / Samba 2.0.6 I'm trying and getting frustrated with configuration of the SMB.CONF file to get the [homes] share to be the only name listed when users browse to these servers. I don't want to have the share auto renamed to the user name that is attaching. The SMB.CONF help file states that this can be done. Can someone please tell me the SMB.CONF [homes] variables that need
2006 Mar 28
5
RJS call from controller issues javascript that doesn''t get evaluated by browser
Hi, I''m on Rails 1.1 and I have a problem wit RJS In my cotroller i have ==>>> def show @contact = Contact.find(params[:id]) render :update do |page| page[:contactInfo].replace_html :partial=>"contactInfo" end end <<<=== And my contactInfo partial looks like this and it''s placed inside a div element ==>>> <table>