search for: faheem

Displaying 20 results from an estimated 126 matches for "faheem".

2011 Jun 26
2
does rsync not preserve directory mtimes?
Hi, I'm running the following command as a local copy command. faheem at bulldog:/mnt/data$ sudo rsync -abvz --super /data/ . Origin directory faheem at bulldog:/data$ ls -la total 28 drwxr-xr-x 7 root root 4096 Jun 26 08:34 . drwxr-xr-x 25 root root 4096 Apr 13 17:09 .. drwxr-xr-x 2 owzar001 root 4096 Nov 6 2010 CTS drwxr-xr-x 2 owzar001 o...
2002 Jan 14
1
trouble using R Mathlib as standalone
...ory said something about using the uniform random number generator, but gave no examples so I didn't understand. Can someone tell me what the correct syntax should be in this case? Thanks in advance. Please cc me; I'm not on the list. Sincerely, Faheem Mitha. ************************************************************************ #include "lattice.hh" #include "mh.hh" #define MATHLIB_STANDALONE #include <Rmath.h> /* random sample from proposal distribution q-gibbs */ double q_gibbs_rand(Cube& cube, double& bet...
2001 Nov 17
2
choosing g/g++ compiler executable in R CMD SHLIB
...R. That is, I would like everything except R CMD SHLIB to call the 2.95 versions by default, but have R CMD SHLIB to call the 3.0 versions by default. I didn't see this issue addressed in "Writing R Extensions". Is there a way to do this? Sincerely, Faheem Mitha. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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...
2012 Jan 27
2
The following code (using rgamma) hangs
...g report) that you get the following ########################################################## int main(void) { set_seed(0, 0); cout << "one normal " << norm_rand() << endl; } ########################################################## edd at max:/tmp$ g++ -o faheem faheem.cpp -lRmath; ./faheem one normal -inf One would expect norm_rand to return finite values, even in edge cases. If you want me to report this as a bug, let me know. Thanks. Regards, Faheem
2008 Apr 30
3
checking whether a file is empty
Hi, Is there a way to check whether a file is empty in R. I did the customary searches, but did not find anything. Please cc me on any reply. Thanks, Faheem.
2001 Oct 18
1
rsync logging and permission problems
...>&1 | less" to look at the output, piping both standard output and standard error to less. However, I'm puzzled why lines like "Mail/190 is uptodate" are sent to standard error. Surely they should be sent to standard output? 2) I am trying to copy the file /var/spool/mail/faheem on the local machine to /var/spool/mail/faheem on the remote machine. The problem is that only the file on the remote machine (but not the directory) is owned by me. rsync first tries to write some other file to /var/spool/mail but can't. I then used --temp-dir=/tmp and rsync stopped complainin...
2001 Mar 13
1
passing arguments to R CMD SHLIB
Dear People, I want to run gcc with optimisation turned on (-O2), and with -Wall (all warnings) enabled, when using R CMD SHLIB. When I do make, which is R CMD SHLIB -Wall -O2 cftp.c mcmc.c latticefn.c -lm in this case, I get faheem ~/research/cftp>make R CMD SHLIB -Wall -O2 cftp.c mcmc.c latticefn.c -lm make[1]: Entering directory `/home/faheem/research/cftp' gcc -I/usr/lib/R/include -I/usr/local/include -mieee-fp -D__NO_MATH_INLINES -fPIC -g -c cftp.c -o cftp.o gcc -shared -o cftp.so cftp.o mcmc.o latticefn.o -L/u...
2003 Apr 29
4
thick plot lines
...ng par(lty="dashed",lwd=0.1) before this, but this doesn't have any effect either. I'm now wondering if I am doing something wrong. Does qqplot perhaps not accept these parameters? What should I do to make the lines/points thinner? Faheem.
2008 Aug 06
3
subsetting with column name as string
...turn(d$"x") + } > > foo("x") NULL > bar() [1] 1 2 I'm a little surprised that R accepts both the form d$x and d$"x", but I'm mostly wondering why foo("x") doesn't work. Thanks, Faheem.
2001 Feb 24
5
testing for integer
...s.integer(1)) returns true However, I can't use as.integer, because it is too aggressive for just error checking: it rounds off the value to the greatest integer less than. Can anyone suggest a suitable method of checking for an integer in this case? Sincerely, Faheem Mitha. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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...
2003 Mar 16
1
R CMD SHLIB uses foo.c instead of foo.cc if both are present (PR#2644)
Full_Name: Faheem Mitha Version: 1.6.2 OS: Debian GNU/Linux Submission from: (NULL) (209.42.199.193) Suppose you are making a shared library using R CMD SHLIB foo.cc If there is a file called foo.c in the same directory, then it will be used instead. faheem ~/scratch/r-base>R CMD SHLIB foo.cc gcc-3.0 -I/usr/...
2002 Jul 24
1
loading compiled C++ code as shared library
...9;ve been writing C++ to compile as a shared library (previously I have always used C). Not entirely to my surprise, I am getting errors. Specifically, when I try to load the shared library, I get Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library "/home/faheem/research/thesis/sim/ms/ms.so": /home/faheem/research/thesis/sim/ms/ms.so: undefined symbol: __gxx_personality_v0 The structure of the C++ file is as follows. I'm concatenating the header file (.hh) and the actual source code file (.cc) here. (I'm not including any real code here, si...
2008 Nov 24
2
web error message
...ent Collections, Journals and Proceedings [snip] * Browsable HTML versions of the manuals, help pages and NEWS for the developing versions of R ???R-patched??? and ???R-devel???, updated daily." Do I need to report this somewhere? Faheem.
2012 Dec 12
1
Asterisk 11 originate errors
...or: Broken pipe [Dec 12 21:18:35] ERROR[8661]: utils.c:1236 ast_careful_fwrite: fwrite() returned error: Broken pipe [Dec 12 21:18:35] ERROR[8661]: utils.c:1236 ast_careful_fwrite: fwrite() returned error: Broken pipe Asterisk version 11.0.1 OS:?CentOS release 5.8 (Final) //manager.conf settings [faheem] secret =f at xxxxxx permit=127.0.0.1/255.255.255.255 read = system,call,log,verbose,agent,user,config,dtmf,reporting,cdr,dialplan write = system,call,agent,user,config,command,reporting,originate ///AMI script <?php $sys_ip = "127.0.0.1"; $User_str = "faheem"; $Secret_str...
2001 Feb 07
1
Re: failed rpm installation of R 1.2-1 (fwd)
On Wed, 7 Feb 2001, Faheem Mitha wrote: > Dear Albrecht, > > Just sent the following message out to r-help. Have you any idea what this > problem could be? > > Sincerely, Faheem Mitha. > > ---------- Forwarded message ---------- > Date: Wed, 7 Feb 2001 00:04:35 -0500 (E...
2001 Feb 27
1
using fmod in C code to be loaded into R
...ed library to load into R, using R CMD SHLIB mycode.c. This was Ok, but when I tried to load this into R using dyn.load("mycode.so") I got the error > dyn.load("mycode.so") Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library "/home/faheem/research/mycode.so": /home/faheem/research/mycode.so: undefined symbol: Rf_fmod "Writing R extension" says this function is available as an entry point. I have only a vague undertstanding of entry points, but I understand this to mean that if I am going to load the compiled code i...
2000 Sep 14
0
modifying Openssh config script for KTH-KRB (fwd)
...ersion, can you suggest a version it *would* compile correctly with? It is possible the configure file could be tweaked to perform correctly, but how? I heard this compiles correctly on OpenSSH. Since OpenSSH is free, what version of krb4 are they using there? Best regards, Faheem Mitha. ---------- Forwarded message ---------- Date: Thu, 14 Sep 2000 00:36:57 -0400 (EDT) From: Faheem Mitha <faheem at email.unc.edu> To: ssh at clinet.fi Subject: Re: modifying Openssh config script for KTH-KRB Just after I sent this message, I decided to see whether Kerberos4 support wo...
2001 Feb 08
4
eps file not positioned properly in latex document
...ment. However, the plot appears in totally the wrong position. I know this is not an R question as such, but the eps file is produced by R and I thought that perhaps other people had had similar problems and could give me pointers. Am I doing anything obviously wrong? Sincerely, Faheem Mitha. PS. the code I use to include the eps file is \begin{figure} \includegraphics[scale=0.7]{barplot.eps} \end{figure} which seems harmless enough. Faheem. ************************************************************************* roy <- c("white","blue&quot...
2000 May 01
6
including r code in a latex file
...hat \{ would probably print as {, but I hoping I don't have to go through the code and add lots of \. I would rather use some global commannd, along the lines of \treatastext{R code}. Is there something like this? I'm not that familiar with Latex. Thanks, Faheem. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 sta...
2001 Sep 23
1
plot with no tick marks
...plot. I want to suppress tick marks on the axes of the plot. I've been trying everything I can think of to do so, but have been unsuccessful. Can you help me? If you reply, please cc me, I'm not currently subscribed to the list. Thanks in advance. Sincerely, Faheem Mitha. num <- 1:i inc <- num/i x <- qnorm(inc) y <- sort(rnorm(num)) postscript(file="nqplot.eps",width=6,height=4,bg="white", horizontal=FALSE,paper="special",onefile=FALSE,fg="black", family="Bookman") plot.default(x,y)...