similar to: using an objects contents in a text string

Displaying 20 results from an estimated 9000 matches similar to: "using an objects contents in a text string"

2009 May 19
3
Remove objects names like character String
Hi, how can I use rm() on objects named like: paste("site",i,"_data",sep="") while looping through i? I tried rm(paste("site",i,"_data",sep="")) but I get the error that rm() must contain names or text strings which is confusing me as I thought paste() would create something like that...? Thanks, Katharina -- Time flies
2010 Apr 28
2
How to read contents of a text file into a single string?
... Both readLines() and scan() produce a number_of_lines x 1 vector; trying paste(s, collapse = NULL) leaves it unaffected. How can I concatenate vector elements (lines) into a single string? Thank you. -- View this message in context: http://r.789695.n4.nabble.com/How-to-read-contents-of-a-text-file-into-a-single-string-tp2069303p2069303.html Sent from the R help mailing list archive at
2010 Jul 07
2
What does `_data` mean in transform()?
Hi All, I meant to take the min row by row. But the result is apparently not what I want. Changing min to pmin solve the problem. > df=data.frame(X=1:10, Y=1:10) > transform(df, Z=min(X,10-Y)) X Y Z 1 1 1 0 2 2 2 0 3 3 3 0 4 4 4 0 5 5 5 0 6 6 6 0 7 7 7 0 8 8 8 0 9 9 9 0 10 10 10 0 I try to look at the source code to understand what transform() does. I know
2009 Apr 21
3
create objects in a loop and adding sqlQuery content to them
Hi there, I've got a database or rather spreadsheet with several columns and rows. For one column named sites I want to loop through all possible values and retrieve all data out of the database where site = x and write it into an object named 'sitex_data'. Somehow I'm really missing something as I'm not able to create these sitex_data objects with the database values,
2014 Jun 09
2
Lupus 500 MEC0003 Problems
Hi, This is my first post ever on a technical forum, so please forgive any poor etiquette etc. Also I'm totally new to Linux all of my experience has been trying to get this UPS to work. So please bear this in mind. I'm running OpenSuse 13.1 and I have a Lupus 500 USB (Fideltronik) After quite a bit of playing around I managed to get the status of the UPS using the blazer_usb driver and
2014 Jun 11
0
Lupus 500 MEC0003 Problems
On Jun 9, 2014, at 6:40 AM, Hill wrote: > Hi, > This is my first post ever on a technical forum, so please forgive any poor etiquette etc. > Also I'm totally new to Linux all of my experience has been trying to get this UPS to work. So please bear this in mind. No worries. On the NUT lists, we don't set or alter the reply-to header, so please use "reply all" to make
2015 Jul 06
2
[LLVMdev] [lld] Current ways to position memory sections (e.g. .text, .data, .bss) with lld?
Hi Ed, I wrote http://reviews.llvm.org/D10952 to address your last problem. There is also the related http://reviews.llvm.org/D10918 by Denis to address how you can directly assign sections to segments in the script. Both are in code review. Rafael auelr On Fri, Jul 3, 2015 at 12:29 AM, Rafael Auler <rafaelauler at gmail.com> wrote: > Hi Ed, > > It looks like lld is failing at
2013 Feb 15
1
Dovecot-2.1.14 - pop3 processes always hangs forever - another follow-up
Hello, With the same basic configs as in my previous messages, I tried with the maildir format instead of the mbox format. That is, in both cases ("virtual" uids/gids vs a single "real" uid/gid), doveconf -n shows: mail_location = maildir:~/maildir instead of: mail_location = mbox:~/mboxes:INBOX=~/mboxes/inbox Here too, with "virtual" uids/gids, connections thru
2023 Mar 02
1
transform.data.frame() ignores unnamed arguments when no named argument is provided
Dear r-devel, See below: transform(data.frame(a = 1), 2, 3) #> a #> 1 1 transform(data.frame(a = 1), b=2, 3) #> a b X3 #> 1 1 2 3 We need a small modification to make it work consistently, see below: transform.data.frame <- function (`_data`, ...) { e <- eval(substitute(list(...)), `_data`, parent.frame()) tags <- names(e) ## NEW LINE
2015 Jul 01
2
[LLVMdev] [lld] Current ways to position memory sections (e.g. .text, .data, .bss) with lld?
Hi All, Congratulations on the major progress on the llvm linker lld over the past year including the new linker script support. This really makes it possible to ditch binutils altogether. It looks like lld's MEMORY sections are currently parsed but not evaluated, but so far that hasn't been a problem. The only snag is I can't figure out how to define the start of the .data section
2003 Jan 17
1
More info - S-Plus compatability
Dear all, Thanks to those of you who have replied, the majority of the comments pointed out that the error caused by scan may originate from another function, and closer inspection of the output from traceback() reveals that it is in fact the read.table function where the error is originating from the full output of which I have included below. The error msg I recieve is Error in
2010 Jun 28
2
[LLVMdev] Strange pointer aliasing behaviour
On Jun 27, 2010, at 2:26 PM, Eugene Toder wrote: > Hi Dan, > > Are you referring to my reasoning for why _length and _data[i] do not > alias? No, I was referring to the discussion of C99 6.7.2.1, 6.5.6, 6.2.6, and so on. > I don't think this needs TBAA or any "strict" aliasing rules. > All that sufficient is 1) assumption about struct layout: >
2006 Mar 25
0
newb: convert contents of sql text field to an array or hash
Hi I have a text field in my sql called: keywords in it are various keywords (suprise!) ''keywords_1*keyword_2*keyword_3'' etc. all keyword phrases take_this_format seperated by an asterisk* In my rails app I would like to populate checkboxes with my keywords to show that they are already chosen. can someone please point me in the right direction? cheers Peter -- Posted via
2001 Mar 14
1
Text area contents not shown in application
Hi! Environment: SuSE6.4, codeweavers-wine-20010305-1 I have an application which runs fine under wine - Menu bar, tool bar, texts on dialog windows are displayed correctly. But text which should be displayed in text areas is not. I tried some other applications, there it works. Is this a known problem? Regards, Martin
2001 Sep 28
3
evaluating the contents of a string
Hi, suppose I do: b <- matrix(1:9,3,3) bname <- "b" now dim(b) returns [1] 3 3 and dim(bname) returns NULL is there a function to pass bname to such that dim returns the dimensions of b? like dim(somefunc(bname)) returns [1] 3 3 does 'somefunc' exist? daver +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |David Richmond It
2010 Jun 16
3
[LLVMdev] Strange pointer aliasing behaviour
I'm hitting a strange pointer aliasing "bug". Here is a test case : /* SOURCE CODE */ #define little_list_size 8 class LittleList1 { public: int _length; double _data[ little_list_size ]; LittleList1( int length ) { _length = length; for( int i=0; i<length; i++ ) _data[i] = 0; } }; class LittleList2 { public: int _length; double _data[ little_list_size ];
2010 Apr 27
4
Selecting rows based on contents of string
Hi there, I have a data frame with a column named "Flags", whose contents are strings containing any of the following characters, multiple characters allowed: A,B,C,D,E,F,G. Here is the head: GeocodeID PlaceID CountyCode CBSACode StateProvCode PropertyTypeGroupID Flags 1 0 0 0 0 AK 1 ABC 2
2008 Sep 04
3
Can you use observe_field to watch a select list and then update the contents of a text field?
Before I waste more time trying to figure that out, I was wondering if it''s even possible? The Rails Way says that observe_field by default will trigger changes in text fields and text areas, and on clicks for radio buttons and check boxes. So perhaps I''m using the wrong tool here? Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you
2010 Jun 28
0
[LLVMdev] Strange pointer aliasing behaviour
I think scev-aa does not succeed on the original example, because front ends do not put "nsw" on signed addition, so according to llvm rules addition can overflow and i can be < 0. Also, if original example used unsigned type (e.g. size_t, which is very common), I don't think ir can express the fact that i is guaranted to be >= 0. Another line of reasoning is that if
2010 Jun 27
0
[LLVMdev] Strange pointer aliasing behaviour
Hi Dan, Are you referring to my reasoning for why _length and _data[i] do not alias? I don't think this needs TBAA or any "strict" aliasing rules. All that sufficient is 1) assumption about struct layout: offsetof(_length) < offsetof(_data) 2) assumption that i >= 0. My understanding is that 1) is guaranteed by llvm rules and 2) by C rules, however I'm not sure how to