Displaying 20 results from an estimated 400 matches similar to: "problem to building R (datasets)"
2006 Jul 31
1
building windows packages under wine/linux and cross-compiling.
Had some fun today, and thought it might be a good idea to share
and possibly for inclusion to R/src/gnuwin32/README.packages .
Wine/linux : while R, ActiveState Perl, mingw all works alright under
wine, the blocking issue is Rtool's cygwin dependency. forking
(as much of make and sh is forking sub-processes)
on posix-on-win32-on-posix currently doesn't work.
2006 Aug 01
2
deleting a directory
Hi, all,
I'm looking a utility for removing a directory from within R. Currently,
I'm using:
foo <- function(...) {
mydir <- tempdir()
dir.create(mydir, showWarnings = FALSE, recursive = TRUE)
on.exit(system(sprintf("rm -rf %s", mydir)))
## do some stuff in "mydir"
invisible()
}
However, this is assumes "rm" is available. I know of
2010 Jun 15
1
building 2.11.1 on solaris 10
Trying to get 2.11.1 built on a solaris 10 machine. This particular
machine I do not have root access so I have just created an area under
my home to use. I am currently having issues in the src/library area
most specifically with getting the datasets area built. Here is the
output form my most recent compile:
building package 'datasets'
all.R is unchanged
2004 Oct 19
1
Cross compiling in R-2.0.0
Hello,
When compiling R-2.0.0 for cross-compiling, I get the following error
when calling 'make R'
---------- Making package base ------------
adding build stamp to DESCRIPTION
/bin/sh: line 1: --vanilla: command not found
make[5]: *** [frontmatter] Erro 127
make[4]: *** [all] Erro 2
make[3]: *** [pkg-base] Erro 2
make[2]: *** [rpackage] Erro 2
make[1]: *** [all] Erro 2
make[1]:
2004 Dec 16
1
Lazy-loading db setup in the R build process
Hi All,
I have read the article on lazy-loading in the September R news letter, and
think I have at least a vague grasp on what is happening.
Am I right in thinking that, assuming I were using the same packages, I
could copy the .rdb & .rdx files from one installation of R (2.0.0) to
another?
I ask this as I'm trying to cross-compile R (for ARM), and need to use R
itself to perform the
2005 Apr 07
3
R-beta 2004-04-07 build failed on AIX
I thought I'd give this another shot before the official release. I tried
building R-beta_2004-04-07 on the AIX system that I have access to, and it
seemed to failed at lazy-loading survival. I'd very much appreciate any
pointer on what to try or look for next.
1. I set OBJECT_MODE to 64 for building 64-bit binary.
2. I edited config.site with the following:
CC="xlc_r"
2008 Nov 18
2
anyone familiar with this error?
[whit at linuxsvr R.packages]$ sudo R CMD INSTALL portfolio.construction
* Installing to library '/usr/local/lib64/R/library'
* Installing *source* package 'portfolio.construction' ...
** R
** preparing package for lazy loading
Loading required package: fts
Loading required package: quadprog
Loading required package: Rexcelpoi
terminate called after throwing an instance of
2008 Feb 15
1
dir.create in 2.7.0dev (PR#10765)
Hi
I have some problems to create severeal directories at the same time
dir2 = "C:/00test000/test/test1"
dir.create(dir2, showWarnings = TRUE, recursive = TRUE)
It works in 2.6.2 but not in 2.7.0dev
I use Windows, R 2.7.0 (2008-02-15 r44484)
Best regards
Dominik
2005 Dec 15
2
Why is bubbles() creating empty png graphs?
This code below produces empty XXX.png files - if I use plot(), it works
and if I enter the commands
png(filename=fn)
bubble(positions, do.sqrt=FALSE, main=q)
dev.off()
manually, it works as well.
I am lost - any help appreciated.
The weird thing is that it worked before I made some changes... (I don't
have a copy of the working version...).
R version:
platform i686-pc-linux-gnu
arch
2014 Sep 30
1
R's internal tar ignores files in sub-directories
E.g. I am seeing:
dir <- file.path(tempdir(), "test-tar")
dir.create(dir)
setwd(dir)
dir.create("foo", showWarnings = FALSE)
file.create("foo/bar.R")
tar("test.tar", files = "foo/bar.R")
dir.create("untarred")
untar("test.tar", exdir = "untarred")
2008 Apr 23
1
pdf() and histogram() in function call
Here is a function I wrote. It runs no problem, but generate empty pdf
files.
I can't find what is the problem.
create.pdf<- function(x, dir)
{
dir.create(dir, showWarnings = FALSE)
plist<- c("a", "b" , "c", "d")
for(j in plist)
{
filedir<- paste(dir, "/", j, ".pdf",
2006 Jun 02
1
Installation R-2.3.1 on IBM AIX5.3 (PR#8931)
Full_Name: Karsten Tabelow
Version: R-2.3.1
OS: AIX5.3
Submission from: (NULL) (62.141.176.2)
Specification in config.site:
CC=xlc_r
CFLAGS='-O -qstrict'
F77=xlf_r
FFLAGS='-O -qstrict'
SHLIB_LDFLAGS='-G'
DYLIB_LDFLAGS='-G'
LDFLAGS='-brtl'
CXX=xlc++_r
CXXFLAGS='-O -qstrict'
Complilation error in src/main/printutils.c:
"printutils.c",
2003 Oct 01
1
installing DBI_0.1-6.tar.gz
Dear,
I tried to install the DBI package in R-1.7.1, but this gave the
following error:
/volume1/scratch/jallemee/R/lib/R/bin/INSTALL: line 1: 1856
Done ( echo
"options(save.image.defaults=${save_image_defaults})"; if test
-s R_PROFILE.R; then
cat R_PROFILE.R;
fi; echo
2005 Apr 15
1
Error Building From Source
Greetings:
I am trying to build R-2.0.1 from source on windows. My path is set to:
.;C:\RStools;C:\MinGW\bin;C:\perl\bin;C:\texmf\miktex\bin;C:\HTMLws\;C:\R201\R201\bin;%System
Root%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\
Common Files\Adaptec Shared\System;C:\LINGO9\
and Mkrules has been edited and reads
# path (possibly full path) to same version of R on the host
2008 Mar 24
1
make error: ../../../bin/R: bad substitution
Hi,
I am getting this error when I run 'make' under src/library/base:
../../../library/base/R/base is unchanged
../../../bin/R: bad substitution
make: *** [all] Error 1
I traced it down to the following line in src/library/base/Makefile:
@cat $(srcdir)/makebasedb.R | \
R_DEFAULT_PACKAGES=NULL LC_ALL=C $(R_EXE) --slave > /dev/null
I am trying to build R-2.6.2 on a
2007 Jun 29
1
R CMD build with mingw and msys (PR#9766)
Full_Name: Steffen
Version: 2-5-0
OS: Windows
Submission from: (NULL) (192.124.243.162)
Hi,
the R CMD build script is using
if($WINDOWS) {
## workaround for paths in Cygwin tar
$filepath =~ s+^([A-Za-z]):+/cygdrive/\1+;
}
which does not work if the build environment is a MINGW.
I have added the patch below,
Yours,
Steffen
$ diff -u build build.orig
--- build
2004 Aug 05
1
Problem in method's Makefile?
Hi there ...
Not too long after the switch to using Subversion I tried to checkout &
build R but encountered an error - and being short on time at that point
put it off to look at later. So today I sat down again and was
encountering this error every time I would attempt to build:
dumping R code in package 'methods'
Saving namespace image ...
initializing class and method
2004 Aug 05
1
Problem in method's Makefile?
Hi there ...
Not too long after the switch to using Subversion I tried to checkout &
build R but encountered an error - and being short on time at that point
put it off to look at later. So today I sat down again and was
encountering this error every time I would attempt to build:
dumping R code in package 'methods'
Saving namespace image ...
initializing class and method
2004 May 10
1
Solve for "Please set TMPDIR to a valid temporary directory"
Dear R Help,
My apologies if this is widely known, but I didn't find this in the R
archives.
I am running WinXP pro and R 1.90. Rcmd build or check fails with the
error: "Please set TMPDIR to a valid temporary directory"
$TMPDIR is set to $TMPDIR or C:/TEMP in share\perl\R\Var.pm. TMPDIR or
c:\temp do not exist on WinXP on my laptop. I have C:\WUTemp and the
env variables
2020 Feb 26
3
unlink() on "~" removes the home directory
!!! DON'T TRY THE CODE IN THIS EMAIL AT HOME !!!
Well, unlink() does what it is supposed to do, so you could argue that
there is nothing wrong with it. Also, nobody would call unlink() on
"~", right?
The situation is not so simple, however. E.g. if you happen to have a
directory called "~", and you iterate over all files and directories
to selectively remove some of them,