Displaying 20 results from an estimated 1100 matches similar to: "how to define functions in such a situation"
2010 Feb 15
5
Hardisk cloning for centos-5.3
Hi,
I want to clone my hardisk containing the centos-5.3 OS and its swap
region on to new raw hardisk via network
either through ssh, tftp or ftp. How do i do that ?
Is there any Tool for that or will DD command be sufficient.I know that dd
command will have to be used on hardisk
with already existing partitions and not on raw disk.
Regards,
Premraj M
Disclaimer : This message is
2004 Oct 29
1
Interfacing R_project from program languages
Hello,
I need an information: is it possible to call the statistical R_project funtions from a C or Fortran application? In the r_exts.pdf manual I found that is possible to interface R-project with compiled C/Fortran routines, but I didn't found anything about the opposite situation.
Thanks in advance
Giovanni Colombo
CESI spa - Funzione Informatica e Automazione
Via Rubattino 54 - 20134
2010 May 03
2
Software Protection on centos
Hi,
I would like to have a software protection for my hardisk. I have some
query regarding that
(1) In Centos, is it possible to do a hardisk protection. Ex : Even if the
hardisk is taken from a PC and
used on another PC, it should not be executable.
(2) Also if the entire binary of the source is mounted on a partition say
/tmp, is it possible
to make that mount point as protected,
2008 Jan 22
2
R object as a function
I want to use a function as an argument to ingtegrate it twice.
See the following (senseless) example of a double integration:
test<-function(sf,lo,up,rest) {
innerFkn<-function(sf,lo) {
inte=integrate(f=sf,lower=lo,upper=4)
return( inte$value )
}
integral=integrate(f=innerFkn,lower=1,upper=2,sf=sf,lo=lo,up=up)
return( integral$vlaue+rest )
}
2004 Nov 29
2
Building latest version of package
Hi
I have a package which was built using R 1.9.1 and everything worked
fine. I recently upgraded to R 2.0.1 and tried to re-install my package
- and I got:
Error in library(mypackage) : 'mypackage' is not a valid package --
installed < 2.0.0?
So I tried rebuilding it using my new version of R:
R CMD BUILD --binary mypackage
hhc: not found
cp: cannot stat `mypackage.chm': No
2002 Jun 19
3
memtest86 problem
Hi!
At first thanks for your great work!
I started to make multiboot CDs 1,5 years ago, with Bart Lagerweij 's utils. I have a problem with the memtest86 floppy image, made by the authors in the .zip file, downloadable from it's homepage, when I use diskemu. Some days ago I found on Bart's page a new method to select boot images on CD with syslinux/isolinux/memdisk. I thought this is
2009 Oct 26
2
R CMD check: Error in .C
Function/file names are hypothetical. Say I have written myfunction.R,
which calls myfunction.c via .C("myfunction", ...).
I've compiled successfully myfunction.c via R CMD SHLIB myfunction.c
in the terminal. Then, in the R console:
dyn.load("myfunction.so")
source("myfunction.R")
test <- myfunction() # works fine
So everything is in order, myfunction works
2012 Jun 11
1
[PATCH 10/21] nouveau: Add support for ARB_sampler_object
ARB_sampler_object is very simple software only extension to support.
I want to make it mandator extension for Mesa drivers to allow meta
module to use it.
This patch add support for the extension to nouveau. It is completely
untested search and replace patch. I hope someone with old NV hardware
could give a try that there is no regressions and ARB_sampler_object
tests passes.
Signed-off-by:
2005 Feb 15
2
Making a Package
Hello.
I have what I know to be a simple question, but never having done anything like this it is
pretty tough.
I'm trying to write an R package. I have a collection of functions that I loaded into R and
then used package.skeleton(). After editing everything in the resulting folder, call it
NewPackage, I tried to follow along with some instructions I found for Windows users.
I installed
2004 Nov 11
4
Questions on package creation
I have some questions about
1. nomenclature,
2. recommended file locations and
3. overall procedure related to creating packages.
To the extent that it matters, examples here relate to Windows XP
R 2.0.1 beta.
The questions are interspersed and prefaced with ***.
My understanding is that there are actually 6 forms of a package
that one should use in package development:
1.
2011 Aug 02
2
R CMD check problem
Dear friends,
I am building an R package called *mypackage*. I followed every possible
steps (to my understanding) for the same. I got following problem while
doing *R CMD check mypackage*.
* installing *source* package 'mypackage' ...
** libs
cygwin warning:
MS-DOS style path detected: C:/PROGRA~1/R/R-213~1.0/etc/i386/Makeconf
Preferred POSIX equivalent is:
2015 Oct 31
1
Example input data with example output using relative pathway in vignette of R package?
I'm putting together an R package. I would like to show example code in the
vignette, where example data files (included in the package) are used to
generate an (example) output file.
I read about using example data in Hadley Wickham's post (
http://r-pkgs.had.co.nz/data.html), and believe I should keep my example
data as raw data, as it must be parsed to generate the output.
So, I
2008 Aug 07
2
Cannot link mypackage to 2 other packages
Hi,
I need to link mypackage to 2 other packages so I can call
some C functions defined in these 2 packages from mine.
I've tried
Depends: packageA, packageB
LinkingTo: packageA, packageB
as suggested by the "5.4 Registering native routines" section
of the "Writing R Extensions" manual but then only packageA is
seen at compilation time (gcc is called with
2004 Nov 06
2
install/build/build --binary
I have question regarding package installation.
What is the difference between check, INSTALL, build and
build --binary, which imply which and what order does one
normally perform them? I have been trying:
R CMD build /mypackage
R CMD check /mypackage
R CMD build --binary /mypackage
in that order but wanted to check that this is right.
Also, what portion of the check process can be run
2008 Dec 01
2
question on yum-downloadonly
Hi
I found yum-downloadonly and executed my command do that and save the
dependencies in my current directory.
Now when I execute my command:
rpm -i mypackage
all the dependencies are not found even though they are in the current
directory.
if I do a "yum install mypackage" (and its in the current directory) its
not found either.
How do I now install the mypackage in the current
2010 Aug 17
4
Problems building own package (Error: "package has been build before R-2.10.0")
Dear List,
I’m doing my first baby steps towards developing own R Packages and ran into
the following problem:
R CMD check mypackage works fine (no errors, no warnings)
R CMD build mypackage works fine (no errors, no warnings)
R CMD INSTALL –library=”C:\R\R-2.11.1\library”
“something\mypackage\mypackage_1.0.tar.gz” works fine (no errors, no
warnings)
However, when I try loading the
2010 Aug 17
4
Problems building own package (Error: "package has been build before R-2.10.0")
Dear List,
I’m doing my first baby steps towards developing own R Packages and ran into
the following problem:
R CMD check mypackage works fine (no errors, no warnings)
R CMD build mypackage works fine (no errors, no warnings)
R CMD INSTALL –library=”C:\R\R-2.11.1\library”
“something\mypackage\mypackage_1.0.tar.gz” works fine (no errors, no
warnings)
However, when I try loading the
2005 Jul 04
1
installing packages and libraries
When I run the following:
cd \Rpkgs
rcmd install mypackage -l library
I get a message that it cannot find quadprog which is a library
that mypackage depends on.
Error: package 'quadprog' could not be loaded
I previously used C:\Program Files\R\rw2011\library as my library for CRAN
packages and did not have a problem but now that I use
C:\Program Files\R\library this problem
2006 Mar 31
1
Fortran and C entry point problem.
Dear All,
I have seen a number of e mails on this topic but I have not seen a
general solution to date. I have Fortran and C source codes and they
have been compiled successfully using:
R CMD build mypackage
And
R CMD install mypackage
Without error messages.
I then open R and tests out two functions and get:
> pgl(0.2,1,2,3,4)
Error in
2006 Mar 31
1
Fortran and C entry point problem.
Dear All,
I have seen a number of e mails on this topic but I have not seen a
general solution to date. I have Fortran and C source codes and they
have been compiled successfully using:
R CMD build mypackage
And
R CMD install mypackage
Without error messages.
I then open R and tests out two functions and get:
> pgl(0.2,1,2,3,4)
Error in