Displaying 8 results from an estimated 8 matches for "makebasedb".
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 Solaris 9 box.
Can anyone advise on what may go wrong? Thank you.
[[alternative HTML version deleted]]
2008 Jun 07
1
compilation failed on MacOSX.5 / icc 10.1 / ifort 10.1 / R 2.7.0
...larString
Referenced from: /Users/mathieuprevot/PRE/R-2.7.0/lib/libR.dylib
Expected in: dynamic lookup
dyld: Symbol not found: _Rf_ScalarString
Referenced from: /Users/mathieuprevot/PRE/R-2.7.0/lib/libR.dylib
Expected in: dynamic lookup
/bin/sh: line 1: 26329 Done cat ./makebasedb.R
26330 Trace/BPT trap | R_DEFAULT_PACKAGES=NULL LC_ALL=C
../../../bin/R --vanilla --slave > /dev/null
make[3]: *** [all] Error 133
make[2]: *** [R] Error 1
make[1]: *** [R] Error 1
make: *** [R] Error 1
2005 Jan 10
2
Problem with compiling - Freebsd on AMD64 (PR#7489)
.../bash ../../../tools/move-if-change ${f}
../../../library/base/man/base.Rd)
rm -f ../../../library/base/man/base.Rd.gz
/usr/bin/gzip ../../../library/base/man/base.Rd
/usr/bin/install -c -m 644 ./inst/CITATION ../../../library/base
/usr/bin/install -c -m 644 all.R ../../../library/base/R/base
cat ./makebasedb.R | R_DEFAULT_PACKAGES=NULL LC_COLLATE=C ../../../bin/R
--vanilla --slave > /dev/null
Floating point exception (core dumped)
*** Error code 136
Stop in /tmp/R-2.0.1/src/library/base.
2009 Aug 21
0
R installation problem with shared libraries (PR#13900)
...ry `/usr/local/opt/build/R-2.9.1/src/library/base'
ld.so.1: R: fatal: relocation error: R_AMD64_PC32: file
/usr/local/opt/build/R-2.9.1/lib/libRblas.so: symbol main: value 0x280010fd8f4
does not fit
/bin/bash: line 1: 29055 Done cat
../../../../../src/R-2.9.1/src/library/base/makebasedb.R
29056 Killed | R_DEFAULT_PACKAGES=NULL LC_ALL=C
../../../bin/R --vanilla --slave >/dev/null
gmake[3]: *** [all] Error 137
As said, adding SHLIB_LDFLAGS="-shared" to the configure command fixes this
problem.
Even with this fix I also ran into a similar problem...
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
2003 Nov 25
3
Persistent state of R
Hi
I am using R as a back-end to some CGI scripts, written in Perl. My platform is Suse Linux 8.2, Apache 1.3.7. So the CGI script takes some form parameters, opens a pipe to an R process, loads up some Bioconductor libraries, executes some R commands and takes the ouput and creates a web page. It is all very neat and works well.
I am trying to make my cgi scripts quicker and it turns out
2024 Jan 12
1
Sys.which() caching path to `which`
...base
Rsimple:
- @WHICH="@WHICH@" $(MAKE) mkRbase mkRsimple
+ @$(MAKE) mkRbase mkRsimple
## Remove files to allow this to be done repeatedly
Rlazy:
- at rm -f $(top_builddir)/library/$(pkg)/R/$(pkg)*
- @WHICH="@WHICH@" $(MAKE) mkRbase
+ @$(MAKE) mkRbase
@cat $(srcdir)/makebasedb.R | \
R_DEFAULT_PACKAGES=NULL LC_ALL=C $(R_EXE) > /dev/null
@$(INSTALL_DATA) $(srcdir)/baseloader.R \
@@ -57,4 +57,4 @@
$(top_builddir)/library/$(pkg)/R/$(pkg)
Rlazycomp:
- @WHICH="@WHICH@" $(MAKE) mkRbase mklazycomp
+ @$(MAKE) mkRbase mklazycomp
Index: src/library/base/R/...
2008 Jun 06
6
Subsetting to unique values
I want to take the first row of each unique ID value from a data frame.
For instance
> ddTable <-
data.frame(Id=c(1,1,2,2),name=c("Paul","Joe","Bob","Larry"))
I want a dataset that is
Id Name
1 Paul
2 Bob
> unique(ddTable)
Will give me all 4 rows, and
> unique(ddTable$Id)
Will give me c(1,2), but not accompanied by the name column.