Displaying 20 results from an estimated 110 matches similar to: "Passing the parameter (file name) to png()"
2009 Aug 28
2
Pls package
Hi,
I have managed to format my data into a single datframe consisting of two AsIs response and predictor dataframes in order to supply the plsr command of the pls package for principal components analysis.
When I execute the command, however, I get this error:
> fiber1 <- plsr(respmat ~ predmat, ncomp=1, data=inputmat,validation="LOO")
Error in model.frame.default(formula =
2010 Mar 11
1
Append to outfile in R CMD BATCH mode
Is there a way to append to the outfile when using R CMD BATCH? My code, right now, is:
R CMD BATCH --slave --vanilla '--args place .2 -.1 .9 .6' StratificationSimulation example.output
Everything else is working the way I'd like it. The first few lines of code of my script file are:
options(echo=FALSE)
cmd_args = commandArgs()
print (cmd_args)
#d <-
2012 Nov 21
4
Function storing error messages in 32 bit R-2.15.2 version
I am using 32 bit R - 2.15.2 version and working on package ltm. The
program does not give me any warning message when I run tpm command for a
dataset. If run tpm command for the same dataset in 64-bit R 2.15.1
version, I get the warning message shown below.
Can someone suggest why is no warning message being generated by 32-bit R?
Or is it being generated but not getting printed? Which function
2006 Feb 20
1
Test Vectors Needed to Test Ogg Vorbis Encoder
Hello to All Members of this Group,
Can I get the Test Vectors in .wav format for different sampling rates in
order to Test the Ogg Vorbis Encoder Code ?
If possible Forward the Link where I can get effective testvectors to Test
the Encoder.
Please Reply As soon as possible .
Thanks & Regards ,
Maulik Desai
Embedded Engineer - Embedded Division
eInfochips Ltd.
Work:
2005 Apr 08
2
DLL Memory Problem
Hello,
I have created a .dll file using G77 and MinGW on my PC (Windows
2000). After using dyn.load to bring it into R2.0.1, I then call the .dll
through the function ccprox shown below. It returns the correct
values. If I run it a second time though it returns different values, so
it seems something is being placed oddly in memory.
If I unload and reload the .dll it works again the first
2012 Apr 16
2
libvirt slow responding after define poool with existing VG with some other lv
If I add VG with some other lv-s to libvirt pool then libvirt slow
responding. How to fix it?
<pool type='logical'>
<name>LVM_MAIN</name>
<uuid>a2713bed-ad4a-fb79-83b5-65a9e8f1094e</uuid>
<capacity>0</capacity>
<allocation>0</allocation>
<available>0</available>
<source>
2009 Sep 21
2
How to handle missing values for the GeneMeta package?
Hello all,
It seems that the GeneMeta passage returns NA in the respective row if
any gene in the data sets to be synthesised are missing. Do you know
of a way to overcome this problem?
I tried using the 'impute' package to fill-in the missing values, but
R crashes if 'impute' and 'GeneMeta' packages are used together. I
have asked a separate question for that.
Thanks
2011 Aug 02
0
[Rd] example package for devel newcomers
Em Segunda 01 Agosto 2011, voc? escreveu:
> Is there a preferred language you would like to use in your package
> development? I randomly downloaded packages until I found some that
> helped me along my way, and might be able to help you pick one. If you
> are just looking at building a package of R functions and data you
> have developed, possibly the following example will get you
2010 Oct 02
1
Possible Bug in Effects Package
Dear List,
I find Effects package very useful, but I believe I have found a bug in
allEffects function. Please consider the following code:
test <- data.frame(tries= round(runif(40, 5, 300)),
tra = gl(4, 10, labels = c("V", "D", "C", "L")),
prop= runif(40, 0, 1))
test$success <- round(with(test, tries*prop))
test$prop <- with(test,
2011 Jul 31
3
example package for devel newcomers
Hi,
I'd like to know whether there is a package (or more, of course) regarded
as a good example that could be used also as an instructional tool for
newcomers to R extensions development.
Thanks.
--
Alexandre
--
Alexandre Santos Aguiar, MD, SCT
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198
2006 Jun 21
3
png() or jpeg() in a php script
Hello,
I've got a problem with a PHP script, in which I call the system function
(to call another processes). The call is :
system("R --slave --vanilla < path/to/source/source.R");
if in this R file, I've got the lines:
pdf(file="/path/to/file/file.pdf")
commands
dev.off()
the pdf file is perfectly created
but if I change the lines to:
2006 Jun 23
0
Testing for Significance Between Logistic Regressions
This is more of a statistics question with implementation implications.
I have used R to calculate logistic regressions for various
characterstics. I would now like to verify that the difference
between a particular subset is significantly different from the
logistic regression of the entire set.
Example.
I have a logistic regression containing every running back drafted
between 1980-2000. I
2010 Apr 29
1
Updrading samba
Hello all,
I use samba 2.0.5 in one of my machine and in other machine i use windows xp. This combination works perfectly when come into file sharing. But when i use windows vista with samba 2.0.5 i cannot use samba share. I did lots things in vista to run samba share but iot was helpless. So i like to know that if i upgrade samba to version 3 or later will i be able to run samba share with vista
2011 Jan 10
0
Capturing error messages while running R through an external program
I am trying to automate scoring done by applying 3 parameter model of IRT to
the response data. I call R from PHP to do this using exec(). Since I face
convergence issues while using R, it is important that the program captures
the error messages like "the solution is not stable" given by R while
running tpm().
How does one do that? I find sink() of no use to do that.
Regards,
Maulik
2007 Jun 19
1
Dissimilarity Analysis
Hello you all!
I am a completely new user of R and I have a problem to solve.
I am using Mac OS X on a PowerBook.
I have a table that looks like this:
species X1 X2 X3 X4 X5 X6 X7 X8 X9 X10 X11 X12 X13 X14
X15 X16 X17 X18 X19 X20 X21
1 Anth_cap1 1 0 0 1 0 1 0 0 1 0 0 0 0 0
0 0 1 0 0 0 1
2 Anth_crin1 1 0 0 1 0 1 0 0 1 0 1
2006 Jul 24
1
XMLRPC WebService and Structs
Hi
First off, I apologise if this is covered somewhere and I just don''t
get it... I''ve looked far and wide ....
As a part of my current project I need to hook up to a particular
XMLRPC webservice that won''t be available for me to use until close
to launch date... So I am trying to recreate the webservice that
mirrors the live one so I can test my application
2009 Jan 28
1
stack data sets
Hi All,
I'm generating 10 different data sets with 1 and 0 in a matrix form and writing the output in separate files. Now I need to stack all these data sets in one vector and I know that stack only operates on list or data frame however I got these data sets by converting list to a matrix so can't go backwards now. Is there a way i can still use Stack?
Please see the program:
2010 Apr 22
1
Transport endpoint not connected
Hey guys,
I've recently implemented gluster to share webcontent read-write between
two servers.
Version : glusterfs 3.0.4 built on Apr 19 2010 16:37:50
Fuse : 2.7.2-1ubuntu2.1
Platform : ubuntu 8.04LTS
I used the following command to generate my configs:
/usr/local/bin/glusterfs-volgen --name repstore1 --raid 1
10.10.130.11:/data/export
2006 Jul 26
2
A Struct inside of a Struct
Hi...
I really need some help on something I am working on... I am trying to
create an XML-RPC webservice that sends the following as a response...
As you can see it looks like I can use a Struct with a boolean: member
but I don''t seem to be able to have another Struct as a member? Am I
barking up the wrong tree trying to do it this way? Should I try
something else?
I would really
2009 Jan 28
0
How to stack data sets?
Hi All,
I'm generating 10 different data sets with 1 and 0 in a matrix form and writing the output in separate files. Now I need to stack all these data sets in one vector and I know that stack only operates on list or data frame however I got these data sets by converting list to a matrix so can't go backwards now. Is there a way i can still use Stack?
Please see the program: