Displaying 20 results from an estimated 2000 matches similar to: "gsummary function (nlme library) (PR#8782)"
2006 May 17
1
Fix for augPred/gsummary problem (nlme library)
Dear R-users,
I am a newbie to this site and a relative new-comer to S/R, so please tread lightly, for you tread...
There have been several posting relating to problems with augPred() from the nlme library. Here is a "fix" for one of these problems which may lie at the root of others.
In my case the problem with augPred() lay in gsummary(), which augPred() uses, causing it to fail.
2006 Aug 03
1
gsummary
Could someone give me a hand with the format of the gsummary function? Basically, I have a large set of xyz coordinates generated by LiDAR data (>37 million points) and I am trying to derive various summary statistics on the z-coordinates by a grid cell. I wrote a function to do this by creating factors from the x- and y- coordinates and then using gsummary. However, I want the function to
2008 Jan 13
2
{worker} after :end-time worker freaks out
Hi all,
i was using bdrb a while ago and it wasn''t stable enough in version
0.2.1 for doing the job - it loss jobs or did execute only the first one
invoked and so on.
Now i gave the new version a try and i found a bug at playing around.
When i start a worker_method over the normal Unix scheduler bdrb will
start as much as possible the worker_method after the :end-time is reached.
2004 Nov 05
2
Creating .Rout.save files for package subdirectory "tests"
Hi,
I added the "tests" subdirectory and a test file (say "myTest.R") to our
"systemfit" package. Up to now I create the "myTest.Rout.save" file with
> R CMD BATCH --vanilla myTest.R myTest.Rout.save
However, "R CMD check" reports two differences between myTest.Rout.save and
the output of myTest.R:
a) myTest.Rout.save contains following
2013 Dec 13
2
how can i write the function into a file c:/mytest.R with cat function?
mytest<-function(x,f){
sum(x*f)/sum(f)
}
cat(mytest,file="c:/mytest.R")
Error in cat(list(...), file, sep, fill, labels, append) :
argument 1 (type 'closure') cannot be handled by 'cat'
how can i write the mytest function into a file c:/mytest.R with cat function?
[[alternative HTML version deleted]]
2009 Jan 16
3
rspec model testing - test on user defined validation- How do I test that the create failed.
I''m new to rspec and looking for way to test a validation I added to a model.
The test checks to see that if field1 has a value then field2 must be nil
and vice versa.
-------------------------------
When I did the rspec_scaffold it generated one test which worked
before :each do
@valid_attributes = {
:field1 = "value for field1"
:field2 = "value for
2009 May 19
2
incremental directory searche in rsync 3.0.6
Hi,
I was in under impression that rsync 3.0.5/3.0.6 creates all the missing
directories in the path but I think I am wrong. Could any one tell me is it
possible to create all missing dirs in path at destination side if not
exists. Currently, I have been getting below errors.
rsync -avz /tmp/mytest/rsync-test/dir-test/parent-dir/
desthost:/tmp/mytest/rsync-test/dir-test/parent-dir/
sending
2014 Jun 09
4
[LLVMdev] LTO and Optimized libraries don't mix
When using the ARM cross compiler we've run into an issue with LTO and
optimized libraries.
Consider you have an optimized library opt.a, which contains a version of
memcpy.
Compiling with LTO (something like),
clang myTest.c opt.a -flto -o myTest
causes myTest.c to get compiled to bitcode.
Then the bitcode gets passed to the linker. The linker looks through the
bitcode (via
2010 Jul 02
4
zfs - filesystem versus directory
Folks,
While going through a quick tutorial on zfs, I came across a way to create zfs filesystem within a filesystem. For example:
# zfs create mytest/peter
where mytest is a zpool filesystem.
When does this way, the new filesystem has the mount point as /mytest/peter.
When does it make sense to create such a filesystem versus just creating a directory?
# mkdir mytest/peter
Thank you in
2010 Dec 03
2
How to get 'R' to talk BACK to other languages / scripts??
Hey everyone,
I know that I can call 'R' from other scripts, and that I can make
command calls from 'R' (e.g., using system() ). But how can I get 'R' to
RETURN values to the script that called it. E.g., I would like to be able
to do something like the following (as a simpler example) from a bash
script:
#!/bin/bash
myTest=echo /usr/local/bin/R --no-restore
2002 May 02
2
problem with lme in nlme package
Dear R list members,
I've turned up a strange discrepancy between results obtained from the lme
function in the nlme package in R and results obtained with lme in S-PLUS.
I'm using version 3.1-24 of nlme in R 1.4.1 under Windows 2000, and both
S-PLUS 2000 and 6.0, again under Windows 2000.
I've noticed discrepancies in a couple of instances. Here's one, using data
from Bryk
2010 Jan 01
1
Questions bout SVM
Hi everyone,
Can someone please help me in these questions?:
1)if I use crossvalidation with svm, do I have to use this equation to calculate RMSE?:
mymodel <- svm(myformula,data=mydata,cross=10)
sqrt(mean(mymodel$MSE))
But if I don’t use crossvalidation, I have to use the following to calculate RMSE:
mymodel <- svm(myformula,data=mydata)
mytest
2012 Feb 07
6
Setting up infile for R CMD BATCH
Suppose I create an R program called myTest.R with only one line like
the following:
type <- as.integer(readline("input type (1: type1; 2: type2)? "))
Then I'd like to run myTest.R in batch mode by constructing an input
file called answers.R with the following:
source("myTest.R")
1
When I ran the following at the terminal:
R CMD BATCH answer.R output.Rout
it failed
2005 Dec 19
6
Shutdown script not being run
I've got an odd problem. My server will not shutdown normally because
the AoE driver is not being shut down properly. While investigating the
problem, I found that the aoe script is apparently not being called for
shutdown. I have been able to duplicate this with a brand new test
script.
My test script is just a simple file that echos back the start or stop
command:
#!/bin/bash
#
2005 Jun 23
6
Problems with Hello World
Hello, I''m installed RubyOnRails in my Fedora Core 4 system.
I''ve created an empty web application with:
rails cookbook
then a controller
ruby script/generate controller MyTest
And a file named my_test_controller.rb was created at
cookbook/app/controller directory.
I ''ve written a new method for MyTestController class like:
def index
render_text "Hello
2012 Jan 27
2
help with Box plot
Dear researchers
I wish to plot a box plot without the mean line (the black line) and the i
wish a full line for the standard deviation
This is an example
mytest <- c(2.1,2.6,2.7,3.2,4.1,4.3,5.2,5.1,4.8,1.8,1.4,2.5,2.7,3.1,2.6,2.8)
boxplot(mytest)
really thanks
Gianni
[[alternative HTML version deleted]]
2016 Jun 14
2
vfs_recycle on samba 4.3.9 as DC reset permissions
Hi,
I set up an Ubuntu 16.04 machine with samba 4.3.9 as DC.
Everything works fine. I created users and groups with the Windows RSAT
tools.
I also set different group permissions on some shares over Windows.
My Problem is now that I tried to enable the samba recycle bin:
[mytest]
path = /data/samba/mytest
read only = No
vfs objects = recycle
2006 Aug 08
1
recognation failed - ?!
Hi there,
When I was making examples form "Rolling with Ruby on Rails" (
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html ) , after
generating controller MyTest, the WEBrick server ( localhost:3000 )
reported an error:
recognation failed /MyTest
The WEBrick server was started form correct directory, what else can
crush in that way ?
Cheers.
--
Posted via
2008 Sep 23
1
Help with "No route matches "/MyTest/" with {:method=>:get}"
I just started working with Ruby. Anyways I can''t seem to figure out
how to have this message disappear. I was reading a tutorial and based
on it, when I type in http://localhost:3000/MyTest/ it should say
whatever I have written down on my my_test_controller.rb file.
I first ran: ruby script\generate controller MyTest
then I edited the my_test_controller.rb file
It currently says:
2014 Aug 01
2
[LLVMdev] Create "appending" section that can be partially dead stripped
Hi,
Is there a way in llvm IR to emit multiple data elements within a
single compilation unit that
a) are guaranteed to appear sequentially in the final binary (in the
order they appear in the llvm IR), and
b) will be removed on an individual basis by the optimizers and/or
linker in case they are not referenced from anywhere
?
Defining them as "appending" puts them all into a