Displaying 20 results from an estimated 5000 matches similar to: "Including .exe files in an R package"
2015 Feb 02
1
BinaryFiles format
Hello,
after many failed attempts to correctly write BinaryFiles file
"R CMD check will warn about them unless they are listed (one filepath per
line) in a file BinaryFiles at the top level of the package." - CRAN docs
would somebody kindly provide an example of BinaryFiles file?
thank you
Theo
--
View this message in context:
2012 Feb 13
1
executable files R package
I am in the process of creating a package in R which calls
pre-compiled C code i.e. '.exe' files in Windows.
Since CRAN will not accept packages with binary code files, what are
my options to meet the requirements while still including the
executable file?
I read section 1.5.2 of the manual which mentions three options two of
which involve negotiating with CRAN administrators. The third
2012 May 18
2
Distributing Executables.
Sorry for this intrusion, but I am confused by two statements that
appear to conflict at some level in Writing R Extensions, and wanted
to make sure I understand the answer to:
Can we distribute a portable executable compiled from source by CRAN in CRAN?
The following section of Writing R Extensions appears to not be
addressing this issue, as in this case we are discussing portable CRAN
compiled
2009 Sep 01
5
Including a binary Python Interpreter into a binary R-package for MS Windows
2009/8/30 Uwe Ligges <ligges at statistik.tu-dortmund.de>:
[snip]
> Guido van Steen wrote:
[snip]
>> Something that interests me too: What about R's policy with respect to
>> including binary files? I saw that developers should include a file
[snip]
> Please do not include binary files and carefully watch for licenses of those
> files (e.g. if GPL'ed, you need to
2010 Jun 10
3
Package not on CRAN mirrow - what now?
Package arulesSequences isn't on CRAN for automatic package install.
I downloaded a *.tar.qz version because no *.zip for Windows offered.
Why is this?
I expanded *.tar.qz in ~R/R-2.11.0/library/arulesSequences
I then assumed that R would list it in the packages list but it doesn't.
What am I doing wrong ?
Regards
2004 May 03
2
tincd.exe -K (sorry if present twice)
Hello,
can one specify the priv/pub key filepath without
the -c switch. I need some more controll over where
the keys get stored. tincd.exe, without the -n switch
stores it's keys in a static path. Relativ pathes
would help.
thx, Axel
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
2023 Dec 30
3
Help request: Parsing docx files for key words and appending to a spreadsheet
An update: Running this block of code:
# Load libraries
library(tcltk)
library(tidyverse)
library(officer)
filepath <- setwd(tk_choose.dir())
filename <- "Now they want us to charge our electric cars from litter
bins.docx"
#full_filename <- paste0(filepath, filename)
full_filename <- paste(filepath, filename, sep="/")
if (!file.exists(full_filename)) {
?
2023 Dec 30
2
Help request: Parsing docx files for key words and appending to a spreadsheet
Hi Eric
Thanks for that. That seems to fix one problem (the lack of a
separator), but introduces a new one when I complete the function Calum
proposed:Error in docx_summary() : argument "x" is missing, with no default
The whole code so far looks like this:
# Load libraries
library(tcltk)
library(tidyverse)
library(officer)
filepath <- setwd(tk_choose.dir())
filename <-
2005 Oct 29
1
dyn.load() error: bad external relocation length
R-helpers,
Is there an easy way to call an external (C) program using .C or .Call
without including the code in a package. I know how to do it using
system(), but that doesn't seem to be a permanent or portable solution.
Initially I tried:
.Call('filepath.to.c.function', arg1)
and got this error:
Error in .Call("filepath.to.c.function", "arg1", :
2020 Oct 29
2
[External] Something is wrong with the unserialize function
This
Index: src/main/altrep.c
===================================================================
--- src/main/altrep.c (revision 79385)
+++ src/main/altrep.c (working copy)
@@ -275,10 +275,11 @@
SEXP psym = ALTREP_SERIALIZED_CLASS_PKGSYM(info);
SEXP class = LookupClass(csym, psym);
if (class == NULL) {
- SEXP pname = ScalarString(PRINTNAME(psym));
+ SEXP pname =
2013 Aug 15
6
Error while adding volume through virsh
Hi,
I was trying to add volume...I got one xml snippet and I modified it
according to my node configuration:
< volume>
<name>testNode/cluster.vmdk </name>
<allocation>0 </allocation>
<capacity unit='G'>2<capacity>
</volume>
Now when I executed "virsh vol-create datastore1 /local/new_volume.xml" one
error message came saying:
2012 Oct 05
2
Using variables from different environments in one function
Dear R-community,
I have been experiencing this issue with functions within a function and
I can kind of feel where the problem is (environments, closures etc),
but I don't manage to solve it.
I will sketch it with an example:
#We have two simple "inner" functions:
############## INNER FUNCTION1 #################
innerfunction1<-function()
{
ab<-a+b
2012 Jul 10
1
info about R arulesSequences
Hi all, I'm new with R, recently I began to use the package
"arulesSequences" but the algorithm cspade give me this error:
Error en makebin(data, file) : 'sid' invalid
when I did executed this script,
x = read_baskets("transactions.basket",sep=",",info=c( "eventID",
"sequenceID","SIZE"))
s <- cspade(x, parameter =
2012 May 18
0
[LLVMdev] [RFC] llvm/include/Support/FileOutputBuffer.h
On Thu, May 17, 2012 at 3:25 PM, Nick Kledzik <kledzik at apple.com> wrote:
> I now have an implementation of FileOutputBuffer (OutputBuffer was already taken). The patch supports the functionality listed below and I've tested that it works for lld.
>
> To implement the FileOutputBuffer, I needed to add some more functions to llvm/Support/FileSystem.h, including:
>
2020 Oct 29
2
Something is wrong with the unserialize function
Hi all,
I am not able to export an ALTREP object when `gctorture` is on in the
worker. The package simplemmap can be used to reproduce the problem. See
the example below
```
## Create a temporary file
filePath <- tempfile()
con <- file(filePath, "wrb")
writeBin(rep(0.0,10),con)
close(con)
library(simplemmap)
library(parallel)
cl <- makeCluster(1)
x <- mmap(filePath,
2006 Jul 30
2
NIST StRD linear regression
NIST maintains a repository of Statistical Reference Datasets at
http://www.itl.nist.gov/div898/strd/. I have been working through the
datasets to compare R's results to their references with the hope that
if all works well, this could become a validation package.
All the linear regression datasets give results with some degree of
accuracy except one. The NIST model includes 11 parameters,
2013 Jan 23
4
Not able to do ssh with libvirt
Hi,
I am having issue while doing *ssh* to a virtual node through libvirt. The
nodes's ip address is 192.168.82.1. When I am giving the command it is
giving the following error message:
*virsh# connect vbox+ssh://192.168.82.1/session*
*Password:*
*error: Failed to connect to the hypervisor*
*error: End of ifle while reading data: sh: nc: command not found:
Input/output error.*
Can anyone
2010 Aug 19
1
texi2dvi: option "clean" also deletes the generated pdf file
Dear expeRts,
below are two examples of using texi2dvi. The problem becomes clear from the
second example: on cleaning, texi2dvi also deletes the generated .pdf file.
Is there a solution?
Cheers,
Marius
## Example 1: texi2dvi cleans fine, without deleting the generated .pdf
require(tools)
sink(file="myLaTeXFile1.tex")
cat("\\documentclass{article}\n")
2023 Dec 30
1
Help request: Parsing docx files for key words and appending to a spreadsheet
full_filename <- paste(filepath, filename,sep="/")
On Sat, Dec 30, 2023 at 1:45?PM Andy <phaedrusv at gmail.com> wrote:
> Thanks Ivan and Calum
>
> I continue to appreciate your support.
>
> Calum, I entered the code snippet you provided, and it returns 'file
> missing'. Looking at this, while the object 'full_filename' exists, what
> is