Displaying 20 results from an estimated 4000 matches similar to: "writing a simple package in R 2.0 under Windows XP"
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
2003 Sep 02
2
FW: Creating a Package with Windows XP.
> Hi there fellow R-Users,
>
> I am trying to use the "package.skeleton" to create my own package with
> R.1.7.1 on Windows XP Professional.
> I have followed the package.skeleton example and have downloaded the
> necessary files found at http://www.stats.ox.ac.uk/pub/Rtools/tools.zip.
>
> and perl5, available via
2004 Nov 07
2
Problem with dyn.load()
Hi!
I am studying C language to run with R 2.0.0. My system (Windows ME /BR) is configured to run RCMD ( I have installed ActivePerl, Rtools and MinGW as indicated in http://www.murdoch-sutherland.com/Rtools/ an with correct path).
I would like run the coded write below named conv.c (Example from "Write R Extension") :
#include <R.h>
#include <Rinternals.h>
2004 Nov 12
1
dyn.load problem
Hi R-Users
I wrote 1 week ago asking about a message that appears when I try run
dyn.load.
I'm trying to do an example in C code from "Writing R Extension" to
learn how to do it.
I have R 2.0.0, Rtools, Perl and MinGW as describe in
http://www.murdoch-sutherland.com/Rtools/ with path sets.
When I use C:\R\rw2000\bin>RCMD SHLIB -o C:/dev-cpp/teste.dll
2005 Jul 24
4
problem building R packages in windows xp
Dear R users,
I am having problems building R packages in Windows xp. I have followed the
instructions from Peter E. Rossi in Documentation -> Other, except for the
TeX version (fpTeX), since when I go to the recommended webpage, it is said
that fpTeX has been discontinued. I have MikTeX in my computer, and I have
followed the recommendations in
2007 May 20
2
miktex 2.6 and R
Hi,
I am new to Latex and in the process of installing miktex to work with R on
windows XP professional. From earlier posts, I see that fptex was the
preferred version, but it is no longer available. Now miktex is preferred.
However, there are known issues with finding the style files in version 2.4.
Fortunately, www.murdoch-sutherland.com/Rtools/mikitex.html provides a
series of workarounds.
2006 Sep 29
2
hcc not found, rcmd build
Working under Windows XP, I am compiling a package called 'pgirmess'
with the command
rcmd build --binary --auto-zip pgirmess
I have this message error after having listed: functions text html latex
example chm
....
zipping help file
hcc: not found
cp: cannot stat 'c:/TEMP/Rbuild365620874/pgirmess/chm/pgirmess.chm': No
such file or directory
make[1]: *** [chm-pgirmess] Error 1
2006 Oct 28
2
Package development on Windows - latest guidance?
I would like to start building R packages under Windows XP. I
have programming experience and a minimal but working knowlege
of many Unix (-like) programming tools. The package functions
(for now) will be from R source, not C or Fortran.
I've installed Rtools, Perl, the MS hhc, and so on. I am
setting up a command shell with the correct PATH for building
packages. (The master Windows PATH
2006 Dec 22
1
building R-package under windows - error - in options("deafultPackages") was not found
Dear all,
I have been building R packages under windows on my old pc, successfully.
Now I have bought a new pc, still running windows, and I am trying to build
the same R packages as before, but now without the same success. I have
installed the Rtools, perl, mingw and added them to the environment
variables.
I am running Windows XP Professional on a Thinkpad T60. I have installed
R-2.4.1,
2004 Nov 16
2
User package - Simple Ports
R experts,
I created a package X for R 1.8 that I want to re-install for 2.0.1. In
addition to downloading/installing Perl and Rtools as directed in the
README.packages file and ensuring that they appear in my path, I have
modified X's DESCRIPTION file to include all required fields.
Additionally I have deleted the "built" line since the make process
will add that. The source
2007 Mar 28
2
changes in behaviour of Rcmd SHLIB since 2.4.0
Dear all,
I have some C code using the zlib uncompress. It compiles fine under Win XP
(with SP2) with R up to 2.3.1 and generates four files (Makedeps, *.d,
*.dll, and *.o):
C:\Data\R-packages\cmg>rcmd SHLIB cmg.c -o cmg.dll
latex: not found
making cmg.d from cmg.c
gcc -IC:/PROGRA~1/R/R-2.3.1/include -Wall -O2 -c cmg.c -o cmg.o
cmg.c: In function `readcmg':
cmg.c:33: warning:
2007 Feb 08
1
Help with interfacing C & R
Hi all,
I was trying to set up an interface for using C functions in R. For this, my R file hello2.r is:
---------------------------------------------------------------------------------
hello2 <- function(n) {
.C("hello", as.integer(n))
}
hello2(3)
--------------------------------------------------------------------------------
and my hello.c file is:
2005 Aug 18
1
Problem with building R packages under Windows
Dear all,
I am coming to the guru for advise here. I am a native user of Windows,
and S-plus, and the process of migrating my libraries from S to R has been
more than a painstaking task...
I am currently using R version 2.1.1 in Windows XP SP2.
I have read the "Writing R extensions", "the FAQ in R", and your valuable
document
"R for Windows Users", but still unable
2008 Feb 06
1
Building R for Windows
I have some C code (using an old Borland compiler) that calls a DLL that
I'd like to get working from Windows and R (so I can read ABF files -- Axon
Binary Files -- directly in R).
I thought a good first approach would be able to build R in Windows, so
that's what I'm trying to do. [I've done test builds of R under Linux
before, and that seemed fairly simple.]
I've
2010 Jan 31
2
Installling source package
Hi R users,
Im trying to install XML source package (in window platform) using the
following command.
*install.packages(pkgs = "C:\\Documents and
Settings\\skang\\Desktop\\Softwares\\R\\Library\\XML_2.6-0.tar.gz", repos =
NULL, type = "source")*
and get the following result.
gzip: stdin: unexpected end of file
/cygdrive/c/Rtools/bin/tar: Unexpected EOF in archive
2005 Dec 14
1
Glitch when creating online help
_______________________________________________________________________________________
Hi,
I'm writing up the online help for a package I'm developing (in-house
only, sorry), and I've come across an odd glitch when trying to nest a
list inside the "arguments" section of the .Rd file. I was just
wondering if anyone could provide some insights. I'm using R 2.2.0 on
2004 Oct 29
1
problem building an R package under Windows XP with calls to NAG C routines
Hello all,
I was able to create R packages under windows XP in the past using the
dynamic NAG C library for windows XP (Mark 6).
Recently, I changed computers and I am now using the static NAG C library
for windows XP (Mark 7) to create a simple R package (called "test") which
simply returns random numbers simulated using repetitive calls to a NAG C
routine (uniform random
2005 Mar 15
2
missing sh.exe file when running "R CMD INSTALL test"
I am trying to learn how to make a simple package that contains no C
or Fortran code. I used package.skeleton(...) to make a package
called "test". The directory and files look good. I downloaded and
installed Rtools (www.murdoch-sutherland.com/Rtools/tools.zip). I
added the path and from the dos prompt I can verify that make.exe and
sh.exe both exist, but when I try to run "R
2011 Jun 09
2
Rtools - "The setup files are corrupted" message when trying to install
Hi,
Apologies if this is the wrong list to be sending this question to.
I am trying to install a copy of the R tools required to create /
compile packages on windows. After downloading Rtools from
http://www.murdoch-sutherland.com/Rtools/ windows keeps complaining that
"The setup files are corrupted".
This has happened with both the Rtools213.exe and the Rtools212.exe
downloads, and
2006 Dec 20
5
writing R extension
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 (myLibrary).
After this, the functions should be available