Displaying 20 results from an estimated 5000 matches similar to: "error from building a package"
2007 Jan 30
1
Error message when building a package
I'm trying to build a package. The machine is PowerPC G4 with Mac OS 10.4.8,
and I'm using R2.4.1.
I get "R CMD build roots" working, and it created roots.tar.gz. But I get
the following message when I run "R CMD INSTALL -l ../myrlibrary
roots.tar.gz"
======================================================================
* Installing *source* package 'roots'
2005 Mar 10
1
about R CMD check
hello, everybody,
I create a package by myself named "var" on Linux system. I attach a C code
which uses "R_ext/Lapack.h" in directory "src". But when I carry out " R CMD
check var", it shows
> wxt0124()
Error in .C("wxt1221", PACKAGE = "var") : C function name not in DLL for package
var
Execution halted
Could you tell me what is
2005 Jul 07
2
答复: 答复: fail in adding library in new version.
Dear all,
I have done every step as the previous mail.
1. unpack tools.zip into c:\cygwin
2. install Active perl in c:\Perl
3. install the mingw32 in c:\mingwin
4. add "c:\cygwin; c:\mingwin\bin" in "Control Panel -> System -> Advanced -> Environment Variables -> Path -> Variable" , and they are in the beginning of the "Path"
Because I install R in
2005 Jul 08
3
fail in adding library in new version.
Dear all,
I really appreciate your help. I think I have a little advancement. ^_^
When I enter the Dos environment, at first, into the D:\>, I type the following code:
cd Program Files\R\rw2011\
bin\R CMD install /example
"example" is in the d:\, which include the R folder and "DESCRIPTION" file, But I wrote nothing in the "DESCRIPTION" file. Actually, I
2005 Jun 30
5
答复: fail in adding library in new version.
Dear Gabor,
Thank your for helping me so much!
I have loaded R the newest version 2.1.1. Then I setup it in the path of D:\program files\R\
1. unpack tools.zip into c:\cygwin
2. install Active perl in c:\Perl
3. install the mingw32 in c:\mingwin
4. add "c:\cygwin; c:\mingwin\bin" in "Control Panel -> System -> Advanced -> Environment Variables -> Path ->
2007 Nov 28
0
trouble for building R package in Windows
Dear All,
I think I have followed everything for building my first R package
(Downloading Rtools, necessary files in necessary locations, no space
in path and...). But when in command Prompt I write "Rcmd check
mypackage" the first few steps are "OK" but then it gives the
following error:
checking whether package roots can be installed.....ERROR
installation failed
see
2009 Dec 13
1
How to resolve include Rcpp.h problems?
Hi,
I am Linux Ubuntu 9.04 user. I'm using R-2.6.
Actually, I am developing R package for reading/writing 3D images. I needed
to use the R package Rcpp in order to make profit of available C/C++ codes.
My problem is that my C code is not able to include the Rcpp.h
In fact, when I run this command R CMD build rply, I got the following error
message in the file
2005 Jun 06
2
fail in adding library in new version.
Hello everybody,
Could I consult you a question?
I always use R old version 1.9.1 . Because I can not add my library into the new version 2.0.0 by the same method as old version.
* I have read the webpage <http://www.stats.ox.ac.uk/pub/Rtools>
* Download the tools.zip
* Unpack tools.zip into c:\cygwin
* Install Active Perl in c:\Perl
* Install the mingw32 port of gcc in c:\mingwin
*
2012 Apr 24
2
Write unix format files on windows and vice versa
I go back and forth between windows and linux, and find myself running
into problem with line endings. Is there a way to control the line
ending conversion when writing files, such as write and cat? More
explicitly I want to be able to write files with LF line endings
rather than CRLF line ending on windows; and CRLF line endings instead
of LF on linux, and I want to be able to control when the
2010 Sep 13
4
Problem with WARNING...headers with CRLF line endings
Dear all,
When running R CMD check on Windows XP to test my package I get the
following warning message:
"* checking line endings in C/C++/Fortran sources/headers ... WARNING
Found the following sources/headers with CR or CRLF line endings:
src/xpsDict.h"
The problem is that this file is created by the compiler AUTOMATICALLY
during the compilation process, and since the file is
2005 Oct 06
1
problem with installing a package
I do have full access to that directory. I have the
bbHist package in c:/PROGRA~1/R/rw2011/library/bbHist
directory. Then under the library directory I did
check and build. Here's what I got:
$ R CMD check bbHist
* checking for working latex ... OK
* using log directory
'c:/progra~1/r/rw2011/library/bbHist.Rcheck'
* using R version 2.1.1, 2005-06-20
* checking for file
2020 Jan 16
3
Git autocrlf for Windows - why does the Getting Started guide say to use false?
Right, my understanding is that files that specifically need CRLF should say so via .gitattributes somewhere.
autocrlf=false ought to work if your Windows editor doesn’t (or can be persuaded not to) introduce CRLFs. I’ve observed that the Visual Studio editor will detect the line-ending style of the file you’re editing, and imitate it. This works great until you create a new file. 😝 So I’ve
2004 Apr 23
1
(no subject)
Dear all:
I am developing a package in R. While I am running R CMD check, I found
the following warning message:
Found the following C sources/headers with CRLF line endings:
src/hem.c
src/random4f.h
ISO C requires LF line endings.
It seems that it comes from a line ending problem in C. What are CRLF/LF
line endings?
How can I fix it? Thank you for your help in advance.
Best,
HJ
2013 May 21
3
should dovecot store maildir files with CRLF or LF?
Hi.
I've made a strange observation.
When having Dovecot (at least) with maildir and moving (via IMAP) mail
received by some client (Evolution 3.4) into it the following happens:
Regardless of whether the mail was originally(!) set with CRLF or LF
(i.e. when I use netcat to submit the plain SMTP to the relaying MTA).
When the client (Evolution) had received the mail via POP3 before moving
2006 Dec 08
1
please help me for svm plot question
I run the following code, all other is ok,
but plot(m.svm,p5.new,As~Cur) is not ok
Anyone know why?
install.packages("e1071")
library(e1071)
library(MASS)
p5 <- read.csv("http://www.public.iastate.edu/~aiminy/data/p_5_2.csv")
p5.new<-subset(p5,select=-Ms)
p5.new$Y<-factor(p5.new$Y)
levels(p5.new$Y) <- list(Out=c(1), In=c(0))
attach(p5.new)
2012 Jan 11
1
R CMD check pkg and 32/64 bit.
R gurus:
I'm trying to get another round of rconifers out and I need some advice/help crushing differences in the examples test.
I'm trying to make sure the max sdi values are being respected.
I've added a tests/rconifers-Ex.Rout.save (from windows i386-pc-mingw32) and when I ran R CMD check (both R-2.13.0), I got the following results:
* using log directory
2017 Feb 21
2
Problem with svn:eol-style
I've been using the mono-repo [
http://llvm.org/docs/GettingStarted.html#for-developers-to-work-with-a-git-monorepo]
and this morning I ran into an issue where I am unable to submit using the
mono repo. I traced this down to the fact that many files explicitly have
the property svn:eol-style set to native. On the git side, we have
core.autocrlf=false, which means that git will checkout
2006 Dec 07
1
svm plot question
I run the following code, all other is ok,
but plot(m.svm,p5.new,As~Cur) is not ok
Anyone know why?
install.packages("e1071")
library(e1071)
library(MASS)
p5 <- read.csv("http://www.public.iastate.edu/~aiminy/data/p_5_2.csv")
p5.new<-subset(p5,select=-Ms)
p5.new$Y<-factor(p5.new$Y)
levels(p5.new$Y) <- list(Out=c(1), In=c(0))
attach(p5.new)
2006 Apr 24
1
R CMD build says, 'Can't call method "print"'
Hi,
While running R CMD build on one of the Bioc packages, I'm getting the
following error message
* creating vignettes ... OK
* cleaning src
* removing junk files
* checking for LF line-endings in source files
Can't call method "print" on an undefined value at /home/sfalcon/arch/x86_64/R-2.3/bin/build line 646.
The pacakge has CRLF line endings in source files.
>
2010 Aug 03
1
adding FORTRAN code to a package
Dear R People:
Hello!
I'm putting together another RcmdrPlugin package and need to add a
FORTRAN subroutine to speed things up a bit.
I've never added compiled code to a package.
Anyhow, I put my code into a /src directory.
Here are the statements:
* using log directory 'c:/R/R-2.11.1/bin/RcmdrPlugin.push.Rcheck'
* using R version 2.11.1 (2010-05-31)
* using session charset: