Displaying 20 results from an estimated 500 matches similar to: "CRAN check error with no example?"
2018 Apr 05
1
potential file.copy() or documentation bug when copy.date = TRUE
This is a recent R-devel. file.copy() is not vectorized if multiple
destinations succeed:
cat("foo1\n", file = "foo1")
cat("foo2\n", file = "foo2")
unlink(c("copy1", "copy2"), recursive = TRUE)
file.copy(c("foo1", "foo2"), c("copy1", "copy2"), copy.date = TRUE)
#> Error in
2009 Dec 11
1
about --link-dest
Hello all:
I don't know what I'm doing bad, but --link-dest does not work for me:
I have three directories, the original one, the first copy and the second copy I want to populate:
$ ls -li
total 12
1761433 drwxr-xr-x 2 envite envite 4096 dic 10 14:04 copy1
1761434 drwxr-xr-x 2 envite envite 4096 dic 11 01:18 copy2
1761432 drwxr-xr-x 2 envite envite 4096 dic 10 14:04 origin
$ ls -li *
2014 Dec 08
2
CRAN packages mis-using \donttest : falsy
Hi all,
anyone has an idea how I could fix this?
\donttest{
## Set colors from colorspace package with a fallback
col <- try(colorspace::rainbow_hcl(5), silent = TRUE) %||% rainbow(5)
}
The problem is that this makes R CMD check freak out
(http://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-clang/falsy-00check.html)
if the colorspace package is not declared as a dependency.
2019 Sep 21
4
Samba 4.11 "Stale file handle"
Hello,
After upgrading to Samba 4.11 (from 4.10) I noticed that python
scripts using tempfile.mkstemp fail when run against samba cifs
mounts. Before I submit a bug report, could someone else try this out
so it's not just my setup?
How to reproduce:
1. Mount a Samba 4.11 share using the mount command: mount
//server1/share /tmp/share1
2. Run python script that is using mkstemp:
import
2003 Oct 31
2
How to grow an R object from C (.Call Interface)
What is the best way to grow an R return object in writing a C function
using the Rdefines.h macros.
In my application, the final size of the return object is not known during
construction. My understanding is that each time I grow an R object I have to
use PROTECT() again, probably before UNPROTECTing the smaller version.
However, due to the stack character of the PROTECT mechanism, UNPROTECT
2011 Sep 17
4
Shorewall DNAT to IPSET
I would like to dnat certain protocols (HTTP, HTTPS, SSH) to the
contents of an ipset (lan:+serviceshost or similar) where the ipset is
ensured to contain only one host, but can be changed dynamically when
services are in maintenance mode and go to the "services are down"
message on another server. Will this work, or am I barking up a fish here?
2009 Sep 22
2
cannot build R-devel (>= r49747)
Hello,
I've tried several times yesterday to build R-devel and I consistently
get this error when I "make" :
mkdir -p -- ../../../library/base/R
make[3]: Leaving directory `/tmp/R-devel/src/library/profile'
make[3]: Entering directory `/tmp/R-devel/src/library/base'
building package 'base'
make[4]: Entering directory `/tmp/R-devel/src/library/base'
mkdir -p --
2009 Jan 08
1
Callbacks seems to get GCed.
Dear list,
I am trying to implement a publish-subscribe mechanism in for an embedded
R interpreter. But somehow my registered closures seem to get collected by
the GC, even though I have protected them. I have reducted my code to the
following sample. Sorry if it is a little verbose.
The first couple of call of calls still work, but at some point one of the
callbacks (callback1 in my
2008 Aug 04
2
Parsing code with newlines
Dear List,
When I try to parse code containing newline characters with R_ParseVector, I
get a compilation error. How can I compile code that includes comments and
newlines?
I am using the following:
void* my_compile(char *code)
{
SEXP cmdSexp, cmdExpr = R_NilValue;
ParseStatus status;
PROTECT (cmdSexp = allocVector (STRSXP, 1));
SET_STRING_ELT (cmdSexp, 0, mkChar (code));
2006 Aug 07
2
Backquote in R syntax
Hi Folks,
Can someone satisfy my curiosity (well, at least about
the following query!)
Reading the draft proofs of an article I've been asked
to look through, I find the typesetter has set what
would normally be entered as
source("xyz.R") or source('xyz.R')
as
source(`xyz.R')
i.e. it has come out with an opening backquote, then
xyz.R, then a closing forward
2012 Apr 27
1
Hyperspec package: need to change spectra names in a stacked plot
Hi all,
I need to insert the name of spectra in a stacked plot obtained with
hyperspec.
I use this command
plot(spectra [c(-1:-4, -6:-8, -10:-12, -14:-16)], stacked = T)
but, in this way R draw nameless spectra on the Y axis.
How can I solve the problem?
Thank you for any suggestion.
Best regards,
Roberto
--
View this message in context:
2010 Oct 28
2
R and Matlab
Dear Group,
I am looking for ways to use R and Matlab. Doing the data transformations in
R and using the data in Matlab to analyze with some pre-defined scripts.
Any good ways to transfer the data into matlab in its most recent version?
I tried using R.matlab but the writeMat output is not readable by Matlab.
I just need to output a data.frame and read it as is into matlab where I can
do any
2011 May 04
1
Outlier removal by Principal Component Analysis : error message
Hi,
I am currently analysis Raman spectroscopic data with the hyperSpec package.
I consulted the documentation on this package and I found an example
work-flow dedicated to Raman spectroscopy (see the address :
http://hyperspec.r-forge.r-project.org/chondro.pdf)
I am currently trying to remove outliers thanks to PCA just as they did in
the documentation, but I get a message error I can't
2004 Nov 03
2
WINS setup / browsing
I just successfully upgraded a server from v 2.2.8 to v3.0.7. When I
execute smbstatus or swat it correctly shows v 3.0.7. When I browse thru
network neighborhood it still shows v 2.2.8. I stopped samba, and removed
/usr/local/samba/var/locks/browse.dat & wins.dat. Then restarted samba. It
still reports v2.2.8 thru network neighborhood. In viewing browse.dat it
shows 2.2.8. Where is this
2014 Oct 17
1
cannot compile samba4 git or from src version samba-4.1.12
I'm trying to compile samba4 on a raspberry pi
It fails with this error:
[3946/4073] Linking default/source3/modules/libvfs-shadow-copy2.so
[3947/4073] Linking default/source3/modules/libvfs-fake-perms.so
[3948/4073] Linking default/source3/net
[3949/4073] pidl.1p: pidl/pidl -> bin/default/pidl/pidl.1p
[3950/4073] Parse::Pidl::Dump.3pm: pidl/lib/Parse/Pidl/Dump.pm ->
2013 Oct 16
1
Parallel R expression evaluations
Hi all,
I am using R-3.0.1 under Linux platform to embed R into my C++ code.
I am facing an error while executing more than 1 R-expressions parallelly.
I am executing round(X) and abs(X) parallelly on a set of 50 input rows
which resulted in segmentation fault after getting the following errors.
Error: unprotect_ptr: pointer not found
Error: argument to 'findVar' is not an environment
2020 May 18
1
Shadow Copy2 & zfs Snapshots
Hi there
I'm having some troubles with Shadow Copy2 & zfs Snapshots. I have
hourly and daily snapshots. If I use the following settings it works
(but omits daily snapshots):
vfs objects = shadow_copy2
shadow:snapdir = .zfs/snapshot
shadow:sort = desc
shadow:localtime = yes
shadow:format = easysnap-hourly_%Y-%m-%d-%H-%M-UTC
However when I try to use the BRE with the prefix,
2010 Jul 15
4
Sweave: infelicities with lattice graphics
In a paper I'm writing using Sweave, I make use of lattice graphics, but
don't want to explicitly show (or explain)
in the article text the print() wrapper I need in code chunks for the
graphs to appear.
I can solve this by including each chunk twice, with different options,
as in
<<ortho-xyplot1-code, keep.source=TRUE, eval=FALSE>>=
library(nlme)
library(lattice)
2010 Feb 28
1
dots for sample
Dear R-Developers,
could 'sample' gain a ... argument?
As a convenience function, I added a sample Method to my hyperSpec
class. This function however has a flag indicating whether the results
should be returned directly as a hyperSpec object or rather as indices
that give a random sample.
For the moment, I use SetGeneric to add the dots argument, but this of
course gives a warning
2014 Dec 08
0
CRAN packages mis-using \donttest : falsy
On 08/12/2014 9:40 AM, G?bor Cs?rdi wrote:
> Hi all,
>
> anyone has an idea how I could fix this?
>
> \donttest{
> ## Set colors from colorspace package with a fallback
> col <- try(colorspace::rainbow_hcl(5), silent = TRUE) %||% rainbow(5)
> }
>
> The problem is that this makes R CMD check freak out
>