ahmad ajakh [EMAIL PROTECTED] wrote:
Hi all,
I am dealing with the same issue here and I was wondering whether it would be
possible to just save
the R compliled function objects in a directory and just attach the directory
to the search path.
(I am using R2.4.0+ESS+Xemacs in windows XP).
Thanks Mike.
AA.
- Original Message
From: Mike Prager [EMAIL PROTECTED]
To: r-help@stat.math.ethz.ch
Sent: Friday, December 22, 2006 12:45:40 PM
Subject: Re: [R] writing R extension
ahmad ajakh [EMAIL PROTECTED] wrote:
Hi all,
I am dealing with the same issue here and I was wondering
I'd like to develop a simple library in R in which to save my
particular functions.
I have read the manual on Writing R Extensions but it's too
difficult. Someone could help me?
I want only save my personal function (recorded in R-code, not in C) in
myLibrary and I want to call it with:
library
For a very simple library, you really only need chapter 1 of the manual
on writing R extensions, which even describes the helper functions
that take some of the work out of making a proper package.
If that's still too complex, you could also save your function to a file
and load it as needed with
Sarah Goslee wrote:
If that's still too complex, you could also save your function to a file
and load it as needed with source(). That will give the user the
same effect.
source(/path/to/my/stuff/myfiles.R)
Since you didn't tell us OS or anything else about your system,
it's hard to be
2006/12/20, michele de meo [EMAIL PROTECTED]:
I'd like to develop a simple library in R in which to save my
particular functions.
I know that it's possible to save functions in the workspace, but I
need this functions in a library.
- As an option you could also save the function in a
From: Sarah Goslee [EMAIL PROTECTED]
To: michele de meo [EMAIL PROTECTED]
Cc: r-help@stat.math.ethz.ch
Sent: Wednesday, December 20, 2006 12:09:47 PM
Subject: Re: [R] writing R extension
For a very simple library, you really only need chapter 1 of the manual
on writing R extensions, which even
Hi,
I am dealing with the same issue here and I was wondering whether it would be
possible to just save
the R compliled function objects in a directory and just attach the directory
to the search path.
(I am using R2.4.0+ESS+Xemacs in windows XP).
The other method that I'm familiar with
Some particularly useful links that explain the process in as few pages as
possible! Would highly recommend taking a look.
http://www.biostat.jhsph.edu/~bcaffo/statcomp/files/rpacks.pdf
http://www.bioinf.uni-hannover.de/teaching/fallstudien/schaarschmidt2.pdf
On 12/20/06, Sarah Goslee [EMAIL
, December 20, 2006 12:31:09 PM
Subject: Re: [R] writing R extension
Sarah Goslee wrote:
If that's still too complex, you could also save your function to a file
and load it as needed with source(). That will give the user the
same effect.
source(/path/to/my/stuff/myfiles.R)
Since you didn't tell
10 matches
Mail list logo