Displaying 20 results from an estimated 70000 matches similar to: "R CMD build for windows package from linux"
2011 Sep 15
1
how to install a locally built package
Hello useRs,
I am trying to put my funcs in a package to avoid clutter in my workspace as the funcs are now in .Rprofile.
All plain R code no compilations. Using win XP with a full cygwin install and R2.12
I first did
package.skeleton("mypack",list="getdfv", namespace=T) # just a single func
which created a folder with the required stuff in it.
Calling R CMD build creates a
2005 Jan 04
1
Difference between "R CMD build --binary" and "R CMD INSTALL --build"
As the title suggests, when building R packages on Windows, what is the
difference between:
R CMD build --binary mypack
And
R CMD INSTALL --build mypack
?? The former is suggested by my previous notes and seems to work, and
the latter is suggested by
http://www.biostat.jhsph.edu/~kbroman/Rintro/Rwinpack.html, and also
seems to work.
Thanks in advance
Mick
2003 Sep 16
1
package documentation
Dear all,
I writing my first package and everything seems to work (at least up to now)
However when I try to build documentation (.dvi or .pdf), using
Rcmd Rd2dvi.sh --pdf mypack.Rd
I get a mypack.pdf whose title is
"R documentation of mypack.Rd" instead of
"The mypack package"
as it should be, is it right?
Also Version, Title, ....License, namely info from the DESCRIPTION
2008 Mar 30
2
tests Rin Rout
Hi the list,
Some rumour (!) say that is it possible to prepare some tests for
checking our code using .Rin and .Rout. It seems to be a very good
practice, but I did not manage to find information on it.
So does someone know how it works ? What are we suppose to write in Rin ?
More precisely :
- I have a package myPack.r in directories ~/myR/myPack/R/
- I create the directory
2012 Dec 21
1
Rterm does not load personal library
Greetings,
I am trying to run a short script from a shell:
c:\projects\hell>Rscript --default-packages=mypack X:/4Stephen/commit/curve.R > X:/4Stephen/commit/run1.out
Loading required package: utils
Warning message:
package 'RODBC' was built under R version 2.12.2
Error: could not find function "normalize"
Execution halted
Warning message:
closing unused RODBC handle 1
2007 Mar 28
2
RV: By sentence
Hi dear listers
Do you know how to made a mean by one or more categorical variables?
I can do that quite easy on SAS by in R I just can't do it E.g.
Some fishes
Sex Lenght
male 15
fema 20
fema 17
fema 19
male 18
So the idea is mean(Lenght) by sex, in order to have sex: Male
mean=XX Sex: Fema mean=YY
In this case is quite easy to do it by a loop, but I have a huge DB
so is not an
2007 Aug 28
5
sql query over local tables
Hi i have to table with IDs in each one.
I want to make a join (as in sql) by the ID. Is any way to use the RODBC
package (or other) in local tables (not a access, mysql, sql, etc. ) and
made the join?
Thanks in advance
2007 Aug 28
1
Age-Length key with kimura algorith
Se ha borrado un texto insertado con un juego de caracteres sin especificar...
Nombre: no disponible
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070828/6641b572/attachment.pl
2008 Mar 30
4
tests Rin and Rout
>
> Generally I find it's good to look at examples that work. For
> examples of packages using tests, look at source packages on CRAN.
> Run the tests on them (using R CMD check), and see what gets produced.
>
Do you have the name of a package that use it ? I try the 10 first
package, and 10 other at random, but none of them use tests...
>>> Create tests/myPack.R
2013 Aug 06
1
Error in building pdf manual with Rtools
Dear list,
I am trying to produce a pdf manual using Rtools (version 3.1.0.1936) on Windows 8 (64-bit). I am also aware of the inconsolata issue posted in the forum (https://stat.ethz.ch/pipermail/r-devel/2013-June/066850.html), and then I have installed the patched version of R-3.0.1. However I still have some errors with the following message:
R CMD Rd2pdf mypack
Hmm ... looks like a package
2011 Jun 09
3
How to subset based on column name that is a number ?
Hi,
I have a data frame with column names "1", "2", "3", ... and I'd like to extract
a subset based on the values in the first column. None of the methods I tried
worked (below).
x <- subset(dframe, 1 = = "My Text")
x <- subset(dframe, "1" = = "My Text")
x <- subset(dframe, names(dframe)[1] = = "My Text")
Q
2011 Jul 13
1
R in Batch mode
Hi, I'm running long code in Batch mode (as a process in ubuntu using
$nohup R CMD BATCH MyCode.R out.out &), but every one in a while it fail
and the process stops.
When the code finish with no problems, it sends an e-mail, but if fails,
I'm not aware unless I check the working process, and I cannot be
checking the process all day!.
Is there any way to send me a warning when the
2007 Apr 08
2
Plot symbols dimensions
I am writing some code to obtain publication-like plots (like the ones can be obtained with
SigmaPlot). I am not able to find the dimensions of a point. Parameters like cex make you able
to make it bigger or smaller but I need to know the exact dimension (in relative coordinates :
if my plot is 640x480 a dot plotted with cex=1.5 will be...)
Massimo Cressoni
2008 Mar 30
1
package.skeleton.S4
Hi the devel list.
I am adapting the package.skeleton to S4 classes and methods
I would have been very proud to post a new working function on this list.
Unfortunately, I do not manage to solve all the problems. Mainly
- sys.source does not compile a file with setClass
- dumpMethod does not exists yet
In the following code, thise two problems are notified by a line
#################
Still
2009 Jun 03
1
Wiring or Arduino package/scripts
Hi, I am looking any way to communicant with Arduino
(http://www.arduino.cc/) Wiring (http://www.wiring.org.co) boards and
read data generate with sensor on these.
If anyone know how to do it, I will appreciate if could give some
advice.
Thanks in advance
2009 Sep 25
1
R CMD INSTALL --build: Folders /inst and /etc not in zip-file and WindowsXP locks /library/[package]/etc/
Dear R users,
My set-up: OS=Windows XP, R-2.9.2, Rtools210
I faced the follwing problem with the package compilation: There is no
"/inst" or "/etc" subdirectory in the package-zip-file. And the content of
the "/etc" subdirectory is lost, too. I tried a simplified "test" package.
The "test" package has the following structure (see also attachement:
2010 Aug 21
1
R CMD build --binary without option --use-zip-data
Hello,
When I run
R CMD build --binary pkgname
I get
* checking for file 'pkgname/DESCRIPTION' ... OK
* preparing 'pkgname':
* checking DESCRIPTION meta-information ... OK
* cleaning src
* removing junk files
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* building binary distribution
* installing *source* package
2007 Dec 06
1
R CMD Build feature searches or requests
Hello,
I'm missing two features in "R CMD build":
1) Easy building of Windows/zip packaged package version alongside the
*nix-style *.tar.gz.
Right now I'm doing a scripted version of
R CMD build <PACKAGE>
R CMD INSTALL <PACKAGE>
mkdir tmp
cp -r /usr/local/lib/R/site-library/<PACKAGE> tmp/<PACKAGE>
cd tmp
2007 Dec 06
1
R CMD Build feature searches or requests
Hello,
I'm missing two features in "R CMD build":
1) Easy building of Windows/zip packaged package version alongside the
*nix-style *.tar.gz.
Right now I'm doing a scripted version of
R CMD build <PACKAGE>
R CMD INSTALL <PACKAGE>
mkdir tmp
cp -r /usr/local/lib/R/site-library/<PACKAGE> tmp/<PACKAGE>
cd tmp
2014 Mar 12
2
Lectura de texto
Hola Jorge,
Algo pasa con el fichero...
He abierto el link de Dropbox, y he salvado el texto como "txt.txt" en
local.
Pruebo a abrirlo en R y...:
> scan(file="txt.txt")Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, :
scan() expected 'a real', got 'ÿþM'> getwd()[1] "C:/Users/xIs12136/Downloads"
Pruebo a abrirlo