similar to: paste argument of a function as a file name

Displaying 20 results from an estimated 20000 matches similar to: "paste argument of a function as a file name"

2007 Aug 07
2
R and excell differences in calculation F distributionfunction
R-help, I'm trying to work out the density function by doing: > df(5.22245, 3, 22) [1] 0.005896862 > df(15.20675, 6, 4) [1] 0.001223825 In excell the result is : 0.0071060464 <*> FDIST(5.22245,3,22) 0.0100001406 <--> FDIST(15.20675,6,4) >From my point of view the differences in the second case are substantial. Can anyone give me a hint on this? Thanks in
2014 Feb 11
2
eliminar texto de un fichero
Carlos, eso sería una buena solución. el problema es que utilizo el sink() para redireccionar no solo uno sino varios datos en forma matricial y de lista Luis -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- Luis Ridao Cruz Faroe Marine Research Institute Nóatún 1, P.O. Box 3051 FO-110 Tórshavn Faroe Islands Tel : (+298) 353900 Fax: : (+298) 353901 e-mail: luisr@hav.fo
2014 Feb 11
2
eliminar texto de un fichero
No estoy seguro si esto sirve, ya que no enviaste un ejemplo reproducible. source("mifuncion.R", echo=TRUE, max.deparse.length=10000) Daniel Merino El 11 de febrero de 2014, 12:48, Carlos Ortega <cof@qualityexcellence.es>escribió: > Hola, > > Sí, pero recuerda que "write()" permite añadir otros nuevos objetos a un > fichero ya existente... > Vaya,
2014 Feb 11
2
eliminar texto de un fichero
Daniel, eso funciona en la terminal pero mi argumento to regex o grep es un fichero ahi es donde me encuentro atascado Luis -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- Luis Ridao Cruz Faroe Marine Research Institute Nóatún 1, P.O. Box 3051 FO-110 Tórshavn Faroe Islands Tel : (+298) 353900 Fax: : (+298) 353901 e-mail: luisr@hav.fo luridao@gmail.com
2014 Jan 31
2
manipulación de caracteres
lo que necesito es "98989","121212" y no : paste(unlist(strsplit(char,",")),collapse=",") [1] "98989,121212" Luis -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- Luis Ridao Cruz Faroe Marine Research Institute Nóatún 1, P.O. Box 3051 FO-110 Tórshavn Faroe Islands Tel : (+298) 353900 Fax: : (+298) 353901 e-mail: luisr@hav.fo
2014 Jan 31
2
manipulación de caracteres
esto me convierte la cadena de caracteres en dos y eso no es lo que quiero además el resultado final de la cadena debe ser: "98989","121212" Luis -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- Luis Ridao Cruz Faroe Marine Research Institute Nóatún 1, P.O. Box 3051 FO-110 Tórshavn Faroe Islands Tel : (+298) 353900 Fax: : (+298) 353901 e-mail: luisr@hav.fo
2014 Apr 01
2
problema con RStudio
Hola, ¿qué tal? ¿Puedes comparar la salida del comando Sys.getenv("LD_LIBRARY_PATH") en una sesión en la que funciona RODBC y otra en la que obtienes el error anterior? Un saludo, Carlos J. Gil Bellosta http://www.datanalytics.com P.D.: A propósito, también he estado tratando de utilizar RODBC en Linux y me he acabado rindiendo. Sobre todo porque RJDBC funciona bastante bien.
2014 Apr 01
2
problema con RStudio
Pues ahí lo tienes. De alguna manera R (a través de RStudio) no está incorporando el directorio /u01/app/luisr/product/11.1.0/client_1/lib donde se ve que tienes las librerías de ODBC al "LD path". Échale un vistazo a https://support.rstudio.com/hc/communities/public/questions/200641818-How-to-configure-libPaths-?locale=en-us Aparentemente RStudio tiene su propio sistema para
2005 Mar 01
6
lattice -- panel order display
R-help, I'm using 'xyplot' in lattice package which plots length frecuencies by year (10). The order I get is not logical and the 'index.cond' argument to 'xyplot' is a bit cumbersome when it comes to plot a great deal of (in my case years). I have tried sorting the conditioning variable but still get the same result. Is there any easy way to do it without making use
2014 Apr 01
3
problema con RStudio
No, no estoy usando Rstudio Server El 1 de abril de 2014, 9:07, Carlos J. Gil Bellosta <cgb@datanalytics.com>escribió: > Una pregunta... no estarás utilizando RStudio server, ¿verdad? > > En tal caso, lo que tienes que hacer es configurar > /etc/rstudio/rstudio.conf tal como indica en > > http://www.rstudio.com/ide/docs/server/configuration > > En particular,
2004 Jul 20
9
Sort a data frame
Hi all I have the next data frame year STOD SLAGNR TAL TALT TALVEKT 1 2002 2120006 57 1 NA 1 2 1997 97030032 57 NA NA NA 3 1997 97030071 27 1 NA NA 4 1997 97030005 57 1 NA NA 5 1997 97020127 60 NA 1 NA 6 2001 1160025 27 1 NA 1 7 1998 98020069 60 1 NA NA 8
2005 Feb 11
5
Double sort a data frame
R-help, Long ago I asked how to sort a data frame according to one of the columns. But Iwas wondering ho I could "double sort" , i.e, sort according to one column and another one afterwards. It is quite easy in Excel but I am unable to implemented in R. I have searched in the R help archives and found nothing. Thank you in advance.
2014 Feb 11
2
eliminar texto de un fichero
r-help-es sabe alguien como eliminar texto de un fichero de texto utilizando R ya se que existen instrucciones en bash para hacerlo. el problema es que estoy programando una aplicación para usuarios de Windows. por ejemplo: source('mifuncion.R' max.deparse.length = 0) "mifuncion.R" esta en un fichero que contiene lo siguiente: sink("mi_fichero.txt") lapply(tmp2,
2013 Jan 31
2
evaluar una exprseion
Hola a todos, Me gustaria saber como puedo evaluar / obtener el resultado guardado en un objeto cuando este se ejecuta. Quiero decir, el resultado de la siguiente expresion: > paste("res_UP_sep_dec_","16_17_18",sep="") [1] "res_UP_sep_dec_16_17_18" es un objeto (una lista) cuyo nombre es precisamente res_UP_sep_dec_16_17_18 >
2004 Aug 06
2
list of frames without first element
R-help, I have a list of several data frames. I want to compute the "rowSums" of the columns of these data frames but first one. Something like this lapply(my.list,rowSums) Thank you Luis Ridao Cruz Fiskiranns??knarstovan N??at??n 1 P.O. Box 3051 FR-110 T??rshavn Faroe Islands Phone: +298 353900 Phone(direct): +298 353912 Mobile: +298
2004 Jun 17
3
How to order a vector
Hi all I have a vector like this 2003 2002 2001 2000 1999 1998 1997 1996 106 105 106 106 105 106 101 107 How can I get it sorted right(1996....2003)? Thank you Luis Ridao Cruz Fiskiranns??knarstovan N??at??n 1 P.O. Box 3051 FR-110 T??rshavn Faroe Islands Phone: +298 353900 Phone(direct): +298 353912 Mobile: +298 580800 Fax: +298 353901
2008 Feb 12
3
sort a data frame according to roman characters
R-help, I have a data frame with one column containing roman numbers The data are not sorted as : I II III IV V VI VII VIII IX X XI XII XIII XIV XV Using data[order(data$Roman),] does not do the job. How can this be done? Thanks in advance.
2014 Apr 01
2
problema con RStudio
Carlos, al parecer tengo instalado el paquete RODBC en : /home/luisr/R/i686-pc-linux-gnu-library/3.0/RODBC/ no hay nada en (carpeta vacia): /usr/local/lib/R/site-library/ en el directorio: /usr/local/lib/R/site-library hay paquetes que vienen con R pero RODBC no saludos, Luis -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- Luis Ridao Cruz Faroe Marine Research Institute Nóatún 1,
2004 Jul 27
1
list problem
Hi all, I have the folowing frame(there are more columns than shown), 1 2 3 4 5 Year Total Tus Whi Norw 1994 1.00 1830 0 355 1995 1.00 0 0 0 1995 1.00 0 0 0 1995 1.00 4910 4280 695 1997 1.00 0 0
2005 Apr 06
6
Introduce a new function in a package?
R-help, Sometimes I define functions I wish to have in any R session. The obvious thing to do is copy-paste the code The thing is that sometimes I don't know where I have the function code. My question is if somehow I could define a function and "introduce" it (let's say 'base' package ) so that could be used anytime I run a different R project. Thank you in advance