Displaying 20 results from an estimated 1000 matches similar to: ".Rprofile, date tagging history, loading packages"
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
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
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
2004 Aug 21
4
loadhistory() in .Rprofile ?
dear wizards: my .Rprofile has just one command for testing,
loadhistory("~/.Rhistory")
but this gives me an error on R startup:
Error: couldn't find function "loadhistory"
Invoking loadhistory() as the first interactive command works fine;
incidentally, I believe loadhistory() in the .Rprofile worked in
earlier or other platform R releases, too.
Is the .Rprofile
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]
2007 Mar 28
1
Problem with adding packages to default start-up list
After reading the help files (?Startup) and using
RSiteSearch("defaultPackages"), I have been trying to add several packages
to my default startup list using the following code:
local({
old<-getOption("defaultPackages")
options(defaultPackages=c(old,"lattice","RODBC")
})
Subsequently, when I query the default list using:
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',
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
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
2009 Aug 21
1
a --no-save option for Rprofile.site?
I need to set up Rcmdr for use in a testing center that uses Windows. Since
it is in a testing center, we don't want to have data saved, and want it
cleared (or never saved) each time R or Rcmdr is run.
The method I used to get Rcmdr to run automatically is to add the lines:
------------------------------------------------
defpack = getOption("defaultPackages")
mylibs =
2004 Nov 02
4
Loadhistory problems
History files saved using nFile Save History do not open when using File Load History. I notice that when they are saved they do not seem to have a file extension and there is no option to chose an extension. Is this a problem. Other than this it seems so simple that I can't see what the problem is. I've tried using loadhistory and savehistory with the same problems. The syntax guide
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
2009 Jun 24
1
how to undo automatic loading of packages?
I wanted to try out package distrMod, so I did
> install.packages('distrMod')
> library(distrMod)
and played around, saved and quit.
Now whenever I start up in this directory, I get distr and lots of other
stuff loaded and lots of messages.
How do I keep it from automatically loading, other than starting over in
another directory?
I read ?Startup, but I couldn't suss out