Displaying 20 results from an estimated 2000 matches similar to: "Variable scope in a function"
2009 Dec 05
1
R brush for SyntaxHighlighter
Hello,
I've written a brush for R for the SyntaxHighlighter JavaScript
library. It allows you to display R code on a web page with the proper
syntax highlighting. It's available here:
http://demitri.com/code
Comments and suggestions for improvement are welcome!
Cheers,
Demitri
2009 Mar 16
5
Dovecot LDA and "undeliverable" emails
I googled around looking for this, apparantly my google-fu is failing this
morning. I just switched over to using a Postfix/Dovecot virtual set-up
with Dovecot as the delivery agent. One of my users mistyped his email
address when he paid for something through Paypal and the reciept got
forwarded to everyone. It didn't bounce or just go to Postmaster, it was
delivered to every valid user on
2005 May 25
1
Using a C++ library to read a binary file
Hello,
I am trying to use a C++ library I have to read some data into R.
I've gone over the "Writing R Extensions" page and some of the
archives, but am left somewhat confused (and I'm still very new to R!).
What I want to do is fairly simple. Given some parameters, I'd like
to read a string of numbers from a proprietary binary file into an
array. I have a C++
2007 May 24
2
[LLVMdev] LLVM Developer Meeting
Hi,
I just found out about this, and I'd like to attend.
I'm in the process of getting to know llvm on a project I'm working
on for Apple.
Thanks,
kat
2014 Apr 04
2
[LLVMdev] Weird problems on calling an external function from MCJIT on Windows(mingw)
Hi,
I have a IR file generated by Clang:
; ModuleID = 'test_load_lib.c'
target datalayout =
"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f80:128:128-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32-S32"
target triple = "i686-pc-mingw32"
declare i32 @a_outside_func(i32)
define i32 @test_func() {
entry:
%call = call i32
2010 Dec 06
1
package ca/rgl for ubuntu?
hi,
for some unknown reason i cannot install the package ca in R running in a ubuntu mint system. i keep getting the following error message:
configure: error: missing required header GL/gl.h
ERROR: configuration failed for package ?rgl?
* removing ?/home/kat/R/i486-pc-linux-gnu-library/2.12/rgl?
ERROR: dependency ?rgl? is not available for package ?ca?
* removing
2012 Jun 11
3
Simple Binning of Values
Hello
I am very new to R. I have an R task to complete that I have not been able to find a straightforward answer to as of yet. I have a list of values. I would like to count the number of values that are in one bin, the number that fall in the next bin, etc.
For example
My input file is: 123 48 342 442 43 232 32 129 191 147
I would like the output to be similar to:
0-100 3
100-200 4
2014 Apr 04
2
[LLVMdev] Weird problems on calling an external function from MCJIT on Windows(mingw)
Hello
I quite thank you for your advice,but I have to tell that it made no
difference too calling
"LLVMAddGlobalMapping(ee,LLVMGetNamedFunction(m,"_a_outside_func"),(void*)(&a_outside_func));".
2014-04-04 16:10 GMT+08:00 Anton Korobeynikov <anton at korobeynikov.info>:
> Hello
>
> While there is a symbol in the object file, there is nothing like this
>
2007 Nov 26
1
spss, string factors, selecting
Hi,
I am having trouble with a large dataset I am importing from SPSS.
The problem is I have to merge two datasets (which seems to be
working OK) then select rows based on attributes. I have a column
with either blank cells, B or E entered. I want to select all rows
with E. I have other columns with numerical data which I will then do
analyses on.
data[column==" E"] does not
2010 Mar 15
0
[LLVMdev] LLVM tries to remove labels used in blockaddress()
On Mar 15, 2010, at 10:07 AM, Bob Wilson wrote:
>>> An earlier revision simply generated asm-code, where the appropriate label was missing, thus causing gcc to fail when i wanted to compile the asm-file.
>>
>> Here is a slightly reduced testcase:
>>
>> define i8* @test1() nounwind {
>> entry:
>> ret i8* blockaddress(@test_fun, %test_label)
>> }
2010 Mar 15
2
[LLVMdev] LLVM tries to remove labels used in blockaddress()
On Mar 15, 2010, at 9:41 AM, Chris Lattner wrote:
>
> On Mar 15, 2010, at 7:11 AM, Sebastian Schlunke wrote:
>
>> Hi,
>>
>> i ran into a problem when using blockaddress() with a label in another function. It seems to me that LLVM tries to remove the label used in blockaddress because it seems like it is not used, but in fact it may be used somewhere with a
2008 Dec 22
1
POP3 Immediate Connection Termination
Hey everyone... Thanks in advance for any help.
I seem to have the opposite problem that a lot of people have - I've been
running Dovecot v. 1.0.10 quite successfully for IMAP for several months.
However, one of our executives has her heart set on being able to get her
mail via POP3. It looks to me like I have both configured, but when trying
to log in via a POP3 or POP3s connection
2014 Apr 04
2
[LLVMdev] Weird problems on calling an external function from MCJIT on Windows(mingw)
oh,I'm sorry to make such a stupid mistake...But I still have to tell the
correct one still didnt make difference...so weird
2014-04-04 16:30 GMT+08:00 Anton Korobeynikov <anton at korobeynikov.info>:
> Are you sure, that LLVMGetNamedFunction(m,"_a_outside_func") does not
> return NULL? I believe it should be
> LLVMGetNamedFunction(m,"a_outside_func")
>
2019 Mar 23
4
topenv of emptyenv
I was surprised just now to find out that `topenv(emptyenv())` equals
? `.GlobalEnv`, not `emptyenv()`. From my understanding of the
description of `topenv`, it should walk up the chain of enclosing
environments (as if by calling `e = parent.env(e)` repeatedly; in
fact, that is almost exactly its implementation in envir.c) until it
hits a top level. However, `emptyenv()` has no enclosing
2010 Sep 01
2
testing for emptyenv
Dear R-users,
Is there a way to test whether a particular environment e is equal to emtyenv(), or for that sake whether two environments e1 and e2 are equal?
I tried a couple of ways to compare environments, but neither seem to work:
> e1 <- new.env()
> e2 <- new.env()
> e1 == e2
Error in e1 == e2 :
comparison (1) is possible only for atomic and list types
> all.equal(e1,
2013 Apr 18
2
how to control the environment of a formula
Dear List
I have experienced that objects generated with one of my packages used
a lot of space when saved on disc (object.size did not show this!).
some debugging revealed that formula and call objects carried the full
environment of subroutines along, including even stuff not needed by the
formula or call. here is a sketch of the problem
,----
| test <- function(x){
| x <-
2008 Feb 09
2
[asterisk-dev] Monitor Asterisk using C
>Soumya Kat wrote:
> What I would like to know is how to get information such as SIP users,
> number of SIP connections and traffic associated with those from asterisk
> using a C Code.
>Russell Bryant
> There is actually no good way to do this inside of Asterisk right now.
It's
> certainly all possible ... it's just software ... but there is no
> straightforward
2012 Jul 02
2
Code scatter plot data from matrix with 3rd column
Hello
I am looking for a simple way to plot my data from a matrix (or data frame) using a 3rd column as category to code the data points.
for example:
xyz
543240
104230
15901
203241
25781
3042340
357891
405670
45780
50531
Ideally, I'd like 0 or 1 to correspond to a color but I'd settle for a symbol at this point. I have tried working with pch but can't get it to work.
Thanks
Kat
2010 Mar 15
0
[LLVMdev] LLVM tries to remove labels used in blockaddress()
On Mar 15, 2010, at 7:11 AM, Sebastian Schlunke wrote:
> Hi,
>
> i ran into a problem when using blockaddress() with a label in another function. It seems to me that LLVM tries to remove the label used in blockaddress because it seems like it is not used, but in fact it may be used somewhere with a indirectbr.
>
> I attached a small test-case that produces this error. (The
2010 Nov 17
2
Problem with plotting diagnostics - Error in object$coefficients : $ operator is invalid for atomic vectors
hi all,
after fitting a multiple linear regression
model <- lm(y ~ a + b+ c+d)
i wanted to plot diagnostics
plot(model)
but get the error message
Error in object$coefficients : $ operator is invalid for atomic vectors.
which does not make a lot of sense, since there is no "$" - i am working with an attached dataset.
can anyone help, please??
thanks a lot,
kat