Displaying 20 results from an estimated 900 matches similar to: "loading shared libraries at startup"
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
2011 Oct 26
1
Want to exclude axis numbering in plot.ca
plot.ca gives numbers on each axis. How do I stipulate to exclude these.
Have read the R Documentation plot.ca but see no option to exclude axis
numbers.
Any suggestions?
--
Mark Webb
Line +27 (21) 786 4379
Cell +27 (72) 199 1000 [Poor reception]
Fax +27 (86) 260 1946
Skype tomarkwebb
Email targetlinkmark at gmail.com
Client ftp http://targetlinkresearch.co.za/cftp/
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:
2000 Sep 14
0
modifying Openssh config script for KTH-KRB (fwd)
Dear OpenSSH developers,
Hi, taking the liberty of sending this to your mailing list in the hope
someone will be able to help. The KTH version of Kerberos 4 was the only
one I was able to find.
In case you don't want to look at all the stuff below, the situation is
briefly that I am trying to compile openssh with kerberos 4 support, which
it apparently has. However, it can't find krb.h,
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
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":
2001 Feb 08
0
RE: [R] Re: failed rpm installation of R 1.2-1 (fwd) (PR#841)
I'm forwarding this to R-bugs.
In R 1.2.1 the file $R_HOME/bin/maketitle.awk is installed as an
executable. It should not be since it is just a set of awk commands,
not a script file that can be run from the shell (This is a change from
R 1.2.0 in which the file $R_HOME/bin/maketitle was a shell script).
This confuses an rpm utility called "find-requires" which scans all
executable
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 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.
2000 Apr 18
1
R Packages in Windows
I have installed R version 1 for windows and have installed
the survival5 package in the library folder, but the base package
only seems to partially acknowledge survival5's presence.
How have I screwed up? The diagnostics are as follows...
>library(survival5)
** no warning given.. seems OK **
>help(package=survival5)
**this gives the contents of the package correctly,
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
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
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 owzar001 4096 Aug 27 2010
2001 Feb 24
5
testing for integer
Dear People,
Consider the following fragment of R code
choose <- function(n,r)
{
if( is.integer(n) && is.integer(r) && n > 0 && r >= 0 )
{
.C("choose",as.double(n),as.double(r),comb = double(1))$comb
}
else stop("n must be a positive integer and r a non-negative integer.")
}
This is a practice function (n choose r), which I
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 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
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 Mar 14
2
concatenating lists
Dear People,
I have been trying to perform concatenation operations on lists without
success. Consider the following example.
> x <- runif(2)
> y <- runif(2)
> z <- runif(2)
> xy <- list(x,y)
> xyz <- list(x,y,z)
I want to have a function foo such that foo(xy,z) is the same as xyz. This
appears not to be as easy as I thought, though there must be a way.
For example
1999 Dec 16
2
R question
I have the following question, which is elementary but I am unable to
answer.
In a for(i=10) loop, I am trying to represent the 10 1-dimensional vectors
l1, l2,... l10 by some expression that will run through these values.
ie. soppose I want to add l1 + ... + l10
I could go
x <- 0
for(i in 1:10){ x <- x+ l(i)}
This should return x to be the sum of the 10 li's for i from 1 to 10
2000 Apr 05
1
problem with survexp in survival5
survexp in survival5 doesn't seem to work for me. see below:
> library(survival5)
Attaching Package "package:survival5":
The following object(s) are masked from package:base :
sort.list
> library(chron)
> data(ratetables)
> survexp(~ratetable(year=julian(6,1,1991),
+ sex=1,age=35*365.24),times=(0:30)/6*365.24)
Error in as.character(as.date(c(min(R[, 3]),