search for: fjmolina

Displaying 20 results from an estimated 26 matches for "fjmolina".

2003 Jul 22
3
R and C++ compared with only C++
My computer is a pentium 4 running at 2.4 GHz. My R is 1.7.1 I have written a program in R that calls C++. The program spends most of the time in C++ ( > 90% ). R basically deals with output and input. How slower can this be compared with the program I would get from rewriting everything in C++? Thank you.
2003 Apr 22
7
Subject: Eliminate repeated components from a vector X-Mailer: VM 7.00 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid Reply-To: fjmolina at lbl.gov FCC: /home/f/.xemacs/mail/sent Does anyone know how I can eliminate repeated elements from a vector?
2002 Oct 11
2
No subject
Subject: activity of CPU used by R X-Mailer: VM 7.00 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid Reply-To: fjmolina at lbl.gov FCC: ~/mail/sent My R processes never use more than 50% of my CPU activity. Is there any way I can make them use more of it? -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send...
2006 Dec 21
2
Add line to plot. The line falls outside the current plot.
Hi, I have plotted the graph of x^2 and I would like to add to it a line that is currently outside of the plot ( the points of the line fall outside of the plot ). When I use the function 'lines' the graphics window does not became larger to show this line. Is there any way I can fix this? Also, how can I eliminate the axis from the plot? Thank you.
2002 Nov 18
2
No subject
Subject: Error: cannot allocate vector of size 554 Kb X-Mailer: VM 7.00 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid Reply-To: fjmolina at lbl.gov FCC: ~/mail/sent Does anyone know how I can avoid this error? Error: cannot allocate vector of size 554 Kb I think my computer should have enough memory to allocate such vector. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Re...
2002 Mar 17
5
compute variance of every column in a matrix without a loop
Is it possible to compute the variance of every column in a matrix without a loop? -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
2002 Nov 19
4
fast way to check an object is a member of a list?
Is there any fast way to check that an object is a member of a list? -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
2003 Mar 07
24
Hello, I am trying to use 'R' for K-means simulatio, could you please advise me how I can read my data into a two dimesional array? Or is there any method which directly reads the excell file? Please let me know asap. Regards Skanda Kallur Cogito, Ergo Sum! Rene Descartes
2002 Oct 11
0
No subject
Subject: X-Mailer: VM 7.00 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid Reply-To: fjmolina at lbl.gov FCC: ~/mail/sent I have noticed that my R processes do not occupay more than 50% of my CPU activity. Is there any way of changing this? -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ...
2003 Mar 17
1
"Debugging R from within Emacs"
In "Frequently Asked Questions on R" there is a section "Debugging R from within Emacs" I suppose this is for developpers ( not useful to debug R source code ). Am I right?
2003 Jul 17
1
R matrices in memory
Acording to the documentation in gsl "The physical row dimension tda, or trailing dimension, specifies the size of a row of the matrix as laid out in memory" I think that if I pass a matrix to C++ through .C as single ( or.double ), that is, .C ( as.single ( matrix )) then the tda is simply the number of elements of that matrix. Am I right? Thank you.
2004 Feb 12
3
How to detect whether a file exists or not?
I would like my program to load variables x,y,x from a file 'myFile.r' but if this file does not exist, I want my program to create/initialize x,y,z. Does anyone know how to do this? Thank you very much. Francisco J. Molina
2004 Jan 30
7
Detect the presence of an object
Is there a function like "is.there" such that is.there ( a ) returns TRUE is object 'a' is in the current environment and FALSE otherwise? Thank you. Francisco J. Molina
2003 Sep 24
1
weird behaviour when calling c++
I am using 1.7.1 in a PC ( redhat 9, linux ) I created a subroutine in C++, mySubrutine, to be used in R. To debug this subroutine I have a main routine in C++ that calls mySubrutine. The only thing main () does is to provide mySubrutine with its arguments (this is the easiest way for me to debug subroutines written in C++ and intended to be used in R ). I also have a version of the same
2002 Mar 13
3
Error: subscript out of bounds
How can locate in my program an error of that kind (Error: subscript out of bounds)? -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
2002 Mar 15
1
No subject
I would like to know if a book on S-plus could help me to learn R. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
2002 Jul 18
1
a bug?
I am having problems to use the command curve with a function of the form min ( f ( x ), g ( x )) If I try with the function myFunction <- function ( x ) if ( f ( x ) > g ( x )) f ( x ) else g ( x ) I also have problems. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send
2002 Aug 10
1
poscript("fileName.eps") possible?
I have been checking the information provided with postscript(). Acording to the manual the argument of postscript() is the name of a file with extension ps . The postscript produced by R is EPS (Encapsulated PostScript) compatible, so I tried to pass to postscript() the name of a file with extension eps. Then I included this file in a Latex document and everything worked fine. Does what I
2002 Jul 09
2
C++ and R
I am calling C++ from R. I want C++ to return a vector whose length is not known when the C++ routine is called. Is it possible to do this without using R objects in the C++ routine? So far I have been using .C, but I do not see how I could use it in this case. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2003 May 12
2
I can not load MASS at starting R
I have istalled R with the rpm package available for RedHat 9.0. My machine is a pentium4. This is my .Rprofile file ( placed in my home directory ): w <- function ( x, y ) write.table ( t ( x ), file = y, quote = F, col.names = F, row.names = F, sep = ',' ) q <- function () q ( save = 'no' ) library( stepfun ) library ( MASS ) The MASS library is not loaded when R is