similar to: Controlling number of numbers before R rewrites to "+e18" etc

Displaying 20 results from an estimated 20000 matches similar to: "Controlling number of numbers before R rewrites to "+e18" etc"

2009 Oct 01
2
Treating variables as symbols
Hey, I'm trying to find how to perform operations with a variable treated as a symbol. For, an extremely simple, example I want to integrate a*x with respect to x and I want to find the indefinite integral of this, (a*x^2/2), or the definite integral with some interval for x. Another example of such a use would be to create a function y<-function(x) {a*x} and by typig y(2) I would get the
2010 Feb 08
3
Dividing one column of form xx-yy into two columns, xx and yy
I have a data set where one column consists of two numerical factors, separated by a "-". So my data looks something like this: 43-156 43-43 1267-18 . . . There are additional columns consisting of single factors as well, so reading the csv file (where the data is stored) with the sep="-" addition won't work since the rest of the factors are separated by commas. So first
2010 Sep 21
1
Creating table from data frame
Hey, I have a dataset where two columns are factors and another column consists of values. Each combination of factors can only have a single value assigned to it. I'd like to represent this as a matrix or table where the rows are the first column factors and the columns the second column factors. So that each cell a_ij in the matrix represents the associated value for the factor combination
2019 Aug 13
2
Loop optimization
Hi, I was wondering if there is an optimization pass in LLVM or Polly that can optimize this given loop: int main(int argc, char* argv[]) { char s = 0; // Loop is setting s = argv[1][0]; for (int i=0; i<argv[1][0]; i++) { s++; } printf("s = %c\n", s); return 0; }
2006 Jan 06
1
Internet Satellite connection configuration on linux
hi all. here in Lebanon,Beriut we are allowed only to use satellite for downlink only. uplink is made through a router connected to public land lines. The satellite card is a penta card. i want to distribute Internet connection to customers. such a connection i want to do on linux. but what hinders me is the configuration which i dont know how to do. so please , some one tell me how to
2008 Mar 19
1
[LLVMdev] 2 experimental projects
>> 1) Parallel "make check". >> Modelled after the successful clang "make test -jX" experiment, I am >> now bold enough to sink my teeth into the LLVM test suite. >> I have a prototype implementation, along the same lines, ready. > >Can you please explain this in detail. > >Thanks, >Tanya Sure. This is how "make test
2009 Mar 01
1
Can someone change the AppDB Status Change colors
I know it's a small thing, but it's been bugging the heck out of me for a few years now.... The colors you picked for the AppDB status change are horrible and don't help to communicate information at all. In fact, it actually hinders proper reading of the graph, The issue is that "Platinum", "Silver", and to a lesser extent, "Garbage" are almost the same
2005 Dec 27
2
Rewriting FormBuilder
Hi, I want to extend formbuilder to make it output a lable (I know about labeled_form_helper made by technoweenie), my own formating, and a couple of extra tags inside the form attribute. I was easily able to extend form_remote_to. But when I continue to adjust the way elements are handled I don''t know how to continue. I can''t find the method text_field thats should is
2009 May 20
1
Supressing the enumeration of output in console
Hi! Pretty low content question but I've had major trouble finding an answer for it so I hope it's alright. I'm obviously new to R, and have been trying to get rid of the numerated output I get in the console. What I mean more specifically is that X<-4;X comes out as [1] 4 and I'd like to get rid of the listing [1]. This isn't usually a problem when working with the
2009 Oct 05
5
[LLVMdev] Functions: sret and readnone
Hi all, I'm currently building a DSL for a computer graphics project that is not unlike NVIDIA's Cg. I have an intrinsic with the following signature float4 sample(texture tex, float2 coords); that is translated to this LLVM IR code: declare void @"sample"(%float4* noalias nocapture sret, %texture, $float2) nounwind readnone The type float4 is basically an array of four
2008 Aug 06
2
Winbind IDMAP question.
Hello all, I have joined my linux boxes to AD and can authenticate using Active Directory usernames and passwords using Winbind. I want to Authenticate to AD but have that user mapped to a local Unix or NIS ID otherwise the AD authentication is useless and only hinders with file permissions and such. My first questions in regards to an ADS domain member server. Can Winbind be used to map a
2012 Jun 07
2
x11 icon and class
The X11 device driver does not provide the X window manager with an icon (_NET_WM_ICON) or, under some circumstances, with a class (WM_CLASS). This hinders usability under the new stable version of Ubuntu, which has a (new) user interface centered around icons. I am not sure if this was a conscious choice by r-core or simply a low priority. In case of the latter, I attach a patch against
2007 Oct 23
0
[LLVMdev] me being stupid: me vs the llvm codebase...
On Oct 23, 2007, at 18:19, BGB wrote: > On Oct 23, 2007, at 11:45, Gordon Henriksen wrote: > >> Generally speaking, LLVM neither helps nor hinders here. Maybe >> someone will follow up with whether the JIT uses stub functions >> which would enable dynamic relinking If not, it would be a >> straightforward, if platform-specific, feature to add. > > I
2019 Aug 13
2
Loop optimization
Thanks a lot for your help. Indeed if I compile with -OZ the loop gets replaced with something like this: if ( *v3 < 0 ) v4 = 0; Is there a reason why it does not get applied with O3 ? I mean this a huge improvement to the loop. -----Original Message----- From: Doerfert, Johannes [mailto:jdoerfert at anl.gov] Sent: Dienstag, 13. August 2019 19:13 To: llvm-dev at lists.llvm.org; Garba
2018 Dec 02
4
RFC: Supported Optimizations attribute
Hi folks, please check out our RFC: Supported Optimizations attribute https://docs.google.com/document/d/1s0n-JVaSNML1Z9SCZVg2bgisxswIJAK2Tp9DahucW10/edit?usp=sharing Pasting it here for the record: RFC: supported_optimizations attribute Piotr Padlewski - piotr.padlewski at gmail.com Krzysztof Pszeniczny - kpszeniczny at google.com December 2018 Introduction Sometimes a possible class of
2009 Dec 14
1
Rewrite calling number of incoming call
Hi! Trying to figure out how to rewrite calling number of an incoming call... A cell phone (0733025975) dials a X-Lite (977). X-Lite "shows" 733025975 at the display, but I want it to be 0317998975. I thought i could do something like: exten => 977/733025975,1,Set(CALLERID(number)=0317998975) exten => 977,n,Dial(SIP/0317998977) [Dec 14 19:07:43] NOTICE[20731]: chan_h323.c:2272
2012 Apr 21
0
[LLVMdev] CriticalAntiDepBreaker rewrites a register operand of a call instruction
Hi Akira, > I am running into a problem when I turn on post-RA scheduler with mode > "ANTIDEP_CRITICAL" for mips. > I'd appreciate if someone could explain what is going wrong here. All these passes are pretty sensitive to correct register liveness information. As a first step I'd check whether machine verifier reports no errors here. -- With best regards, Anton
2012 Apr 25
0
[LLVMdev] CriticalAntiDepBreaker rewrites a register operand of a call instruction
Hi Akira, > When I add -verify-machineinstrs, it complains that there are instructions > after terminator instructions. Yes, -verify-machineinstrs and -verify-coalescing are your friends here :) -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
2019 Feb 13
0
rsync rewrites all blocks of large files although it uses delta transfer
On 2019-02-13 10:47 a.m., Delian Krustev via rsync wrote: > > > Free space at the beginning and end of the backup: > Filesystem 1M-blocks Used Available Use% Mounted on > /dev/mapper/bkp 102392 76872 20400 80% /mnt/bkp > /dev/mapper/bkp 102392 78768 18504 81% /mnt/bkp > > ####################################################
2019 Feb 13
0
rsync rewrites all blocks of large files although it uses delta transfer
On 2019-02-13 5:26 p.m., Delian Krustev via rsync wrote: > > The copy is needed for the comparison of the blocks as "--inplace" overwrites > the destination file. I've tried without "--backup" but then the delta > transfers too much data - close to the size of the backed-up files. > It's cool that --backup can be used as source data that way, a