Displaying 20 results from an estimated 500 matches similar to: "Problem with adding packages to default start-up list"
2007 Oct 05
0
Opening Scripts with long paths causes R 2.6.0 to crash
I am running R 2.6.0 on a PC running MS Windows 2000 Professional. After
upgrading to this new version of R, I have been having problems opening
scripts: opening certain scripts result in R crashing. After some
experimentation, I discovered that it is a problem with the number of
subdirectories in the path. For example, if the script is located in
c:\Documents and
2006 May 18
2
Incomplete Output from lmer{lme4}
I'm still relatively new to R, so my apologies if this is covered
somewhere. I've been running some mixed-effect models in R using
lme{nlme}, but read in Faraway's recent book, Extending the Linear Model
with R, that lmer in package lme4 is a much improved version. I tried
using this approach, but the output for the fixed effects doesn't report
a p-value or the degrees of freedom
2005 Jul 07
1
multivariate regression using R
Does anyone know if there is a way to run multivariate linear regression
in R? I tried using the lm function (e.g., lm(dv1, dv2~iv1+iv2+iv3),
but got error messages. Is my syntax wrong, or do I need a particular
package?
Thanks,
Jeff--
________________________________________________________
Jeffrey J. Lusk, Ph.D.
Postdoctoral Research Associate
Department of Forestry &
2011 Jun 24
2
Need help on a R script part
Hi all,
I need all your help on this. I have the next part of code:............e1=x1-mean(x1)e2=x2-mean(x2)n1=length(x1)n2=length(x2N=(n1 + n2)nu2=sum( c( ( x1 -mean(x1) )^2 , ( x2-mean(x2) )^2 ) )/Nss=c(e1,e2) b3= N*sum(ss^4)/ (sum( ss^2)^2)............what do lines 6-8 (mathematical notation)?Also the, what means part?............for(j in 1:B){ ss11=sample(x1, n1, replace=TRUE) ss12=sample(x2,
2011 May 02
1
Problems with Rterm 2.13.0 - but not RGui
Hi all,
I have just installed R 2.13.0 and I am experiencing problems with the terminal, but not the with the GUI interface.
I am Windows 7.
When running "R" or "Rterm" from a commandline I receive the following:
Warning message:
In normalizePath(path.expand(path), winslash, mustWork) :
path[3]="C:/Programmer/R/R-2.13.0/library": Adgang n?gtet
R version 2.13.0
2003 Jul 28
3
Recommended way to change defaultPackages under Windows
What is the recommended way to change the default set of packages that
are loaded at startup by R for Windows? I am writing vignettes for
the Devore6 package which my introductory engineering statistics
students will use and I would like to describe how the R environment
can be changed so that this package is loaded by default.
I understand from the R for Windows FAQ that one way would be to
2019 Sep 08
1
Error: package or namespace load failed for ‘utils
Also, check the settings of R_HOME and/or R_LIBS.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Sun, Sep 8, 2019 at 9:58 AM William Dunlap <wdunlap at tibco.com> wrote:
> Look at section 6.1 of the R Installation and Admin manual.
>
> 6.1 Default packages
>
> The set of packages loaded on startup is by default
>
> > getOption("defaultPackages")
> [1]
2008 Apr 13
1
.Rprofile, date tagging history, loading packages
Dear R-Helpers,
I'm fiddling with my .Rprofile in Windows XP & R 2.7.0 Beta. I prefer to
manually save my workspace but automatically save my command history via
the .Rprofile. That is working fine once I found that "utils::" was
required before the loadhistory & savehistory functions. What I would
like to do is add a separator line with a date between the histories of
each
2013 Jul 15
2
suppress startup messages from default packages
Hi all,
several packages print messages during loading. How do I avoid to see
them when the packages are in the defaultPackages?
Here is an example.
With this in ~/.Rprofile
,----[ ~/.Rprofile ]
| old <- getOption("defaultPackages")
| options(defaultPackages = c(old, "filehash"))
| rm(old)
`----
I get as last line when starting R:
,----
| filehash: Simple key-value
2019 Sep 08
6
Error: package or namespace load failed for ‘utils
Hi,
When starting an embedded R I encounter the following issue under certain
conditions:
```
Error: package or namespace load failed for ?utils? in if (.identC(class1,
class2) || .identC(class2, "ANY")) TRUE else {:
missing value where TRUE/FALSE needed
```
(more such errors for grDevices, graphics, and stats)
And in the end:
```
Warning messages:
1: package ?utils? in
2010 Mar 14
3
R and R commander
Hi,
I am a student studying Biostatistics at University. We have been advised to install R and R commander. I managed to do this successfully, except I wasn't able to complete the final step - which would enable both R and R commander to launch when I open the R icon on my desktop.
However, I haven't been able to save it and for this to work.
The last instructions we were given are:
2013 Mar 04
1
R broken after upgrade to 2.15.3 (Ubuntu 12.10, 64bit)
Hi,
I am using R on Ubuntu 12.10 (64bit). This morning, Ubuntu's software
updater automatically installed updates to R's base system (version
2.15.3; via the CRAN PPA). Now R does not work anymore. Here is what I
get when I simply enter "R" on the shell prompt:
bodenhof FUKUOKA~>R
cannot find system Renviron
Error : .onLoad failed in loadNamespace() for 'utils',
2005 Mar 09
1
delay of warning for things in .Rprofile
Hi all,
I was playing with R-devel 2005-03-08 on winXP Pro (installed from Duncan's
installer). My .Rprofile contains:
options(defaultPackages=c(getOption("defaultPackages"), "mypkg"),
chmhelp=TRUE)
but "mypkg" has not yet been installed in the library/ directory of this
installation. When Rgui starts, I do not get any error or warning, but upon
2011 Jul 22
1
Problem with creating default NAMESPACE on FreeBSD
After building and installing R-devel from 21/07/2011 on FreeBSD
9.0-CURRENT (amd64), starting R gives the following warning:
[..snip..]
Beim Start - Warnmeldung:
package 'datasets' in options("defaultPackages") was not found
This happens with all versions after 14/07/2011. I think it is related to
NEWS Sat, 16 Jul 2011
CHANGES IN R-devel PACKAGE INSTALLATION
Packages without
2005 Apr 13
1
compiling & installing R devel version on Debian
Hi all.
I'm compiling the devel version of R on Debian GNU/Linux, and installing it into /usr/local tree (instead of default /usr). So:
./configure --prefix=/usr/local/
make
make install
Everything works fine, but when I start R I get the following error messages (traslated from italian, sorry):
Error in dyn.load(x,as.logical(local),as.logical(now)):
impossible to load the shared
2009 Mar 30
1
Can I read a file into my workspace from Rprofile.site?
I am running R version 2.8.1 on Windows XP OS.
When I launch R, I would like to automatically read a file containing my
database connections, user ids, and passwords into my workspace.
I tried including this in my Rprofile.site file:
...
local({
old <- getOption("defaultPackages")
options(defaultPackages = c(old, "Rcmdr","RODBC", "utils"))
})
.First
2006 Dec 29
1
installation problems
Hi,
I installed R-2.4.0 and R-2.4.1 on linux redhat (RHEL 3.0), and am
encountering the following messages below. I searched the R FAQs and over
the net, but couldn't find helpful information.
When I "check-all" I do see some diff's (e.g., for "stats", nls.Rout and
nls.Rout.save in tests/stats.Rcheck/tests; "cluster"; and "rpart'). I don't
know
2005 Aug 04
4
Modifying the parameters for a function
I have modified the parameters for a function (for my own use) in the
stats package, but I assume I need to update the parameter set in
another file as I'm getting the following error when I run R:
The compile works fine so I assume there is a configuration file in the
base package of R that needs modification.
Error in parse(file, n, text, prompt) : syntax error on line 11102
Error:
Control statements with condition with greater than one should give error (not just warning) [PATCH]
2017 Mar 03
2
Control statements with condition with greater than one should give error (not just warning) [PATCH]
I'd like to propose that the whenever the length of condition passed
to an if or a while statement differs from one, an error is produced
rather than just a warning as today:
> x <- 1:2
> if (x == 1) message("x == 1")
x == 1
Warning message:
In if (x == 1) message("x == 1") :
the condition has length > 1 and only the first element will be used
There are
2003 Apr 22
1
R 1.7.0: Startup error: Error in "class<-"(*tmp*, value = Class) : couldn't find function "objWithClass"
Dear R-List member,
I have installed the new version of R on my PC (see system details below). I
can start the RGui with http_proxy succesfully. However, I do encounter two
problems:
1)
After starting the Rgui the following error message is displayed (vertical
dots represent omissions of output):
R : Copyright 2003, The R Development Core Team
Version 1.7.0 (2003-04-16)
.
.
.
.
Error in