Displaying 6 results from an estimated 6 matches for "iline".
Did you mean:
inline
2003 Aug 27
2
Using files as connections
...to open the file before reading but
apparently without success, because the result was repeated copies of the
first line:
flines <- 107165
slines <- 100
selected <- sort(sample(flines,slines))
strvec <- rep(??,slines)
file(?c:/data/perry/data.csv?,open="r")
isel <- 0
for (iline in 1:slines) {
isel <- isel + 1
cline <- readLines(?c:/data/perry/data.csv?,n=1)
if (iline == selected[isel]) strvec[isel] <- cline else
isel <- isel - 1
}
close(?c:/data/perry/data.csv?)
sel.flows <- read.table(textConnection(strvec), header=FALSE, sep=",")
The...
2011 Oct 07
1
iplots
Hi guys,
I am trying to plot a scatterplot with lines instead of with points using function iplot in library iplots.
The best I can come up with is
x =(1:100)
y = rnorm(100)
iplot(x,y,ptDiam=0)
ilines(x,y)
Do you guys know of any paramter to set the "type" in iplot or iplot.opt?
Thanks,
Fernando ?lvarez
2006 Jun 12
1
Restart Rails by plugin development
I write a plugin.
After any changes maked to it I have to :
1) restart WebRick, to load new changes. It is not comfortable
or
2) if I use Apache with CGI. It takes too much time for each request
(about 4-5 sec).
some Ideas?
--
Posted via http://www.ruby-forum.com/.
2006 Jan 03
2
Plugins include order
I use RJS-Templates plugin.
I will override one function in it. create_template_source()
I create my own plugin and do that, but if my plugin is loaded first,
RJS-Templates plugin overrides my function.
How cat I define plugins include order or protect my own function from
being overriden?
--
Posted via http://www.ruby-forum.com/.
2006 Jan 20
1
Update HTML Element with Ajax
I have following files.
list.rhtml
-----------------------
<ul id="items">
<%= render(:partial => ''item'', :collection => @items) %>
</ul>
_item.rhtml
------------------------
<li id="<%= item.id %>" >
<%= item.name %>
<%= item.body %>
</li>
edit.rjs
------------------------
page.replace_html
2005 Dec 14
0
Master-Details with Ajax
I have in my rhtml file an master-detail data structur
<ul id="master">
<li><%= link_to_remote ''aaa'', :update=>''details''... %></li>
<li><%= link_to_remote ''bbb'', :update=>''details''... %></li>
<li><%= link_to_remote ''ccc'',