Displaying 20 results from an estimated 4000 matches similar to: "A question of install R packages"
2010 Jun 09
2
Question on trying to build R 2.11.1 on Tru64(aka OSF1)
First I tried 'setenv R_SHELL /usr/local/bin/bash', as bash is the weapon
of choice for the faculty wishing to use R, then ran ./configure as before.
The ./configure output line
using as R_SHELL for scripts ... /usr/local/bin/bash
would seem to indicate that the R_SHELL environment variable was recognized
and acknowledged. However, I got the same build error:
gnumake[2]: Entering
2000 Aug 09
2
GenGC changes
As most R developers maybe are already aware of, R version 1.2.0
introduced a new `generational' garbage collector which means that
strings and vectors (and language objects) are handled differently from
the numerical atomic types.
>From ``Writing R Extensions'':
Earlier code was written in a style like.
VECTOR(dimnames)[0] = getAttrib(x, R_NamesSymbol);
2007 Jun 28
1
How to set R_CStackLimit
Hi,
I have tried to disable stack checking by set R_CStackLimit to -1. However,
it always crashes my win32 multiple threads program. I am using R-2.5.0. My
code looks like:
#include <Rversion.h>
#if (R_VERSION >= R_Version(2,3,0))
#define R_INTERFACE_PTRS 1
#define CSTACK_DEFNS 1
#include <Rinterface.h>
#endif
and then, add below line to my main function:
R_CStackLimit =
2002 Oct 27
3
RODBC patchlet
[ Disclaimer: Yes, I do know that RODBC is in a state of minor limbo as far
as maintenance is concerned. But it is also useful, and used, which is why I
hope that someone might apply the small change outlined below. ]
The current version in CRAN's devel directories fails to build under R 1.6.1
(beta from Oct 27):
chibud:/home/edd/RODBC# R CMD INSTALL .
* Installing *source* package
2010 Sep 09
1
Error in normalizePath(path) : with McAfee
Dear R People:
I keep getting the "Error in normalizePath(path) :" while trying to
obtain the necessary packages to use with the "Applied Spatial
Statistics with R" book.
I turned off the Firewall (from McAfee) but am still getting the same message.
Does anyone have any idea on a solution please?
> sessionInfo()
R version 2.11.1 (2010-05-31)
i386-pc-mingw32
locale:
[1]
2002 May 02
2
Rversion.h
Our current intention is to no longer include Rversion.h from R.h as from
R 1.6.0 (which is months away).
Package maintainers when revising code might like to check if they
actually use Rversion.h, and if so include it explicitly.
I did a quick grep through the CRAN packages, and in all but one case
(mda) the test is for R < 1.2.0, so it may be simplest just to tidy up
and add `Depends: R
2010 Jul 19
4
problem with using tm
I have R installed on my computer and want to use the tm module. I selected a
CRAN mirror then selected tm on the install package menu. This is the
response I got:
also installing the dependency ?slam?
trying URL
'http://cran.mirrors.hoobly.com/bin/windows/contrib/2.11/slam_0.1-13.zip'
Content type 'application/zip' length 41992 bytes (41 Kb)
opened URL
downloaded 41 Kb
trying
2003 Jul 16
2
Fatal error in SJava.
Dear r-helpers,
I have been trying to invoke R from Java in a Windows 2000 computer
(unfortunately). All my environment variables seem to be properly set,
everything seems to be in order, but I obtaining a
Fatal error: unable to open the base package
error window.
Also, the output of the invoker is
Loading RInterpreter library
R_HOME: R_HOME=C:/Programas/R
RVersion: R_VERSION=1.6.1
whereas
2009 Jan 27
2
Package (PR#13475)
Full_Name: Partho Bhowmick
Version: 2.8.1
OS: Windows XP
Submission from: (NULL) (199.43.48.131)
While trying to install package sn (I have tried multiple mirrors),
I get the following message
trying URL 'http://www.revolution-computing.com/cran/bin/windows/contrib/2.8/sn_0.4-10.zip'
Content type 'application/zip' length 320643 bytes (313 Kb)
opened URL
downloaded 313 Kb
2020 Mar 23
2
Inconsistant result for normalizePath on Windows
Hi all,
I saw a quite surprising result in the devel R when using the function
*normalizePath*. If the input is a path to a folder, the function returns
an absolute path with/without a slash at the end depending on the existence
of the folder. I know both results are valid on Windows but this behavior
is different than R3.6, I do not know if the change in the devel version is
made on purpose.
2019 Jan 24
1
Bug or undocumented behavior in normalizePath() with file system links on windows
Hello,
I discovered a bug or undocumented behavior in normalizePath
steps to reproduce:
execute normalizePath on a folder link on windows. When you are on a
non-english windows box, you likely have links in place for windows'
default folders, e.g. "C:\Programme" linking to "C:\Program Files" on
german windows boxes.
Thus executing
Suggestion/opinions: add a `absolute` param to `normalizePath()` to force returning an absolute path
2020 Apr 14
4
Suggestion/opinions: add a `absolute` param to `normalizePath()` to force returning an absolute path
This request stems off a bug report I posted
https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17757 where it was
determined the current behaviour is as expected.
To recap: when given a real file, normalizePath() always* returns the full
absolute path. When given a non-existent file, normalizePath() returns a
full path on Windows but it returns the input on other systems*. I'd argue
that
2011 Apr 06
2
R CMD check for 2.13 rc
Hi,
I have a couple of new errors in our package when I check it on R 2.13-rc (r55310). The first one that's mystifying me is
* checking R code for possible problems ... NOTE
Error : object normalizePath is not exported by 'namespace:utils'
Error : object normalizePath is not exported by 'namespace:utils'
Firstly, it's strange to see NOTE and Error being used
2014 Sep 07
2
normalizePath is sometimes very slow for nonexistent UNC paths
I'm having an issue with occasionally slow-running calls to
normalizePath. If the path is a non-existent UNC path, then
normalizePath sometimes takes 6 or 7 seconds to run, rather than its
usual few microseconds. My big problem is that I can't reliably
reproduce this across machines.
The example below generates one or two slow runs out of 10000 on my
Windows machine. I haven't been
2019 Sep 04
2
possible bug in R's configure check for C++11 features
I am trying to compile R under a new setup, and frankly, I have had a lot
of problems, but I think the stuff below points to a possible bug in R's
(custom) configure checks for C++11/14/17, but not for C++98.
This is a report about R from the R-3-6 branch, with a svn checkout from
today, revision r77135.
In my case the compiler name is x86_64-conda_cos6-linux-gnu-g++, not g++. I
denote this
2016 Feb 29
3
Sys.readlink (on BSD vs Linux)
Hello,
sorry for not being clear enough.
My problem is represented with the following code, running on OSX:
mkdir ~/test
ln -s ~/test ~/testlink
touch ~/test/foo
Rscript -e 'Sys.readlink(c("~/test/foo", "~/testlink/foo")); normalizePath(c("~/test/foo","~/testlink/foo"))'
I expected `Sys.readlink` to show the same output as `normalizePath`.
Also,
2010 May 10
3
update.packages fails with directory not found
Windows XP. I have just updated to R 2.11.0 and then run
update.packages. In the series of updates, a few will succeed, then I
get a failure like
package 'mvtnorm' successfully unpacked and MD5 sums checked
package 'party' successfully unpacked and MD5 sums checked
package 'PBSmodelling' successfully unpacked and MD5 sums checked
Error in normalizePath(path) :
2010 Aug 20
1
Problem Installing R-Commander
I am trying to install R Commander in my R installation on a laptop running
the 64 bit version of Windows 7 Professional. I was running R as the
Administrator.
The downloads proceed normally via CRAN, but then I get the following error
messages:
package ''slam'' successfully unpacked and MD5 sums checked
package ''fBasics'' successfully unpacked and MD5
2017 May 17
3
problem running test on a system without /etc/localtime
Hi all,
A problem with tests while building R.
I'm packaging R for Sisyphus repository and package build environment,
by design, doesn't have /etc/localtime file present. This causes failure
with Sys.timeone during test run:
[builder at localhost tests]$ ../bin/R --vanilla < reg-tests-1d.R
> ## PR#17186 - Sys.timezone() on some Debian-derived platforms
> (S.t <-
2012 Jan 27
2
misfeature: forced file.copy() of a file over itself truncates the file ...
Try this:
fn <- "tmp.dat"
x <- 1:3
dump("x",file=fn)
file.info(fn) ## 9 bytes
file.copy(paste("./",fn,sep=""),fn,overwrite=TRUE)
file.info(fn) ## 0 bytes (!!)
Normally file.copy() checks and disallows overwriting a file with
itself, but it only checks whether character string 'from' is the same
as character string 'to'