Displaying 20 results from an estimated 185 matches for "cdata".
Did you mean:
data
2010 Feb 26
2
dramatic speed difference in lapply
...y works for length(pivotColumns)=2 because I haven't fixed the rbinds. I
have two versions. One runs WAYYY faster than the other. And I'm not sure
why.
Fast Version:
fedb.ddplyWrapper2Fast <- function(data, pivotColumns, listNameFunctions,
...){
lapplyFunctionRecurse <- function(cdata, level=1, ...){
if(level==1){
return(lapply(split(seq(nrow(cdata)),cdata[,pivotColumns[level]], drop=T),
function(x) lapplyFunctionRecurse(x, level+1, ...)))
} else if (level==length(pivotColumns)) {
#
return(lapply(split(cdata,data[cdata,pivotColumns[level]], drop=T),...
2008 Sep 25
2
Two overlaid density plots - Does order matter?
In the following code, the only difference between the two plots is the
order the variables are plotted. In this case, the plot of "cdata.den" in
plot #1 is different from its plot in #2. Specifically, "cdata.den" spans
the x-axis from -5 to 30 in plot #1 and from 0 to 20 in plot #2. Does
anyone understand why these two plots do not yield the same result?
#Make density objects
pre.den<- density(
preclai...
2007 Oct 10
1
rxml cdata problem!!!!!
source)
xml.list {xml.cdata! "test"}
result)
<list>
<![CDATA[test]]>
</list>
but I want to
<list><![CDATA[test]]></list>
(because firefox don''t understand first result)
how to?????
--~--~---------~--~----~------------~-------~--~----~
You received this message beca...
2005 Jun 16
1
logistic regression - using polys and products of features
Hi
I can get all my features by doing this:
> logistic.model = glm(similarity ~ ., family=binomial, data =
cData[3001:3800,])
I can get the product of all my features by this:
logistic.model = glm(similarity ~ . ^ 2, family=binomial, data =
cData[3001:3800,])
I don't seem to be able to get polys by doing this:
logistic.model = glm(similarity ~ poly(.,2), family=binomial, data =
cData[3001:3800,...
2012 Dec 21
4
zfs receive options (was S11 vs illumos zfs compatiblity)
> From: zfs-discuss-bounces at opensolaris.org [mailto:zfs-discuss-
> bounces at opensolaris.org] On Behalf Of bob netherton
>
> You can, with recv, override any property in the sending stream that can
> be
> set from the command line (ie, a writable).
>
> # zfs send repo/support at cpu-0412 | zfs recv -o version=4 repo/test
> cannot receive: cannot override received
2006 Jun 13
0
CDATA as api_method expected parameter
I''d like to know if there is any way to accept a CDATA block as a
parameter to an ActionWebService API method. I''d like to have
something like this,
class MyAPI < ActionWebService::API::Base
api_method :test, :expects => [:cdata]
end
The client would pass "<![CDATA[ ...blah blah... ]]>" as the parameter
to the method,...
2010 May 24
2
Use of <![CDATA[............]]> on rxml
How can I put something like this on a rxml, in one line of code and
generating only one line on the xml ?
<name><![CDATA[Steve]]></name>
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubs...
2020 Sep 01
1
OpenPVN authentication via Samba AD
Yes, went thru that page a few times and don't see an obvious error.
If I leave require strong auth as the default, then nothing works. Setting it to no allows diagnostics->authentication to return a positive result.
That is also the configuration that would succeed in querying the containers.
Without the 'no' setting it fails to bind.
What am i missing?
On September 1, 2020
2011 Feb 01
1
using SNOW and clusterApplyLB to run jobs parallel
I have this function and want to run it parallel with different sets of data.
Using SNOW and clusterApplyLB.
system.time(out <- mclapply(cData, plotGraph)) #each cData contains 100X6000
doubles
system.time(out <- mclapply(cData2, plotGraph))
system.time(out <- mclapply(cData3, plotGraph))
system.time(out <- mclapply(cData4, plotGraph))
system.time(out <- mclapply(cData5, plotGraph))
system.time(out <- mclapply(cData6, plotG...
2010 Oct 31
0
Loading xml document using Nokogiri and retrieving CDATA element
This is an extension of my last post (problems with REXML) which has me
looking to Nokogiri again. The reason I am not using Nokogiri is I can not
seem to find a way to get CDATA out of a Nokogiri document.
First, can you tell me if I am loading my document correctly, because when I
call my_document.to_xml, I only get one line back:
(rdb:1) test_file = Nokogiri::XML(mismo_xml_file)
#<Nokogiri::XML::Document:0x5dd22 name="document">
(rdb:1) test_file.to_xml...
2005 Dec 11
1
redering CDATA wierdness
...light(''list'',{});},
parameters:Sortable.serialize(''list''), evalScripts:true,
asynchronous:true})}})</script>
When I try to do the same thing, Webrick generates the following on my
local machine...
<script type="text/javascript">
//<![CDATA[
Sortable.create(''list'', {onUpdate:function(){new
Ajax.Updater(''list-info'', ''/moving_list/order'', {asynchronous:true,
evalScripts:true, onComplete:function(request){new
Effect.Highlight(''list'',{});},
parameters:Sortable.ser...
2006 Jun 24
1
Parsing XML with REXML problem
...quot;1.0"?>^M
<!DOCTYPE newsfeed SYSTEM "http://www.healthday.com/newsfeed.dtd">^M
<newsfeed>
<article id="533276" posting_date="21-Jun-2006"
archive_date="14-Jun-2007">^M<news_type>FYI</news_type>^M
<headline><![CDATA[Health Tip: Eaten Bad Food?]]></headline>^M
<blurb><![CDATA[Signs and symptoms of food poisoning
]]></blurb>^M
<byline><![CDATA[]]></byline>^M
<body><![CDATA[<p> (HealthDay News) -- Food poisoning often occurs
after eating a meal in a lar...
2001 Oct 06
1
tcltk
...a further startingPoint for me ?
thanks for advance &
regards,christian
require (tcltk) || stop("tcltk support is absent")
require(cluster)
require(mva)
require(foreign)
local ({
dialog.fc <- function() {
tt <- tktoplevel()
tkwm.title(tt,"Fuzzy-ClusterAnalysis")
cdata.entry <- tkentry(tt,textvariable="cdata")
k.entry <- tkentry(tt,textvariable="k")
reset <- function () {
tclvar$cdata <- ""
tclvar$k <- ""
}
reset.but <- tkbutton(tt,text="Reset", command=reset)
submit.but <- tkb...
2004 Nov 08
3
location of key in panels of trellis plot
...or each condition. No problem.
xyplot(var1~var2|condition,data=dataframe,ylim=c(4,-4))
####Now I want to add a key to each panel indicating the values on the
parameters 1-3.
####To do so I write my own panel function that calls draw.key
tmp.xyplot <- function(x,y,subscripts=subscripts,cdata=cdata){
# plot data points
panel.xyplot(x,y)
# extract parameter values
right <- as.character(cdata[subscripts,][1,c(4,5,6)])
#### draw the key on the panel
draw.key(list(text=list(expression(t[1],t[infinity],"p")),
text=list(c(...
2010 Dec 29
1
filling up holes
I have a data frame with three columns
client ID | date | value
For each cilent ID I want to determine Min date and Max date and for
any dates in between that are missing I want to insert a row
Client ID | date| NA
Any help would be appreciated.
2007 Aug 24
1
Can't create audio conversation between softphones through Asterisk
...187721756281"
isSender="true"
transactionId="z9hg4bk361290cad5885dbc4a03b5951cc85585"
callId="59f9fb5dd6b9fa775e38c6f31671bbc4 at 192.168.1.251"
firstLine="SUBSCRIBE sip:202 at 192.168.1.252;transport=udp SIP/2.0"
debugLine="0"
>
<![CDATA[SUBSCRIBE sip:202 at 192.168.1.252;transport=udp SIP/2.0
Call-ID: 59f9fb5dd6b9fa775e38c6f31671bbc4 at 192.168.1.251
CSeq: 1 SUBSCRIBE
From: <sip:201 at 192.168.1.251>;tag=8505
To: <sip:202 at 192.168.1.252>
Via: SIP/2.0/UDP 192.168.1.251:8386;branch=z9hG4bK361290cad5885dbc4a03b5951cc855...
2006 Mar 13
2
Autocomplete broken after update to Rails 1.0
...rst_party_name" name="incident[first_party_name]"
size="30" type="text" value="" /><div class="auto_complete"
id="incident_first_party_name_auto_complete"></div><script
type="text/javascript">
//<![CDATA[
new Ajax.Autocompleter(''incident_first_party_name'',
''incident_first_party_name_auto_complete'',
''/incidents/auto_complete_for_incident_first_party_name'', {})
//]]>
</script>
The only thing that stands out to me is the //<![CDATA[...
2006 Jun 14
0
Bad behaviour in Internet Explorer
...amp;nbsp;Casa do Patrick , Casa do
estudante I</div>
<div id="item_1308" > Galeria</div>
<div id="item_1309" > Casa</div>
</div>
<script type="text/javascript">
//<![CDATA[
Sortable.create("list[2]", {onUpdate:function(){new
Ajax.Updater(''notice'', ''/admin/order'', {asynchronous:true,
evalScripts:true, onComplete:function(request){new
Effect.Highlight("list[2]",{});},
parameters:Sortable.serialize("list[2...
2005 May 31
1
GLM question
...0,0,0,1)
> y4<-c(1,1,0,0,0)
> y5<-c(1,1,0,1,0)
> y6<-c(1,0,1,0,0)
> C<-matrix(nrow = 6, ncol = 5, byrow= TRUE)
> C[1,]<-y1
> C[2,]<-y2
> C[3,]<-y3
> C[4,]<-y4
> C[5,]<-y5
> C[6,]<-x6
> m<-c(1,2,3,4,5,6)
> Cdata<-data.frame(C[,1],C[,2],C[,3],C[,4],C[,5])
>fmp<-glm(m~C,family = quasipoisson(link = log),data=Cdata)
> fitted.values(fmp)
1 2 3 4 5 6
1.25 1.75 3.00 3.75 5.25 6.00
So my question are : - Why are the fitted wrong (except for 3 and 6)?
- Is th...
2006 Mar 30
4
possible scriptaculous bug
...<li id="item_106">
Fix drop down problem
</li>
<li id="item_110">
This is a new task
</li>
</ul>
<script type="text/javascript">
//<![CDATA[
Sortable.create(''task-list101'', {constraint:false,
containment:[''task-list101'',''task-list102''], onUpdate:function(){new
Ajax.Request(''/tasklist/noop/101'', {asynchronous:true, evalScripts:true,
parameters:Sortable.serialize(...