Displaying 20 results from an estimated 20000 matches similar to: "attach() warning message"
2008 Apr 24
1
system() function
Hi,
I am trying to run the command: R CMD INSTALL -l mypath mypackagename
from within R (Windows XP) using system() and get the following error:
ARGUMENT 'CMD INSTALL -l D:/R/JMB.LIBS jmb.test' __ignored__
Fatal error: you must specify '--save', '--no-save' or '--vanilla'
My function contains these 3 lines:
setwd("D:/R/R.pkgs") # path to files set
2004 Oct 19
1
Creating Packages with Windows under R 2.0.0
Hello,
I have a workspace that contains a number of functions I want to put in a
library. Under R 1.9.0 I did this fairly easily by putting them in a R
folder, creating a DESCRIPTION & TITLE file etc. I could then load my
library successfully.
Under R 2.0.0 this simple process apparently no longer works. I have used
package.skeleton() and have run R CMD INSTALL pkgname but still get various
2006 Oct 12
1
.RData and UNIX
Hi,
I have been using R under Windows but have started to use R (ver. 2.3.0,)
under Linux (linux-gnu).
I have been saving my workspace and I notice that I sometimes end up with 2
version of the .RData file:
.RData and .Rdata. Can someone explain what is happening? I am not sure
which one is loaded so I have ended up losing data by deleting the wrong
file. I think the saved file should be
2009 Dec 18
2
Package creation - require statement?
All,
I have used package.skeleton, edited the .Rd files and the DESCRIPTON file.
In one of my package functions I am using RODBC so I have a line of code
that reads: require(RODBC).
In my DESCRIPTION file I have the following relevant line:
Depends: R (>= 2.9.0), RODBC
However, when I do a check (Rcmd check my_package_name) I get this warning:
* checking for unstated dependencies in R code
2003 Apr 23
1
Comparing formulas
Dear All,
I want to compare formulas resulting from using stepAIC() on glm() objects.
I have 2 different formulas, say F1 and F2, which consist of about 10
factors (Y~A+B+C+...) but one has an interaction term (A:B) while the other
doesn't. But when I perform F1==F2 it comes back as TRUE. Is there a proper
way to compare formulas?
-------------------------------------------
Jeffrey M
2008 Jun 30
2
Which distribution best fits the data?
Dear R-help community,
Does anybody know of a stats function in R that tells you which
distribution best fits your data? I have tried look through the archives
but have only found functions that tell you if it's normal or log etc.
specifically - I am looking for a function that tells you (given a
timeseries) what the distribution is.
Any help/advice will be greatly appreciated,
All the
2005 Oct 28
1
multiple boxplots
Hello,
I want to plot 3 boxplots [ par(mfrow=c(3,1)) ] but the first one has 8
groups, the 2nd has 7 and the third has 6. But I the groups to line up:
1 2 3 4 5 6 7 8
2 3 4 5 6 7 8
3 4 5 6 7 8
where the numbers actually refer to years. I suspect I have to manipulate
the function bxp(). Is there a relatively simple way to do this? Thanks for
any help.
Jeff Breiwick
NMFS, Seattle
2006 Nov 20
3
problem with loop to put data into array with missing data forsome files
Hi Jenny
If you want a general solution I understand.
However I just downloaded the file fine (as far as I can tell) so you
are welcome to have a copy. I can email it to you if you want.
I do not think your test for NA is valid. i.e
if(test != "NA"){
}
I think you should use
if(is.na(test)){
}
Or something similar.
J
---
John Seers
Institute of Food Research
Norwich
2008 Aug 19
1
address (nil), cause 'memory not mapped'
Dear users,
I got this problem and i don't have a clue of what it could be happening...
The context: i'm running a loop in which i extract information from a raster
map (I work with GRASS and R, using spgrass6 package), and rearrange it to
create a matrix. I've tried it with small maps and it works smoothly, but in
large maps I have to resort to saving data in the hard disk regularly
2006 Nov 23
3
reaccessing array at a later date - trying to write it to file
Dear R-help community
I am trying to write an R object (data.out) to a file in order to re-access it
later and not have to re-load up the array with data every time. Here is the
form of data.out
> data.out <- list(lats=seq(88.542, -88.542, length=94),
lons=seq(0, 360-1.875, length=192),
date=vector(length=nyr*12),
data=array(NA, c(nyr*12, 94*192))
)
I tried
>
2006 Nov 20
2
problem with loop to put data into array with missing data for some files
Dear R-help community,
My main goal of this message is to find a way of skipping a file of a month/year
in a loop that does not exist (and making it's output into an data.out array
would be NA) and moving onto the next year/month in the loop to carry on filling
data.out with real precipitation data.
The situation so far:
I downloaded 50 years worth of GRIB data files from the NCEP data
2011 Oct 05
3
R CMD check
Dear R-Group,
I have a function that sorts a data frame and oneo of the lines in the
function is:
vars <- unlist(strsplit(formc, "[\\+\\-]"))
The function works fine and the above line is always reached. However, when I
include the function in a package and run "R CMD check pkgname" it gives this
error message:
'\+' is an unrecognized escape in character
2007 Oct 05
1
Matrix package installation problem
I need some help
I try to install the following package: Matrix_0.999375-2.tar.gz
I have the needed package and R version.
My operating sytem is linux suse 10.1.
I have the following error message
/usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld:
ne peut trouver -lgfortran
collect2: ld returned 1 exit status
make: *** [Matrix.so] Erreur 1
ERROR: compilation failed for
2007 Jan 29
2
countour and poygon shading
Hi,
I have a contour plot and I want to shade a polygon (the area below a line)
but the polygon shading wipes out the contour lines. Does anybody know how
to shade the polygon and still see the contour lines? Thanks.
Jeff
2012 Apr 02
2
nls() error
Hello,
I am running a simple nls model (which a friend ran OK) but I get the
following error:
Error in nls(y ~ R * (1 - (x/K)^2), data = nls.dat, start = list(R = 0.3, :
object 'R_nls_iter' not found
Does anyone know what the 'R_nls_iter' error is?
The data are:
x=1:8 ; y=c(14,19,25,34,43,56,69,76)
# starting values:
R=.3, K=94
Thanks in advance.
Jeff
2004 Jun 09
5
"attach" in R corr. to Spus one
Hi,
I am a newbie to R, just trying to switch from
Splus. I am wondering to know if there is any such
command in R as "attach" in Splus which can be used to
attach the full directory.
Also, any idea/referrence about, how to load c
functions in R would be highly appreciated.
Thanks,
Utsav
2006 Jul 07
3
attach and detach question
I have a large R program that I am constantly running over and over again. At the beginning of this program, I create a hige matrix and a huge dataframe but these are constant. What I mean by constant is that, if I run the program over later, I really should just use the old matrix and dataframe ( if they exist ) that were created in a previous run so that the program doesn't have to spend
2011 Dec 22
1
attach 'name' argument ignored with a file?
Dear experRts,
I have the feeling that the 'name' argument to the attach function is
ignored when 'what' is a file name. Here is an example:
save(letters, file="letters.RData")
letters.env <- attach("letters.RData", name="letters")
search()
letters.env
The name on the search path is "file:letters.RData". I would expect it
to be
1997 Dec 04
0
AFS, ISDN, JAVA: 3 new FreeBSD mailing lists
Three new mailing lists are now available:
FreeBSD-AFS
FreeBSD-ISDN
FreeBSD-Java
FreeBSD-AFS: porting AFS to FreeBSD
FreeBSD-ISDN: this list was previously hosted by muc.ditec.de
and has now been moved to FreeBSD.org.
FreeBSD-Java: porting the JDK and JVM to FreeBSD
These three lists, and the freebsd-chat mailing list, are also
the first to introduce our new subscription policy.
2003 Apr 14
7
functions in a package
Hello,
I have a beginner's Q:
if i want to know all the functions provided by a package,
what is command for that?
in another word,
Is there a command to list all the commands available in a packege?
thanks a lot,
yan