Displaying 19 results from an estimated 19 matches similar to: "problem building vignette"
2012 Jul 24
1
untaring files in parallel with foreach and doSNOW?
Hello,
I'm running some code that requires untaring many files in the first step.
This takes a lot of time and I'd like to do this in parallel, if possible.
If it's the disk reading speed that is the bottleneck I guess I should not
expect an improvement, but perhaps it's the processor. So I want to try this
out.
I'm working on windows 7 with R 2.15.1 and the latest foreach
2012 Aug 17
1
Trouble compiling package on Windows (64 bit)
I am trying to compile the R package "KernGPLM" found here:
http://www.marlenemueller.de/KernGPLM/KernGPLM_0.65.tar.gz
since the binary available is for R 2.4.
but the compilation ends with the error message:
*** arch-i386
ERROR: compilation failed for the package 'KernGPLM'
Here is my session info:
R version 2.14.2 (2012-02-29)
Platform: x86_64-pc-mingw32/x64 (64-bit)
2012 Jul 12
1
Caret: Use timingSamps leads to error
I want to use the caret package and found out about the timingSamps
obtion to obtain the time which is needed to predict results. But, as
soon as I set a value for this option, the whole model generation fails.
Check this example:
-------------------------
library(caret)
tc=trainControl(method='LGOCV', timingSamps=10)
tcWithout=trainControl(method='LGOCV')
2013 Mar 06
1
CARET and NNET fail to train a model when the input is high dimensional
The following code fails to train a nnet model in a random dataset using
caret:
nR <- 700
nCol <- 2000
myCtrl <- trainControl(method="cv", number=3, preProcOptions=NULL,
classProbs = TRUE, summaryFunction = twoClassSummary)
trX <- data.frame(replicate(nR, rnorm(nCol)))
trY <- runif(1)*trX[,1]*trX[,2]^2+runif(1)*trX[,3]/trX[,4]
trY <-
2012 May 15
1
caret: Error when using rpart and CV != LOOCV
Hy,
I got the following problem when trying to build a rpart model and using
everything but LOOCV. Originally, I wanted to used k-fold partitioning,
but every partitioning except LOOCV throws the following warning:
----
Warning message: In nominalTrainWorkflow(dat = trainData, info =
trainInfo, method = method, : There were missing values in resampled
performance measures.
-----
Below are some
2012 Oct 07
1
BioConductor package: 'oligo'
Dear Help,
After loading the pd.Citrus library and checking the DataFrame, I ran
> the R code for:
>
> 1) 'oligo'
>
>
>
> {> library(pd.citrus)
> Loading required package: RSQLite
> Loading required package: DBI
> > data(pmSequence)
>
> > show(pmSequence)
> DataFrame with 341730 rows and 2 columns
> fid sequence
> <integer>
2013 Nov 15
1
Inconsistent results between caret+kernlab versions
I'm using caret to assess classifier performance (and it's great!). However, I've found that my results differ between R2.* and R3.* - reported accuracies are reduced dramatically. I suspect that a code change to kernlab ksvm may be responsible (see version 5.16-24 here: http://cran.r-project.org/web/packages/caret/news.html). I get very different results between caret_5.15-61 +
2012 Sep 11
3
R crashes when printing a named numeric vector of a specific class - Bug?
Dear useR's,
today I stumbled over an interesting phenomenon: First, I created a
named numeric vector with a certain class and several attributes via the
structure() function. After that, I implemented a simple print method
for this class. When calling this function it produces an endless loop
of print calls until R crashes. :/
What is going on here? Is this a bug or have I done something
2006 Nov 20
1
Smallest R executable
Hello,
I am trying to find out how can I generate the smallest R executable. R is to be run in a grid application, in batch mode, so I need a small exceutable, possibly getting rid of any interactive component. Should I look at the embedded version? Any other pointers?
Many thanks,
Iago Mosqueira
--
Dr. Iago Mosqueira
Marine Research Division
AZTI Tecnalia
Txatxarramendi Ugartea, z/g
48395
2013 Jun 11
1
Caret train with glmnet give me Error "arguments imply differing number of rows"
Hello,
I'm training a set of data with Caret package using an elastic net (glmnet).
Most of the time train works ok, but when the data set grows in size I get
the following error:
Error en { :
task 1 failed - "arguments imply differing number of rows: 9, 10"
and several warnings like this one:
1: In eval(expr, envir, enclos) :
model fit failed for Resample01
My call to train
2011 Oct 18
1
problem in exceuting PLS
Hi
I'm performing a PLS
This is my data present in a file
Year Y X2 X3 X4 X5 X6
1960 27.8 397.5 42.2 50.7 78.3 65.8
1960 29.9 413.3 38.1 52 79.2 66.9
1961 29.8 439.2 40.3 54 79.2 67.8
1961 30.8 459.7 39.5 55.3 79.2 69.6
1962 31.2 492.9 37.3 54.7 77.4 68.7
My R-code
Data <- read.csv("C:/TestData.csv")
variable=names(Data)[4:8]
dataset=NULL
dataset$X=NULL
len=length(variable)
2005 Dec 28
1
RJS and :loading
Hi,
I''m a newbie with Ajax and RJS and have one basic question.
When contents in .rjs are exceuted in a Ajax sequence?
.rjs seems a kind of alternate for .rhtml view file, so I guess they are
in action after the controller action completed.
The contents of .rjs file are :complete scenario, right?
if so, can''t I write some on :loading action in .rjs?
like disabling
2004 Mar 09
1
Samba PDC & ldapi://
I've seen several references on the web to setting up the LDAP SAM to
communicate with the LDAP server via ldapi (IPC) verses ldap (IP). This
should theoretically much faster.
My LDAP master is on the same host as the Samba PDC. With nss_ldap
using "uri ldap://localhost" and Samba using "ldapsam:ldap://localhost/"
everything works.
But changing nss_ldap to use
2011 Jul 05
1
Executing a function several time, how to save the output
Hi all,
I try to exceute a function "myfun" that should use as input "input1.csv"
and "input2.csv" .
Then I try to save the output dat33 on a csv file (on per each time I
execute input1..input 2 and so on). So my problem is how to finally obtain
several csv file with "ggt1.csv", "ggt2.csv".
The program creates ggt1.csv but
BUT when runs
2007 May 25
1
multiple comboot files?
Is there a way for isolinux/syslinux to execute a list of comboot files
immediately at startup, and only once?
I have a bunch of small comboot .com files that I want to batch run immediately,
then after that do a
DISPLAY boot.msg
similar in some ways to an autoexec.bat.
For example:
DEFAULT mycd
APPEND ramdisk_size=100000 init=/etc/init lang=us ....
TIMEOUT 300
ONSTARTUP mybatch <- ???
2006 Jul 17
3
mini-os under xen 3.0.2
Hello all,
I have successfully installed xen 3.0.2 on a dual celeron system. Linux in
dom0 works fine. Now, I would like to play with the mini-os (my ultimate goal
is to implement a small RTOS as guest in Xen, so mini-os looks like an ideal
starting point). However, I can''t seem to get it to run as (I think) it
should: It boots up, but as far as I understand the source code and the
2012 Jul 26
2
RGL
Dear all,
I was willing to use the library "rgl" to plot some 3D graphics, but unfortunately, I wan't able to instal the library. The error message is below.
I would be very grateful if you could give me any clues about how I can solve this.
Below you will find :
- installation from binaries
- installation from sources
- sessionInfo()
Bests,
--
Guillaume Meurice - PhD
Plateforme
2007 May 22
0
BackgroundRb Server not responding
Hey,
I have scheduled script that is not working very well. It will only run
once or twice before I have to restart the server to get it running again.
If I try to the worker manually after it has stopped exceuting the schedule
I get this in the server log:
20070522-07:33:36 (5030) Connection reset by peer - (DRb::DRbConnError)
20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:566:in
2012 Oct 25
2
WAVE PCM to OPUS and back
Hello,
I have an p2p voice chat application using WAVE PCM (winmm). Now i am
trying to add opus encoding to it to send it over the TCP/IP and then
decoding it back to play - but without success (without opus it works ok)
Here is an example of my code. I get message from input device then
encode with opus then decode it back to output wave header and play.
Doing it i hear only noise in my