Displaying 20 results from an estimated 20000 matches similar to: "S objects"
2002 Jan 25
6
bootstrap: boot package
I'm teaching a class and using R for the first time. We're talking
about the bootstrap, and I've been trying to get R to replicate some
simple bootstrap programs with no success. I'd like to be able to use
the boot.ci function to produce confidence intervals (non-parametric)
for some simple statistics, and this requires first creating a "boot"
object. The boot
2000 Nov 14
3
import data from splus
hi there,
anybody knows how to import data into R from splus directly? I have a huge
amount of data in splus format, which will cost forever for me to transform
the data back to ascii or something else and then read them into R.
thanks a lot.
ximing
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2009 Apr 22
2
R-User groups in North America (SF, LA, NYC, Ottawa)
Hi R folks,
I'd like to announce several new R users groups here in SF, LA, NYC,
and Ottawa - as well as their next scheduled event. The goal of these
user groups, besides gently explaining 'drop=TRUE' to the uninitiated,
is to exchange knowledge, promote best practices, and spur the
adoption of R for innovative applications. If I've missed any groups
here, please feel to add on
2004 Aug 09
1
import data from splus
Dear Sir,
I am using R for the first time and I am looking for a function or a
command that allows to import Splus data into R. I have already heard about
functions called "readSdata" and readSfiles" in the "Rstreams" package. I
did not find the last new version of this package on the CRAN and its old
one did not work on R 1.8.0 (the vesrion that I am using).
Would you
2004 Feb 24
4
would be nice ...
if R had something like
> python -c "print(sum([1,2,3]));print(3*2)"
6
6
but I guess the only way to do this is by writing the string to
a tmp file and then doing something like "R CMD BATCH --quiet"
on the tmp file
I would like to use this for an R service, which allows you to
select any string in any application and replace it by its
R evaluation
===
Jan de Leeuw;
2001 Jun 12
1
trouble to install the Rstream package
Dear R-users,
I successfully installed the package Rstreams under linux, but my first
attempt to do so on SGI IRIX 6.5 (64bits) lead to the following error
message.
--------------------
laurent at genome> R CMD INSTALL Rstreams
Installing source package `Rstreams' ...
creating cache ./config.cache
checking for ftruncate... yes
checking size of long double... 16
updating cache
2001 Jun 01
1
Installing Rstreams lib
Dear R-helpers,
I am trying to install Rstreams library on the following platform:
----------------------------
platform alphaev67-dec-osf5.0
arch alphaev67
os osf5.0
system alphaev67, osf5.0
status
major 1
minor 2.3
year 2001
month 04
day 26
language R
---------------------------
Unfortunately, I get these error messages:
---------------------------
> [557] R
2000 Nov 14
2
library doubt
Hi all.
I'm trying to install the packages Rstreams and RPgSQL, but with no
success.
I did R INSTALL name package but if I try library(Rstreams) I get the
following error:
Error in library.dynam("Rstreams",pkg,lib):
dynamic library 'Rstreams' not found
Error in library(Rstreams): .First.lib failed
Where did I go wrong? I'm using R 1-1-1 on a Debian GNU/Linux box.
2002 Jul 02
2
sound lib - rstreams Mac OS 9 and X ???
Hello,
I'm looking for a working compiled library of "rstreams" for mac OS 9 and
for mac OS X.
I could find one (somewhere) but it is not loading.
It says in R 151 under OS 9.2:
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
"PRO-096-system:Applications:Languages:rm151:library:rstreams:libs:RstreamsL
ib":
error code -2807
2001 Dec 11
1
Using lib Rstreams and gzfile()
Hi all,
in the last time I've intensively used Rstreams to read and write from
binary files. Now I'm wondering if it is possible to use Rsteams
functions with gzipped files. But I haven't found the trick:
> p1c.gzip <- gzfile("daten/p1c_all.mea.gz", open="rb")
> readBin(p1c.gzip, integer(), n=64,size=2)
[1] 84 1 400 1 749 0 0 0
2020 Oct 05
3
what does "virsh destroy" really ?
Hi,
what does "virsh destroy" with the domain ? Send a kill -9 to the process ?
Bernd
--
Bernd Lentes
Systemadministration
Institute for Metabolism and Cell Death (MCD)
Building 25 - office 122
HelmholtzZentrum München
bernd.lentes@helmholtz-muenchen.de
phone: +49 89 3187 1241
phone: +49 89 3187 3827
fax: +49 89 3187 2294
http://www.helmholtz-muenchen.de/mcd
stay healthy
2001 Jan 02
1
Transporting s-plus routines to R
I have used S-Plus for Windows for some time and have a large collection of personal programs. I have recently installed R-1.1.1 under Linux. I can read the .ssc files from S-Plus into emacs and save to R, but this is apt to be tedious. Any shortcuts to recommend? Will linux R read the _Data files from Windows S-Plus? Would Windows R serve as a useful intermediate transfer?
-------------- next
2003 Feb 13
2
How to solve A'A=S for A ?
Dear R helpers,
is there a function or way within R to solve A'A=S for A, where all
matrices have p x p order and S is a variance-covariance matrix?
Thank you,
Ralf Engelhorn
2003 Feb 14
2
How to solve A'A=S for A
It is not clear to me that one can. If the singular value decomposition
of A is the triple product P d Q', then the singular value decomposition
of A'A=S is Q d^2 Q'. The information about the orthonormal matrix P is
lost, is it not?
**********************************************************
Cliff Lunneborg, Professor Emeritus, Statistics &
Psychology, University of Washington,
2009 Apr 06
9
setup method in functional tests and instance variables
I have the following in my functional test file.
class UserControllerTest < ActionController::TestCase
fixtures :users
def setup
@controller = UserController.new
@request = ActionController::TestRequest.new
@response = ActionController::TestResponse.new
@invalid_user = user(:invalid_user)
@valid_user = users(:valid_user)
end
def test_login_success
2012 Feb 13
4
Reading in csv with footer
Hi,
I have a CSV file that is formatted well, except that the last line is a "summary" not is CSV format.
Toy example:
label_1, label_2, label_3
1,2,3
3,2,4
2,3,4
Total Rows: 3
When I try to import this into R with: d <- read.table("foo.csv", header=T, sep=",")
It fails to import properly because of the last line.
Currently, I have a shell script that strips
2008 Jul 22
4
Maintaining referental Integrity
If I have two models that are in a one-to-one relationship in Ruby on
Rails,
and I wish to delete a record.
How do I make sure I will delete all the related data from both tables?
Is there a simple elegant Ruby way to do this?
Thank you for your time in advance,
Mitch
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message
2011 Jan 25
2
barplot with varaible-width bars
I would like to produce a bar plot with varying-width bars. Here is an example to illustrate:
ww <- c(417,153,0.0216,0.0065,556,256,0.0162,0.0117,
+ 726,379,0.0358,0.0501,786,502,0.0496,0.0837,
+ 892,591,0.0785,0.0795)
yy<-t(t(array(ww,c(2,10))))
barplot(yy[,2*1:5],las=1,space=c(.1,.5),beside=T)
produces a barplot of 5 pairs of bars that are of equal width
2011 Dec 10
1
Difficult subset challenge
Hi,
I'm having difficulty coming up with a good way to subest some data to generate statistics.
My data frame has multiple observations by group.
Here is an overly-simplified toy example of the data
==========================
code v1 v2
G1 1.2 2.3
G1 0 2.4
G1 1.4 3.4
G2 2.9 2.3
G2 4.3 4.4
etc..
=========================
I want to normalize the data *by group* for certain variable.
2011 Jun 20
1
access objects by name
Hi,
I have several data structures (xts structures). I then have a list of the names of those objects.
I'd like to access the object by name.
For example:
foo1 <- as.xts(....)
foo2 <- as.xts(...)
foo3 <- as.xts(...)
structs <- c("foo1", "foo2", "foo3")
for (thisOne in structs){
print(thisOne$colA)
}
The above fails. Clearly I'm missing a