Displaying 20 results from an estimated 900 matches similar to: "does rsync not preserve directory mtimes?"
2010 Feb 03
1
graphing help: line runs off top of graph
Hi,
See the files at
http://bulldog.duhs.duke.edu/~faheem/R/
Usage is
$ Rscript memgraph.R meminfo.csv
Output is meminfo.pdf. As you can see, one of the lines (blue) runs off
the top of the graph. Can anyone suggest a way to avoid this happening?
Please CC me on any reply. Thanks in advance.
Regards, Faheem.
2012 Jan 27
2
The following code (using rgamma) hangs
Hi,
I'm seeing something that may be a bug in R's standalone math library,
which is packaged by Debian as r-mathlib. I reported it to the Debian BTS
as http://bugs.debian.org/657573
I'm using Debian squeeze, and the code was tested with r-mathlib 2.11.1-6
(default on stable) and 2.14.1-1 (from testing/unstable).
I summarize this report below. The following code with the R math
2001 Oct 18
1
rsync logging and permission problems
Dear rsync people,
I have just started using rsync for backups. I have had a couple of
issues. Note I'm trying to use rsync as user using ssh between two
machines both running Debian GNU/Linux potato (2.2r3). The local machine
is currently running 2.4.6-1 and the remote 2.3.2-1.2.
1) When I run rsync with the vv option, stuff scrolls of my screen faster
than I can read it. I was wondering if
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
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/lib/R/include -D__NO_MATH_INLINES -mieee-fp -fPIC -g -O2
-c foo.c -o foo.o
2002 Jul 24
1
loading compiled C++ code as shared library
Dear People,
Over the last few days I'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":
2012 Dec 12
1
Asterisk 11 originate errors
Hi,
I'm getting errors while originating a call through AMI.
[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
[Dec 12 21:18:35] ERROR[8661]: utils.c:1236 ast_careful_fwrite: fwrite() returned error: Broken pipe
Asterisk version 11.0.1
2006 Jan 05
1
Re: Question on Belkin UPS
Dear Ashley,
I have no personal experience with the Tower-Rack series, but someone
reported on the Nut-upsuser mailing list on 29 Nov 2005 that these
models work with the "belkin" driver of the NUT software
(http://www.networkupstools.org/). This is for the serial port. For
USB, the NUT "newhidups" driver should work (or if it does not, we can
fix it).
The software that
2001 Feb 27
1
using fmod in C code to be loaded into R
Dear People,
I wrote the following bit of C code and (along with other bits) called it
mycode.c, and compiled the file into a shared 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
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 (EST)
> From: Faheem Mitha <faheem at email.unc.edu>
> To:
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.
2002 Jan 14
1
trouble using R Mathlib as standalone
Dear People,
I am trying to use R's Math library as standalone, as documented in
/src/nmath/standalone. I am using C++ in Debian testing, and the versions
are as follows:
ii g++-3.0 3.0.3-1 The GNU C++ compiler.
ii r-mathlib 1.4.0-1 `GNU S' - Standalone R math library
I have a file (rand.cc) as follows. I don't think that lattice.hh or mh.hh
are very
2013 May 11
1
AMI Originate issue
Hi,
I'm getting an issue while executing AMI Originate.
I'm getting "extension does not exists" on Originate's Response, and on the
other hand Asterisk CLI say "fwrite() returned error: Broken pipe"
Please suggest me what is wrong.
Muhammad Faheem
### my originate code block ...
2001 Nov 17
2
choosing g/g++ compiler executable in R CMD SHLIB
Dear People,
After considerable effort, I managed to install gcc-3.0 on my Debian
system. However, Debian keeps gcc-2.95 around as the default compiler, and
gcc, g++ point to the 2.95 version. The 3.0 versions need to be explicitly
invoked as gcc-3.0, g++-3.0 etc. How can I get R CMD SHLIB to invoke
gcc-3.0 instead of gcc and g++-3.0 instead of g++? I would like this to be
done by default but
2000 Sep 03
1
installing OpenSSH rpm on SuSE 6.2
I am taking the liberty of forwarding this message to the list. I am
not subscribed to it. If you want to reply to me, please send email to
faheem at email.unc.edu
Thanks, Faheem Mitha.
---------- Forwarded message ----------
From: Faheem Mitha <faheem at email.unc.edu>
Newsgroups: comp.security.ssh
Subject: installing OpenSSH rpm on SuSE 6.2
Dear people,
I tried
2008 Nov 24
2
web error message
Hi,
I'm getting an error from
http://stat.ethz.ch/R-manual/
linked from http://www.r-project.org/
as follows
**************************************************************************
Forbidden
You don't have permission to access /R-manual/ on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an
ErrorDocument to handle the request.
2008 Aug 06
3
subsetting with column name as string
Hi,
Consider the following
> x = c(1,2)
> y = c(3,4)
> d = data.frame(cbind(x,y))
> d$x
[1] 1 2
> d$"x"
[1] 1 2
>
> foo = function(val)
+ {
+ return(d$val)
+ }
>
> bar = function()
+ {
+ return(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
2001 Feb 08
4
eps file not positioned properly in latex document
Dear People,
I am trying to include a barplot (see code below), in a latex document.
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.
2001 Mar 12
1
loading shared libraries at startup
Dear people,
I compiled a bit of C code into a shared library cftpR.so, and load it
into R at runtime using
> dyn.load("cftpR.so")
This works fine, however when I put
.First <- function()
{
dyn.load("/home/faheem/research/cftp/cftpR.so")
}
(using absolute path names; also tried with just dyn.load("cftpR.so")),
into my .Rprofile to load the library at
2001 Sep 23
1
plot with no tick marks
Dear R people,
I have the following simple bit of code to make a 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