Displaying 20 results from an estimated 5000 matches similar to: "Package build error"
2010 Mar 13
1
Problem building packages on windows: /cygdrive/c/Rtools/bin/cp: target `xf-))' is not a directory
Dear R-Help
My OS is Windows CP, I'm not sure my sessionInfo() is relevant but here it is:
R version 2.10.1 (2009-12-14)
i386-pc-mingw32
locale:
[1] LC_COLLATE=English_United Kingdom.1252 LC_CTYPE=English_United Kingdom.1252 LC_MONETARY=English_United Kingdom.1252
[4] LC_NUMERIC=C LC_TIME=English_United Kingdom.1252
attached base packages:
[1] stats
2009 Nov 09
1
Print methods
I've built a package that contains only two functions for a test run. They are:
g <- function(x){
x <- x^2
class(x) <- "foo"
x
}
print.foo <- function(x, ...){
cat("This is a test:\n")
cat(x, "\n")
invisible(x)
}
Simply testing these functions in the R workspace prior to a build yields:
> g(1:5)
This is a test:
1 4 9 16 25
Now, I
2017 Mar 22
3
R - Markdown
Estimados todos, quizas la pregunta es simple pero no puedo arreglarlo.
Cuando trato de exportar mi archivo a PDf usando el R Markdown me arroja
este error:
pandoc.exe: pdflatex not found. pdflatex is needed for pdf output.Error:
pandoc document conversion failed with error 41Además: Warning message:comando
ejecutado '"C:/Program Files/RStudio/bin/pandoc/pandoc" +RTS -K512m -RTS
2010 Aug 21
1
error possibly related to sweave, path, and spaces on windows
I have downloaded a file that I don't know how to describe correctly.
It contains R code and Latex, and I should be able to reproduce an
analysis by running an R script in this folder.
There is a line in the R script:
junk <- system(paste("/usr/texbin/pdflatex ",latexFiles[i1]),
intern=TRUE)
that needs to be modified to run on my computer. I use WinEdt with
2009 Oct 15
1
ImageMagick not seen by movie3d function from rgl package
Hello R-users,
I have downloaded and installed a binary version for Windows OS of ImageMagick (ImageMagick6.5.6-10-q16-windows-dll.exe), I have installed the rgl package and i've tried running the following example from ?movie3d()
library(rgl)
open3d()
plot3d( cube3d(col="green") )
M <- par3d("userMatrix")
play3d( par3dinterp( userMatrix=list(M,
2010 Sep 14
4
Sweave and Miktex (Sweave.sty not found)
Hi all,
I know from googling that this is a common problem; I've just tried what I
understand to be the common solutions to know avail -- maybe I'm just
confused.
I installed Miktex 2.8 -- it seems to be working fine.
I'm using this demo document: http://www.stat.berkeley.edu/~houston/demo.Rnw
I've copied the Sweave.sty file into at this point multiple places on the
Miktex
2009 Oct 17
2
linking to package directories broken in R >= 2.10 beta
Dear R developers,
some of our packages come with additional programming examples in a
directory called "/examples" which is created from "/inst/examples".
This directory is linked from the docs (e.g. in inst/doc/index.html):
<dl>
<dt><a href="../examples/">examples</a>:
<dd>Source code of examples
</dl>
Given, that we have a
2004 Jul 26
1
Building Windows Package
I am using R-1.9.1 with windows 2000 and trying to build a package.
However,
when I issue the command:
RCMD build --binary BSDA
I get:
>>> Building/Updating help pages for package 'BSDA'
Formats: chm
hhc: not found
cp: cannot stat `C:/R191/R191/JUNK/BSDA/chm/BSDA.chm': No such file or
direc
tory
make[1]: *** [chm-BSDA] Error 1
make: *** [pkg-BSDA] Error 2
***
2004 Jan 05
1
install on windows
I'm trying to install packages on windows XP and I have trouble with
command Rcmd build (R version 1.8.1) :
In the Windows console for package maanova for example, answer is :
C:\Documents and Settings\dillies\Mes documents\ghis\packages>Rcmd
build maanova
* checking for file 'maanova/DESCRIPTION' ... OK
* preparing 'maanova':
* cleaning src
*
2003 Sep 29
2
problem in integrating C routine with R on windows XP
Hi All,
I a C function code, which has been successed in integrating
with Splus on Unix. Now I want to move it on windows.
So I want to integrate this C function with R on windows XP.
I download tools.zip and saved it in c:\bin directory,
download MinGW and saved it in c:\MinGw directory,
download Perl and saved it in c:\Perl directory.
My path is set as:
2009 Oct 26
1
Help with namespace
I'm having a little trouble building a package with a namespace. Suppose I have two functions: g and f and I want to build the package foo. Suppose f is a function that has an internal purpose and should not be visible to the user. Additionally, I do not want to write a help (Rd) file for f. The only function that should be visible to the user and have an associated help function is g.
First
2017 Jan 13
2
Problems joining a Samba DC to an existing active directory
I created a new Samba 4.5.3 server to join our 4.5.3 AD domain as a DC
Following these instructions:
https://wiki.samba.org/index.php/Joining_a_Samba_DC_to_an_Existing_Active_Di
rectory
everything went fine until I got here:
https://wiki.samba.org/index.php/Joining_a_Samba_DC_to_an_Existing_Active_Di
rectory#Built-in_Groups_GID_Mappings
where running the required:
2012 Oct 02
2
Samsung Galaxy 3 and Centos
My cell phone provider just sent me a letter stating that my 3 year contract is
up and they will give me a Samsung Galaxy 3 if I will sign a new contract.
I'm wondering how well (or if) that phone will work with Centos 6. My
existing Samsung phone (can't remember the model number) doesn't integrate well
or at all with Centos; whenever I plug it into the computer it finds the phone
2008 Apr 15
1
including additional packages in Recommended
Hi, R-devel,
I'm trying to create a modified distribution of R to include several
packages are not part of the CRAN version. I.e. When I untar
R-2.6.2.tar.gz I would like to include my package "foo_1.0-0.tar.gz" in
'src/library/Recommended' so that when a user builds my version of R
they also get my package and don't have to explicitly do
install.packages. I
2010 May 29
3
S4 dispatch for .DollarNames (utils)
Hello,
I'm trying to make .DollarNames generic and implement a method for it in
a package. .DollarNames is the function that is now called to get
completion possibilities.
My R code looks like this:
setGeneric( ".DollarNames" )
setClass("track",
representation(x="numeric", y="numeric"))
## A class extending the previous, adding one more
2015 Jan 20
2
R: NUT and relay on USB
So, just as recap:
I connect USB A (female) to USB B (male) adapter -> HUB -> 2 USB wires male
to male, one to raspberry and another one to my device.
Thanks a lot.
I hope that it works fine :)
Maurizio
-----Messaggio originale-----
Da: Charles Lepple [mailto:clepple at gmail.com]
Inviato: marted? 20 gennaio 2015 13:38
A: Maurizio
Cc: NUT List
Oggetto: Re: [Nut-upsuser] NUT and relay
2012 May 18
2
Failure building any package
Hello,
I'm attempting to build a package using R 2.15.0 on OS X
I am getting a generic failure when performing a cran type check on the package. Even with a very simple test package, it still fails int he same place.
Example:
In R:
rm(list=ls())
foo <- function(x){print(x)}
package.skeleton(name="foo")
Then, at the command line:
R CMD build foo
R CMD check --as-cran
2007 Sep 19
1
building a package - shared library loading problem
Dear All,
I am trying to write my first R package and I bump into loading shared
library problem( working on Mac OS X 10.4.10 as well as Linux Ubuntu).
I want to makes use of (incorporate) a shared library matchinglib.so in
the package. Library was created via R CMD -SHLIB.
Following 'Writing R Extensions' I place matchinglib.so in the 'libs'
directory and use NAMESPACE file
2015 Jan 20
0
R: NUT and relay on USB
On Jan 20, 2015, at 7:43 AM, Maurizio Iacaruso <maurizio.iacaruso at gmail.com> wrote:
> I connect USB A (female) to USB B (male) adapter -> HUB -> 2 USB wires male
> to male, one to raspberry and another one to my device.
I'm not sure I understand your setup.
This should work, using standard USB cables:
<- upstream downstream ->
<- host device
2009 Nov 04
3
inconsistent behavior for logical vectors when using apply (" TRUE")
Hello,
> X <- data.frame(letters=letters[1:3], flag=c(TRUE, FALSE, TRUE))
> X
letters flag
1 a TRUE
2 b FALSE
3 c TRUE
> apply(X, 1, as.list)
[[1]]
[[1]]$letters
[1] "a"
[[1]]$flag
[1] " TRUE"
[[2]]
[[2]]$letters
[1] "b"
[[2]]$flag
[1] "FALSE"
[[3]]
[[3]]$letters
[1] "c"
[[3]]$flag
[1] " TRUE"