Displaying 9 results from an estimated 9 matches for "fstr".
Did you mean:
fptr
2010 Sep 06
1
size limit of string/parse a string and convert to vector
Hi,
I have a loop as follows,
dataStr <- character(0)
repeat{
fstr<-read.socket(sockfd)
if(fstr=="")
break
dataStr<-paste(dataStr,fstr)
}
at what point does dataStr stop accepting(gets full)? I'm sending millions of records over the socket and need to know if all of it can go into dataStr.
Also, Incase all of it cannot go into dataStr,...
2009 Nov 02
2
How to execute a funcition which name is stored in a string?
Hi, everybody
Is there any way to execute a function, which name is stored in a string.
such as:
a <- "ls()"
foo(a) ## same as ls() itself.
Or, to execute a R command, which is stored in a string
such as:
a <- "m1 <- matrix(1:9,3,3)"
foo(a) ## same as the assignment itself
2008 May 08
1
variable of mathematics string not interpreted
Hi everybody,
my goal is to display symbols on the x-axis of a barplot.
I read some mathematics strings in a file and convert them to an expression
as follows:
tt<- scan(file = fstr ,'what' ='character', sep = "");
for (iaa in 1:length(tt)) {
tt[iaa]<-do.call(expression, lapply(tt[iaa], as.name));
}
I obtained the following result:
tt =
expression(`alpha[tr]`, beta, widthD, `S[ts]^-5("[165,275]Hz")`,
`S[ts]^2("[165,275]Hz&q...
2013 Jul 04
2
Modificar una función de un paquete
Estimados miembros de la lista.
Estoy trabajando con la función mosaic del paquete vcd. Cómo puedo hacer
para ver el contenido fe la función y modificar algunos de sus argumentos?
Muchas gracias,
Manuel
--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspinola@una.ac.cr
2013 Jul 04
1
Modificar una función de un paquete
...LL)
> {
> if (is.logical(main) && main)
> main <- deparse(substitute(data))
> else if (is.logical(sub) && sub)
> sub <- deparse(substitute(data))
>
> m <- match.call(expand.dots = FALSE)
> edata <- eval(m$data, parent.frame())
>
> fstr <- strsplit(paste(deparse(**formula), collapse = ""), "~")
> vars <- strsplit(strsplit(gsub(" ", "", fstr[[1]][2]), "\\|")[[1]], "\\+")
> varnames <- vars[[1]]
>
> condnames <- if (length(vars) > 1) vars[[2]]...
2013 Jul 04
0
Modificar una función de un paquete
...sub = NULL, subset = NULL, na.action = NULL)
{
if (is.logical(main) && main)
main <- deparse(substitute(data))
else if (is.logical(sub) && sub)
sub <- deparse(substitute(data))
m <- match.call(expand.dots = FALSE)
edata <- eval(m$data, parent.frame())
fstr <- strsplit(paste(deparse(formula), collapse = ""), "~")
vars <- strsplit(strsplit(gsub(" ", "", fstr[[1]][2]), "\\|")[[1]], "\\+")
varnames <- vars[[1]]
condnames <- if (length(vars) > 1) vars[[2]] else NULL
dep &...
2006 Jun 08
7
Wrong reported free space over NFS
NFS server (b39):
bash-3.00# zfs get quota nfs-s5-s8/d5201 nfs-s5-p0/d5110
NAME PROPERTY VALUE SOURCE
nfs-s5-p0/d5110 quota 600G local
nfs-s5-s8/d5201 quota 600G local
bash-3.00#
bash-3.00# df -h | egrep "d5201|d5110"
nfs-s5-p0/d5110 600G 527G 73G 88% /nfs-s5-p0/d5110
2013 Jul 06
0
Modificar una función de un paquete
...mp;& main)
> > main <- deparse(substitute(data))
> > else if (is.logical(sub) && sub)
> > sub <- deparse(substitute(data))
> >
> > m <- match.call(expand.dots = FALSE)
> > edata <- eval(m$data, parent.frame())
> >
> > fstr <- strsplit(paste(deparse(**formula), collapse = ""), "~")
> > vars <- strsplit(strsplit(gsub(" ", "", fstr[[1]][2]), "\\|")[[1]],
> "\\+")
> > varnames <- vars[[1]]
> >
> > condnames <- if (length...
2006 Jul 10
10
Problem using Feedtools on my Rails project!
.../lib/ruby/gems/1.8/gems/feedtools-0.2.25/lib/feed_tools/vendor/htree/parse.rb:64:in
`parse_as''
/usr/local/lib/ruby/gems/1.8/gems/feedtools-0.2.25/lib/feed_tools/vendor/htree/parse.rb:51:in
`parse_xml''
/usr/local/lib/ruby/gems/1.8/gems/feedtools-0.2.25/lib/feed_tools/vendor/htree/fstr.rb:11:in
`with_frozen_string_hash''
/usr/local/lib/ruby/gems/1.8/gems/feedtools-0.2.25/lib/feed_tools/vendor/htree/parse.rb:50:in
`parse_xml''
/usr/local/lib/ruby/gems/1.8/gems/feedtools-0.2.25/lib/feed_tools/helpers/html_helper.rb:300:in
`sanitize_html''
/usr/local/lib/r...