similar to: How to detect whether a file exists or not?

Displaying 20 results from an estimated 10000 matches similar to: "How to detect whether a file exists or not?"

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
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?
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 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
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
2008 Feb 06
4
inserting text lines in a dat frame
Hi Jim I am trying to prepare a bed file to load as accustom track on the UCSC genome browser. I have a data frame that looks like the one below. > x V1 V2 V3 1 chr1 11255 55 2 chr1 11320 29 3 chr1 11400 45 4 chr2 21680 35 5 chr2 21750 84 6 chr2 21820 29 7 chr2 31890 46 8 chr3 32100 29 9 chr3 52380 29 10 chr3 66450 46 I would like to insert the following 4 lines at the beginning:
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 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.
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
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.
2007 Nov 18
2
Trouble with asterisk-users mailman
I'm trying this again because the last attempt didn't go through (thus more or less proving one of the below to be true.) Jesse Molina wrote: > > Test123 > > My messages to this mailing list are disappearing. > > Is this list quietly being moderated? > > Have I been wrongly black-holed? > > SpamAssassin gone wrong? > > > -- # Jesse
2005 Feb 17
1
(Kphone) Registration Failed: Forbidden
I just can't get kphone to register with asterisk, i can make calls to the demos and even get into the mailbox but kphone cannot register. Here's my story. Can you help me?? Please I have installed asterisk on debian using apt-get install asterisk. I have configured an extension in extensions.conf as follows exten => 8003,1,Dial(Sip/8003,${RINGTIME},rt) exten =>
2023 Nov 21
1
[External] Re: Error in setwd(dir) when initializing R
Dear Ana When you installed R it gave you an option to put a shortcut on the desktop. If you did that then you can start the R GUI by clicking on it. You may need to customise it for your preferences. Specifically it starts R with an option cd-user-docs which I delete and I then alter the starting option to start in the directory I want. You may have different preferences of course. Try
2009 May 18
2
From 1.4 to 1.6.0
Hi everyone, I was just wondering, does anyone managing production asterisk servers migrated successfully from 1.4.2X to 1.6.0.X? I would like to see if there are some successful cases. Is your 1.6.0.X behaving well, with acceptable stability? Please share your experiences. Thanks, -- Ing. Miguel Molina Grupo de Tecnolog?a Millenium Phone Center PBX: (+57 1)6500800 ext. 1201 Fax: (+57
2009 Jun 25
1
Persistent dynamic queue members
Hi all, I'm testing the persistent dynamic queue members functionality on 1.6.0.10. The queue members are agents defined in the agents.conf file. When I issue an asterisk restart and check the queue members again on the CLI, all of them are listed as /invalid/ and there is no way to change this but to unload app_queue.so and load it again. My guess is that the internal AstDB queue
2006 Jan 26
3
Samba daemons hang trying to lock locking.tdb
Hi, A day or so after starting samba, some daemons (diferent forks) begin to hang. Then, the WinXP clients hang too completely. When I try to figure out what is happen, I see that smbd daemons hangs always in a fcntl64() call: # strace -p 6414 Process 6414 attached - interrupt to quit fcntl64(14, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=3684, len=1} <unfinished ...> Process 6414