Displaying 20 results from an estimated 4000 matches similar to: "variable as part of file name"
2008 Apr 29
1
deleting variables
How can I automatically exclude one variable from being saved in the
workspace when I quit an R session? The problem is I don't know how to
erase a variable once it has been created.
Background: I open a connection called "con" to a database server in my
~/.Rprofile. Obviously, the connection expires when quitting the R
session. Unfortunately, the workspace is loaded after
2008 May 13
2
Remove an object by the reference
Hi R,
A simple question, but don't know the answer...
x="a"
a=5
I need to remove the object "a" by using only x. something like rm(somefunction(x))...Is this possible?
Shubha Karanth | Amba Research
Ph +91 80 3980 8031 | Mob +91 94 4886 4510
Bangalore * Colombo * London * New York * San José * Singapore * www.ambaresearch.com
This e-mail may contain
2008 Jul 23
1
rpart confidence intervals?
hi,
I am using rpart with a continuous response variable. Is there a way to
extract 95% confidence intervals for the predicted mean at each node?
cheers.
--
View this message in context: http://www.nabble.com/rpart-confidence-intervals--tp18601587p18601587.html
Sent from the R help mailing list archive at Nabble.com.
2008 Jul 30
1
Hello,
Hello,
A newbie to R. I am trying to use the exonmap package in R.
According to the docs, the xmapDatabase() command should read the
config file with all the connection parameters and connect to the DB.
But i get the error shown below....
> xmapDatabase("Human")
Error in mysqlNewConnection(dbDriver(drv), ...) :
RS-DBI driver: (could not connect cagadmin at mysql2.cag.chop.edu on
2008 Jun 25
2
I want to install a package on Max OS X from a local file
I can't figure this one out- I am the administrator, The file that I want
to install is a .tar.gz which is located on my desktop. How do I get it
into my packages directory- through the GUI or through brute force?
thanks
stephen
--
Let's not spend our time and resources thinking about things that are so
little or so large that all they really do for us is puff us up and make us
feel
2008 Jul 21
2
Creation of png=problems
Hi everybody,
I am currently working with R and I would like to create jpeg graphs with it.
I am working on Windows and Unix but I would like to be able to create graphs (jpeg, png, bitmap...) under Unix.
I am working on Solaris version 8. The documentation for R states that the latest version of or R known to compile on Solaris 8 is version 2.6.2. I have been able to compile and install R
2008 Jul 11
1
Subsetting an array by a vector of dimensions
Hi
Is it possible to subset an n-dimensional array by a vector of n dimensions? E.g. assume I have
> x <- array(1:24, dim=2:4)
> x[1,1,2]
[1] 7
> dims <- c(1,1,2)
I would like a function that I can supply x and dims as parameters to, and have it return 7. Also, I would like to do something like:
> x[1,1,]
[1] 1 7 13 19
> dims2<- c(1,1,NA)
And have a function of x and
2008 Jul 22
3
Error in installing packages
Dear R Users;
I am an R user who has recently bought a new laptop;Toshiba Satellite
U405 running on both Windows Vista and Ubuntu.
I have problems on the wondows vista when installing packages. The
argument 'lib' is missing. How do i solve this problem?
Illustration:
> install.packages("epicalc")
Warning in install.packages("epicalc") :
argument 'lib'
2007 Nov 14
2
geotiff calculations
Dear list,
I have to compare two digital elevation models in raster format (geotiff).
I then have to calculate the differences in altitude for each cell and make
some statistics (basic as mean, median, std, range but also more "advanced"
as RMSE) on that.
I do not know very much how to proceed:
1) is it possible to import the geotiff in R? If so with which package? if
not which is the
2008 Jun 13
3
cluster.stats
Dear list,
I just tried to use the function cluster.stat in the package fpc.
I just have a couple of questions about the syntax:
cluster.stats(d,clustering,alt.clustering=NULL,
silhouette=TRUE,G2=FALSE,G3=FALSE)
1) the distance object (d) is an object obtained by the function dist() on
my own original matrix?
2) clustering is the clusters vector as result of one of the many clustering
methods?
2008 Jul 08
8
Sum(Random Numbers)=100
Hi R,
I need to generate 50 random numbers (preferably poisson), such that
their sum is equal to 100. How do I do this?
Thank you,
Shubha
This e-mail may contain confidential and/or privileged i...{{dropped:13}}
2008 Aug 10
1
R function, sink() and empty file
Dear all,
I wrote a simple script in order to put together some functions and method
to be executed on various files
I am trying to have to possibility to call the script changing few
parameters in order to use the different files.
I succeeded partly using the function method.
However in my script I call the sink() function in order to output the
results to a .txt file. When using the function the
2008 Oct 19
2
R-square in robust regression
Hi there,
I have just started using the MASS package in R to run M-estimator robust
regressions. The final output appears to only give coefficients, degrees of
freedom and t-stats. Does anyone know why R doesn't compute R or R-squared
and why doesn't give you any other indices of goodness of fit?
Does anyone know how to compute these in R?
Sophie
--
View this message in context:
2010 Sep 24
7
help
Estimados
Escribo para consultar sobre el uso de modelos mixtos anidados. Los
datos que estoy analizando provienen de censos de malezas en cuatro
tipos de paisajes de la región pampeana, en los que seleccioné al azar
igual número de lotes agrícolas cultivados con tres cultivos (maíz,
soja y trigo-soja). En cada lote censé el número de especies de
malezas en tres posiciones: el alambrado, el borde
2024 Jan 09
4
Truncated plots
Hello As a postgrad I have been helping an undergraduate student with R
coding but she has a problem with R studio on her laptop which I can't fix
- basically when she runs a plot it appears without a y axis label with the
black line plot frame hard against the plot window and the bottom of the
plot, where you would expect to see the horizontal axis and the x axis
label etc is completely
2012 Sep 24
3
List creation based on matrix
Hi guys,
It would be great if you could help me with this one...
I'm looking to create a script to convert a matrix of species abundance e.g:
<http://r.789695.n4.nabble.com/file/n4643978/species_matrix.jpg>
into two vectors e.g:
<http://r.789695.n4.nabble.com/file/n4643978/communitylist.jpg>
----------------
If you feel there is no easy answer to this and that it would be
2004 Jul 15
2
Samba LDAP Problem
Dear Lists,
I try to configure Samba as PDC LDAP backend with Linux-Suse-9.1 and smbldap-tools form www.idealx.org,
I follow guide from SMB-3 by Example book.
Step by step installation and configuration came with no error.
except i couldnt join w2k workstation to the new domain with administrator account.
# /var/lib/samba/sbin/smbldap-usershow administrator
dn:
2005 Feb 16
4
Passing colnames to graphics title
Hi,
Just a quick query - if I'm creating a function to produce a number of
histograms per page of output (one per column from a matrix), how can I
pass the column name of the matrix into the title (or indeed to form part
of the x-axis label)?
TIA,
Laura
Laura Quinn
Institute of Atmospheric Science
School of Earth and Environment
University of Leeds
Leeds
LS2 9JT
tel: +44 113 343 1596
fax:
2004 Sep 07
6
Further png() question
Ok, I have reinstalled R-1.9.0 and this appears to have fixed the
problems I was having with png(). However, I have a further question
regarding png()
Is it possible to pass a par() argument to the png() command? I am
wanting to produce 4 plots per object, which I normally acheive on an X
window by par(mfrow=c(1,4)). I have tried calling a new plot and setting
par in this way but this has no
2006 Jan 28
3
Creating 3D Gaussian Plot
Hello,
I requested help a couple of weeks ago creating a dipole field in R but
receieved no responses. Eventually I opted to create a 3d sinusoidal plot
and concatenate this with its inverse as a means for a "next best"
situation. It seems that this isn't sufficient for my needs and I'm really
after creating a continuous 3d gaussian mesh with a "positive" and