Displaying 20 results from an estimated 1300 matches similar to: "Is there an implementation for "URL Encoding" (/format) in R?"
2010 Nov 28
1
faster base::sequence
Hello,
Based on yesterday's R-help thread (help: program efficiency), and
following Bill's suggestions, it appeared that sequence:
> sequence
function (nvec)
unlist(lapply(nvec, seq_len))
<environment: namespace:base>
could benefit from being written in C to avoid unnecessary memory
allocations.
I made this version using inline:
require( inline )
sequence_c <- local( {
2010 Nov 22
4
How to call R from C
Hi all!
I read R Extensions manual.
But still I am not sure how to call R functions from C.
Would any of you give me a sample C code to show how to call R functions - for instance, time series functions - from C in the embedded way of C code?
[[alternative HTML version deleted]]
2010 Nov 17
2
Reference classes: accessor functions via 'getRefClass(...)$accessors(...)'
Hi there,
I''d like to choose between an "static" and "dynamic" access of a reference
class field, say ''a''.
myObj <- getRefClass("Blabla")$new()
Static: myObj$a
Dynamic: myObj$a.get() where the function retrieves the data
from a database (or some other location), stores it to a buffer and
2010 Nov 15
1
SEXP and slots
Hello,
Since people have whisperred about Rcpp, I'd like to play too.
> On 11/15/2010 07:45 AM, Patrick Leyshock wrote:
>> Very helpful, thank you.
>>
>> A couple other questions, please:
>>
>> 1. I've got a function written in C, named "my_c_function". In my R
>> code I call this function, passing to it an INTSXP and a STRSXP,
>>
2017 Oct 09
2
Incluir símbolo matemático en data frame
Muchas gracias Jesús,
Por lo que veo hay que hacer una columna diferente para los símbolos, tal
como sugiere Carlos. No hay forma de ubicarlos en el mismo string,
acompañando al número?
Manuel
El 9 de octubre de 2017, 8:52, Jesús Para Fernández <
j.para.fernandez en hotmail.com> escribió:
> Con
>
> print("\u2265")
>
>
> lo consigues.
>
> Aqui tienes
2014 Feb 13
1
Centos 5.10 Firefox 24.3.0 HTML OL
Firefox used to render
<ol type="a">
<li>.................</li>
as
a. ...............
Now it does not. The HTML 4.1 spec at
http://www.w3.org/TR/html401/struct/lists.html#type-values
says use CSS instead.
These
<ol type="a">
<ol type="A">
<ol type="i">
used to work in the Centos 5 supplied Firefox. Now OL
2017 Oct 09
2
Incluir símbolo matemático en data frame
Muchas gracias Carlos.
Pero eso haría que el signo se muestre tal como se deba mostrar , es decir:
?
Manuel
El 9 de octubre de 2017, 1:46, Carlos Ortega <cof en qualityexcellence.es>
escribió:
> Puedes incluir estos signos en una columna nueva antes de cada una de las
> columnas numéricas.
> Que el data.frame tuviera esta pinta...
>
> Signo_1, Col_1, Signo_2, Col_2,
2005 Dec 21
8
text_area
Hi I''d like to know how to add default text text area using the function
text_area. I ''ve tried using value = "....." to do this but with no
luck.
Could some one please answer my simple question?
Thanks.
Dan.
--
Posted via http://www.ruby-forum.com/.
2007 Apr 11
2
Open Browser Window help
When I previously designed my static sites in dreamweaver, I used an
Open Browser Window behavior which opened a URL in a new window of
fixed size by inserting the following:
<a href="javascript:;"
onclick="MM_openBrWindow(''example.html'', ...
''width=300,height=300'')</a>
Is there a simple way to do the same thing in ruby?
2006 Jul 14
5
Newbie Formating output
Hi, am a rails newbie. I had problems with 2 tasks
i have created a guestbook app just to try out rails
users sign guestbook by leaving name and message
currently, the list action shows plain text like this:
Joe Smith
love your guestbook
but i would like to add formating to the name field, say different
colour, bold, and add time eg:
Joe Smith (in red colour) wrote 5 days ago
love your
2006 Jul 14
4
Help with link_to_remote or javascript generator
Hi all,
I''m a relative noob to rails so I apologize in advance for asking such a
basic question.
I am trying to do multiple AJAX calls using the link_to_remote helper or the
JavaScript generator update_page. I have googled and read the docs for
both, but can''t seem to figure out exactly what i need to do.
Say I have the following html:
<div
2011 Feb 21
4
Icecast start up script for icecast
Ok well you state yourself that you are getting an XML error when you try to
start icecast... Have you attempted to validate your XML?
>>*Fatal: error parsing config file [icecast/usr/local/etc/icecast.xml]*
*
*
*What command are you running to start it? i would assume it's "icecast -c
/icecast/usr/local/etc/icecast.xml" which would mean to me that somehow you
have a top level
2020 Nov 21
5
Icecast not working with iPhone
Hello guys,
I hope you're well. I have an issue with my Web radio. Users using
Iphone (all web browsers) can't stream the radio. All is working perfectly
with Android users.
When i navigate on the icecast URL of my Web radio with an Iphone, the
player is not displayed (URL : https://studiorats.fr:8443/)
Do you have any idea ?
Icecast version : 2.4.99.2
OS version : Debian 9
Thanks you
2011 May 30
5
rails habtm checkboxes with jquerymobile
Hi guys, I have a habtm association working properly. My application
consists of both a desktop and a mobile version.
My mobile version is made with jquerymobile and I would like my checkboxes
in the edit form to look like the checkboxes shown in
http://jquerymobile.com/demos/1.0a4.1/#docs/forms/forms-checkboxes.html.
My desktop code is the following:
<%= check_box_tag
2006 Jul 18
6
RJS - Insert at top of table?
Quick question regarding RJS and inserting to the top of a table. Here''s
the view I''m working with:
<table id="links-list">
<tr>
<th>Display title</th>
<th>URL</th>
<th>Description</th>
<th>Category</th>
</tr>
<% for link in @links %>
<tr id="link-<%= h link.id
2006 Jun 15
11
Calling all of 7 million entries
Hi everyone, David R. here; I''m new to this mailing list but I''ve been
incredibly wrapped up in Ruby on Rails for the last two or three months.
I''ve built a fully functional web application and we''re about to roll it out
to our customers. However, my supervisor would like to add just one
more feature
to it: listing the number of online users for a particular
2006 Aug 19
3
memcache-client working for anyone?
I''m at the bloody forehead stage, so I figure it''s time to ask. After
installing the robot coop''s memcache-client which everyone apparently
recommends, it refuses to work because the rails cache.rb is invoking
the read() method on the cache, which it _does not have_. Their library
has get() and put() but no read() and write() as rails expects. What
gives? Is
2007 Dec 23
11
return day from date (javascript) ?
Ok, I know this isn''t a Rails problem, but if you could help me out
that''d be brill.
I''ve used JavaScript to create a new Date object containing a date of my
choice...
mydate = new Date("11/24/2007");
//going with Javascript''s mm/dd/yyyy format
now this is good, what i want to do now is put in an integer variable
the number for the day, in this case
2011 Feb 22
3
Icecast start up script for icecast
my guess would be that the sphynx user does not have permission to write to
the folder /var/log/icecast
try running the following command:
chown sphynx.sphynx /var/log/icecast
then as root you can execute:
icecast -c /usr/local/etc/icecast.xml
The reason you can run the icecast command as root is because when you set
<chroot>1</chroot> in the <security> section (which you
2015 Jan 11
0
Bug in URLencode and patch
I believe the implementation of utils::URLencode is non-compliant with
RFC 3986, which it claims to implement
(http://tools.ietf.org/html/rfc3986). Specifically, its percent
encoding uses lowercase letters a-f, which it should use uppercase
letters A-F.
Here's what URLencode currently produces:
library("utils")
URLencode("*+,;=:/?", reserved = TRUE)
#