Displaying 20 results from an estimated 300 matches similar to: "send a list from R to C"
2017 Jun 08
2
add_model paquete modeval
Estimados compañeros me gustaría saber si alguno ha utilizado la función
add_model del paquete modeval cuando la variable de clasificación (y)
tiene más de dos niveles. Porque si la utilizo con más niveles siempre
me sale el error:
Error: length(levels(factor((purrr::as_vector(y))))) == 2 is not TRUE Me
parece muy interesante el paquete y no veo donde indica esta limitación.
Un cordial
2006 Mar 21
1
build R on windows
Hi,
I'm not sure if this question has been answered before, but when I
execute command "Rcmd INSTALL --build nws" to build an R package on
Windows,
the build process got stucked on the save image step.
Here is the snapshot of the build process,
--- Making package nws ----
adding build stamp to DESCRIPTION
installing NAMESPACE file and metadata
installing R files
2006 Feb 01
1
The install.R and R_PROFILE.R files
R-exts says
Both install.R and R_PROFILE.R should be viewed as experimental; the
mechanism to execute code before attaching or installing the package may
change in the near future. With the other facilities available as from R
2.0.0 they should be removed if possible.
Every usage of these on CRAN is unnecessary. If you want to save the
image, say so in the SaveImage field in
2017 Jun 08
2
add_model paquete modeval
No Carlos la limitación está en la función add_model porque si utilizo
randonForest fuera de esa función no existe limitación en el número de
categorías de la variable de clasificación. He escrito al autor de
modeval y espero también su respuesta. Además he probado a dejar el
modelo con dos categorías y la función no da error.
Un cordial saludo,
Juan
El 08/06/2017 a las 13:39, Carlos
2004 Dec 03
0
Package dev: Depends, require, SaveImage best practices?
I'm trying to sort out some best practices for package development and
understand some behavior of R CMD check that has me confused.
Best practice question: If a package foo appears in the Depends field in
the DESCRIPTION file of mypkg, should I refrain from using require(foo)
in the R source files of mypkg?
The Writing R Extensions manual says this about the Depends field:
... the
2004 Aug 08
1
Use of R_PROFILE.R / install.R
According to R-exts:
The second purpose for @file{install.R} is to hold code that needs to be
executed each time the package is attached, after the image is
loaded. Few packages have a need for such code so @file{install.R} is
normally an empty file.
The optional file @file{R_PROFILE.R} is executed before the code in the
@file{R} subdirectory and should be used to set up an
2008 Apr 23
2
ROracle error at step 1
Hi
I Can't connect to the Oracle database, any tips? Has anybody actually
got ROracle up and running on windows?
>> unable to find an inherited method for function "dbConnect",
for signature "OraDriver"
I can happily connect to the same database through RODBC. Oracle client,
version 9.2 installed, amongst others.
Sean
> library(DBI)
> library(ROracle)
2005 Nov 17
2
Building S4-classes, documents
Hello,
I have some troubles when building S4-class packages.
All my (S4-)code works well (without building a package).
When building a package, in the R prompt after
checking S3 generic/method consistency
Following error occurs:
Fehler: Kann R Kode in Packet 'AddNoise' nicht laden (~Error: Can not
load R code from package 'AddNoise')
(and there are some warnings after the
2001 Apr 23
1
several bugs (PR#918)
# Your mailer is set to "none" (default on Windows),
# hence we cannot send the bug report directly from R.
# Please copy the bug report (after finishing it) to
# your favorite email program and send it to
#
# r-bugs@r-project.org
#
######################################################
1. as.numeric behaves differently in R than in S and I think this
shows a bug in how S3
2005 Jun 28
0
New package `party': A Laboratory for Recursive Part(y)itioning
Dear useRs,
a new package for tree-structured regression is available on CRAN.
This package implements a unified framework for recursive partitioning
which embeds tree-structured regression models into a well defined
theory of conditional inference procedures. Stopping criteria based on
multiple test procedures are implemented. The methodology is applicable
to all kinds of regression problems,
2005 Jun 28
0
New package `party': A Laboratory for Recursive Part(y)itioning
Dear useRs,
a new package for tree-structured regression is available on CRAN.
This package implements a unified framework for recursive partitioning
which embeds tree-structured regression models into a well defined
theory of conditional inference procedures. Stopping criteria based on
multiple test procedures are implemented. The methodology is applicable
to all kinds of regression problems,
2006 Jun 07
0
Wishlist: Writing R Extensions suggestions RE: [R] vague errors on R CMD check for very minimal S4-style package (PR#8944)
Ah yes. There they are right on page 4 of "Writing R Extensions".
The "LazyLoad: yes" was sufficient to avoid the check errors, but I'll
add the "Depends: methods" as well.
For the manual-impaired like me, it _may_ be worth reiterating these two
requirements in section 1.6.6 "Name spaces with formal classes and
methods" - right where the .onLoad
2005 Jun 03
0
New CRAN package `coin'
Conditional Inference Procedures in a Permutation Test Framework
The `coin' package implements a general framework for conditional
inference procedures, commonly known as permutation tests,
theoretically derived by Strasser & Weber (1999). The conditional
expectation and covariance for a broad class of multivariate linear
statistics as well as the corresponding multivariate limiting
2005 Jun 03
0
New CRAN package `coin'
Conditional Inference Procedures in a Permutation Test Framework
The `coin' package implements a general framework for conditional
inference procedures, commonly known as permutation tests,
theoretically derived by Strasser & Weber (1999). The conditional
expectation and covariance for a broad class of multivariate linear
statistics as well as the corresponding multivariate limiting
2006 Aug 09
0
CRAN package: update of 'vars' submitted
Dear useR!
an updated version of package 'vars' has been shipped to CRAN lately.
Information on package 'vars':
==============================
Title: VAR Modelling
Version: 0.1.3
Date: 2006-07-27
Author: Bernhard Pfaff
Maintainer: Bernhard Pfaff <bernhard at pfaffikus.de>
Depends: R (>= 2.0.0), MASS, strucchange
Saveimage: yes
2006 Jun 06
1
vague errors on R CMD check for very minimal S4-style package
Hello,
I have a very minimal package "simplepkg" (DESCRIPTION, NAMESPACE, and
R) with S4 classes/methods (defines a class "foo" and a show method for
that class" - both the class and show method are exported). I can
seemingly install the package, then load and use it:
> sessionInfo()
Version 2.3.1 (2006-06-01)
sparc-sun-solaris2.10
attached base packages:
[1]
2000 Jan 13
1
Printing woes
Hi,
I've been using Samba for a while, and I'm now running all network
printing here from Samba. However, while printing itself works fine, my
users can neither view the print queue, nor delete jobs from it, and
this is beginning to get annoying. I'm using LPRng to do all the
printing. All the clients are NT4 workstations. Here's some selected
bits of /etc/smb.conf and
2006 Mar 05
3
Where to declare S4 classes?
Dear listers,
I am making a trial to move from S3 to S4... I have created some classes
of interest and they work acceptably well for the purpose. I am now
wondering how to make them operate in a package. In clear when a package
is loaded (eg library(mypackage)) where should I put the class descriptions:
2010 Aug 04
1
error with ReadAffy()
Hi!I'm doing a little data importing from .cel files,
> setwd("/home/mandova/celfiles")
> mydata<-ReadAffy()
Error in sub("^/?([^/]*/)*", "", filenames, extended = TRUE) :
unused argument(s) (extended = TRUE)
Then I tried
> filenames<-paste("GSM",c(seq(138597,138617,1)),".cel",sep="")
>
2002 Jun 03
1
build fails dumping R code in 'methods' on i686-pc-linux-gnu (PR#1630)
Using the same settings in config.site as were used for R-1.4.1,
R-1.5.0 fails to build.
./configure --enable-R-shlib
Using defaults and using PPro optimizations, the build failed in
package methods:
dumping R code in package 'methods'
gmake[4]: *** [../../../library/methods/R/all.rda] Error 139
gmake[4]: Leaving directory `/mnt/Data/src/install/R-1.5.0/src/library/methods'
The