Displaying 20 results from an estimated 600 matches similar to: "Rendering data in tables"
2017 Oct 12
4
comparing two strings from data
Hi,
I have two columns that contain numbers along with letters (as shown below)
and have different lengths. Each entry in the first column is likely to be
found in the second column at most once.
For each entry of the first column, if that entry is found in the second
column, I would like to get the corresponding index. For instance, if the
first entry of the first column is 5th entry in the
2006 Dec 05
1
worker method not running in background
When i call a worker method my browsers hangs until the task is finished.
The same code works nicely in the background when inside the do_work method.
Does this mean i can only start a task in background via the do_work method
?
Or am i doing something wrong here ?
regards tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2009 Dec 03
2
Dataframe help
Hi there
I have two dataframes
Dataframe_1
column_1 colum_2
121 12345
145 1675
167 2765
Dataframe_2
column_1 column2
121 abc
345 lmn
167 efg
I want a resulting dataframe
121 12345 abc
167 2765 efg
how do i go abt it
Ramya
--
View this message in context: http://n4.nabble.com/Dataframe-help-tp947934p947934.html
Sent from the R
2017 Oct 12
0
comparing two strings from data
It's generally a very good idea to examine the structure of data after you have read it in. str(data2) would have shown you that read.csv() turned your strings into factors, and that's why the == operator no longer does what you think it does.
use ...
data_2 <- read.csv("excel_data.csv", stringsAsFactors = FALSE)
... to turn this off. Also, the %in% operator will achieve
2017 Oct 13
1
comparing two strings from data
Combining and completing the advice from Greg and Boris the complete
solution is two lines:
data_2 <- read.csv("excel_data.csv", stringsAsFactors = FALSE)
match_list <- match( data_2$data1, data_2$data2 )
The vector match_list will have the matching position when it exists and
NA's otherwise. Its length will be the same as the length of data_2$data1.
You should get
2005 Aug 15
2
Newbie rendering problem
Hi
On every list request i render an item partial through a collection of
items. the item table has 3 columns namely name,anotherName and id. the
item partial looks like
<%@item=item%>
<%= error_messages_for(:item) %>
<tr id="<%=item.id%>">
<% for column in Item.content_columns %>
<td><%=h item.send(column.name) %></td>
<%
2006 Mar 29
2
intercepting messages from FXScrollBar toFXScrollArea
Hello Lyle,
the Task, I want to accomplish:
I''ve created a little app that is used on a PC with a touch screen. To ease
hitting the keys, the keys and the scrollbars are really big (45 pixels). So
the ScrollCorner is also really big and I just wanted to use this space by
moving the ScrollDown Botton down to the position of the ScrollCorner (like
the attachment shows)
The code looks like
2007 Nov 15
2
Changes to 'refs/tags/0.5.4'
Tag '0.5.4' created by Benjamin Otte <otte at gnome.org> at 2007-11-15 10:12 -0800
release 0.5.4 ("Turkish Cycling Federation")
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQBHPBurvMv5VCdLq8QRAj1KAJ40NHRRS3gKyJjSjyyoH7gDaGi/tQCeOha/
R5PF4bZQqmSdJ64t8EbD4cA=
=8qBy
-----END PGP SIGNATURE-----
Changes since the dawn of time:
Benjamin Otte (40):
2006 Jul 09
3
Verify hash key in hash in params hash
Hi,
how can I use Rails ActionController::Verification#verify :params when
the hash key is in a hash?
E.g.: params[:form][:textfield] and I want to verify that :textfield is
a key in params[:form]
Thanks
Markus
2008 Jul 02
2
FXTextField and text alignment
Hi,
When the text inside an FXTextField is larger that the available space,
the FXTextField apparently "switches" from left alignment to right
aligment: you only see the end of the text. When the text is smaller
than the available space, text is aligned on the left.
Is there a way to change that, and have left alignment all the time?
I''ve been trying a few things, like
2005 May 16
1
TEXTFIELD_ENTER_ONLY doesn''t work
Hi Lyle,
I noticed that when creating a FXTextField with TEXTFIELD_ENTER_ONLY it
still sends messages
to its target when other keys than KEY_Return are pressed.
I usually create a textfield this way:
textfield = FXTextField.new(self, 50, self, ID_INPUT, TEXTFIELD_ENTER_ONLY)
textfield.setText(aStr)
textfield.setFocus
textfield.move(x, y, w, h)
textfield.show
This way only the enter key should
2006 Mar 07
2
Building tkentry dynamicly
Dear R-users,
I would like to build N "tkentry" compounds in the same window, with
default text for each. As N is variable I need to construct them in an
iterative way :
library(tcltk)
main<-tktoplevel()
tktitle(main)<-"My Tool"
filenames<-c("toto","tata","titi")
N<-length(filenames)
for (i in 1: N) {
2005 Oct 05
5
InPlaceEditor crash on Safari
Quick question..
I often crash my Safari when using ''Enter'' on InPlaceEditor''s for
submitting.
Works fine on firefox(win & Mac) - no javascript errors.
Anyone else seen this behavior?
(Maybe it is just my alterings of InPlaceEditor :-)
Best Regards
Michael Krog
2006 Jun 16
0
Comparing form enrty to a databse record
I have one field on a from where a number will be entered called
"amount". I need to compare this to an existing field in the database
also named "amount" to make sure it is a higher number.
I also have to find this specific record by comparing it''s "post_id"
field with @session[:post].id Any help here would be greatly
appreciated.
--
Posted via
2004 Jan 13
0
samba as pdc pam authentication with postgres databse
dear friends,
My problem is ...
i configured samba as primary domain controller. it
successfully working in windows 98 clients...
then i tried to configure the samba(pdc) to authenticate through PAM
authentication with postgres database. but it fails.. i installed pam
postgres module sucessfully
how to configure samba(pdc) as PAM authentication.. is it possible. when
i
2003 Jun 17
0
Access Databse
This mail is probably spam. The original message has been attached
along with this report, so you can recognize or block similar unwanted
mail in future. See http://spamassassin.org/tag/ for more details.
Content preview: Hi, I'm running samba as a file store in our windows
2000 domain and are having a few problems with MS Access, we have a
couple of users accessing the same mdb file,
2006 Sep 25
3
In place editing an empty field
I am trying to use the Scriptaculous InPlaceEditor and in some cases the
field will be empty. That is, the field currently has no value but the
user wants to enter a value.
The InPlaceEditor appears to not work in this case. Other identical
fields (except wit different ids and some value) do work.
I have tried using a nonbreaking space ( ), and this does cause the
editor to appear,
2014 Sep 22
1
SIPAddHeader from a realtime databse
Hi Guys
I'm using asterisk 1.8.23.1
When I add a SIP Header from inside the extensions.conf
(SIPAddHeader(Alert-Info:<http://www.notused.com>\;info=alert-internal\;x-line-id=0)
) it works fine.
When I try to do the same thing from within a database table, all of the
string apart from x-line-id=0 gets ignored. I've tried escaping the
semicolon and not escaping it and the result is
2007 Jun 05
2
.activate() behaviour
Hi all,
I''m trying to understand why the following code doesnt work...
----------------------------------------------------------------------------------------
<html>
<head>
<title>blabla</title>
<script type="text/javascript" src="prototype.js"></script>
</head>
<body>
<form action="bllalba">
2005 Sep 22
0
AGI Script to interact with ACCESS Databse a nd Set CID info on the fly.
lol just posted this yesterday, it's for any ODBC DSN so Access or SQL or an
Excel spreadsheet, as long as it's set as a DSN. This will work with
outgoing Caller ID as well, it's just how you set it up in your dialplan. If
you want I can email you the .agi since email will undoubtedly mangle the
script. hth.
HOWTO: A simple AGI application to modify incoming CallerID on the fly using