Displaying 20 results from an estimated 30000 matches similar to: "Loading packages at startup"
2002 Oct 21
5
RFC: Loading packages at startup
I've been kicking the following idea around for a while, and am now
proposing to put some version into 1.7.0.  I'd be interested in
comments on the desirability and the design, before I start writing
any code.
S4 introduced a file .S.chapters which can contain a list of S
chapters (equivalent to R packages) to be loaded on start-up.  This
was the germ of this proposal.
Proposal:
Extend
2011 Oct 18
1
Function to "lump" factors together?
Sorry about the odd terminology, but I suspect that my intent might be
completely missed had I used "aggregate" or "classify" (each of which
appears to have some rather special meanings in statistical analysis and
modeling).
I have some data about software builds; one of the characteristics of
each is the name of the branch.
A colleague has generated some fairly interesting
2010 Aug 17
1
DetachedEval Issues
Hello everyone,
I have been attempting to make use of the newly implemented detachedEval functionality and I am having a few teething issues.
My code works fine when tested with both the Client and the Server on a single machine, but issues arise when I run them separately.Possibly because the local / local connection is running voer a Unix socket rather than tcp proper?
Rsession*
2010 Jan 25
3
Matching a character in a string
Hello.
Sorry for this very basic question but I didn't find (of didn't understand)
the answer either in the help or in the online guide.
I have a string, let's say "hello". I want to know if there is some
character in it, let's say an 'o'.
I tried
> charmatch("o", strstplit("hello",""))
but it gives NA (why??)
Thinking it may
2007 Feb 01
3
Can this loop be delooped?
Hi.
I have the following code in a loop.  It splits a vector into subvectors of 
equal size.  But if the size of the original vector is not an exact multiple 
of the desired subvector size, then the first few subvectors have one more 
element than the last few.  I know that the cut function could be used to 
determine where to break up the vector, but it doesn't seem to provide 
control over
2008 Jul 14
2
.First and .Rprofile won't run on startup
I'm trying to source a file automatically every time I start R. I tried
adding the following .First function in a file Rprofile.site in my
$R_HOME/etc/ directory (verified $R_HOME by Sys.getenv()) as well as in a
file .Rprofile in my $HOME directory and .Rprofile in the working directory:
.First <- function(){
source(file.path(Sys.getenv("HOME"), "R",
2016 Aug 03
2
R, OpenBLAS and OMP_NUM_THREADS
On 02/08/16 03:10, Ei-ji Nakama wrote:
> Hi,
> 
> Create /etc/profile.d/openblas.sh.
> Write the following during in this file.
> OPENBLAS_NUM_THREADS = 1
> export OPENBLAS_NUM_THREADS
> 
> OPENBLAS_NUM_THREADS environment variable does not affect the OMP_NUM_THREADS.
> 
Thanks for the response.
This works fine for R run from the command line (as does setting the
same
2012 Nov 29
1
rstudio doesn't work in LMDE without internet conexion.
Hello everybody.
I'm using Rstudio in LMDE (64 bits) with xfce desktop. When I'm 
connecting , I don't have any problem to start Rstudio , but when I am 
not connecting Rstudio don't start.
Any idea?
In rsession-user.log I get
29 Nov 2012 23:07:50 [rsession-jose] ERROR asio.netdb error 1 (Host not 
found (authoritative)); OCCURRED AT: core::Error 
2018 Sep 14
3
Bug when calling system/system2 (and request for Bugzilla account)
Hi all,
I found some strange behaviour, which I think is a bug. Could someone make an account for me on Bugzilla or pass on my report?
The problem:
When pressing Ctrl-C when a file is sourced in R, run from Terminal (macOS), sometimes the entire session is ended right away, while I just want to stop the script. This is the case when I press Ctrl-C while some functions are running that don?t
2002 Jan 25
3
make check fails when R_HOME env var set (PR#1284)
When the R_HOME environment variable is set, R issues a warning messages
when it starts up.  When doing 'make check' this causes the check for
eval-etc.R to fail:
	
	[...]
	make[3]: Leaving directory
`/Volumes/app/R/src/R-1.4.0_patched_2002-01-24/tests'
	running strict specific tests
	make[3]: Entering directory
`/Volumes/app/R/src/R-1.4.0_patched_2002-01-24/tests'
	running code in
2018 Sep 14
2
Bug when calling system/system2 (and request for Bugzilla account)
I hope it's not too specific in my setup...
I've tried with system2 added on the first line, so:
Example.R:
system2('ls', timeout=5)
cat('Start non-interruptable functions\n')
sample_a <- sample(1:1e7)
sample_b <- sample(1:2e7)
matching <- match(sample_a, sample_b)
cat('Finished\n')
Sys.sleep(10)
And in terminal/bash:
R --vanilla
2016 Aug 04
1
R, OpenBLAS and OMP_NUM_THREADS
Hi,
I was be half asleep in the heat ...
2016-08-04 0:04 GMT+09:00 Dirk Eddelbuettel <edd at debian.org>:
>
> On 3 August 2016 at 16:45, Gordon Ball wrote:
> | On 02/08/16 03:10, Ei-ji Nakama wrote:
> | > Hi,
> | >
> | > Create /etc/profile.d/openblas.sh.
> | > Write the following during in this file.
> | > OPENBLAS_NUM_THREADS = 1
> | > export
2011 Jun 30
1
Match strings across two differently sized dataframes and copy corresponding row to dataframe
Hello-
Sorry, this is a bit of a noob question, but I can't seem to progress
it any further.
I have two dataframes which contain a series of strings which exactly
match. The problem is one has more rows than the other (more cases
have been added) and they have been sorted so that they are not in the
same order. The smaller dataframe, though, contains in another column
which has codes
2002 Oct 17
1
Startup on Windows 2000
I am having difficulty coming to grips with Appendix B.2 of the
otherwise very useful "An Introduction to R" and the related help file
for Startup. I am running RGui 1.6.0 on a Windows 2000 machine from the
default installation. How the concepts discussed in B.2 and the Startup
help file relate to what I see on my machine is something of a mystery.
I quote from the Startup file:
2010 Feb 11
1
(linux) display messages in R startup screen
Dear guRus,
I'm maintaining central R installation (Linux) for our institute.  The 
startup screen of R traditionally echoes some messages (starting with "R 
version ...Copyright (C).. The R Foundation for Statistical 
Computing...") and  I'd like to display for example right after these 
messages some other messages about our specific setup, how to contact me 
etc ...
What
2004 Nov 24
2
an R function to search on Prof. Baron's site
Inspired by the functions that Barry Rawlingson and Dave Forrest posted for
searching Rwiki and R-help archive, I've made up a function that does the
search on Prof. Baron's site (Thanks to Prof. Baron's help on setting up the
query string!):
RSiteSearch <- function(string, restrict="Rhelp", format="long",
                        sortby="score",
2003 Aug 26
3
matching-case sensitivity
Hi All,
I am trying to match two character arrays (email lists) using either
pmatch(), match() or charmatch() functions. However the function is
"missing" some matches due to differences in the cases of some letters
between the two arrays. Is there any way to disable case sensitivity or is
there an entirely better way to match two character arrays that have
identical entries but written
2004 Dec 23
1
searching Jonathan Baron's R Site
First, my site will be down December 27-28 because of a network
upgrade at Penn.  It will also be down at least one day before
that, while I upgrade the operating system.  (And another day
some time in January because of a planned power outage.)
Second, I have replaced the search engine in my R site:
http://finzi.psych.upenn.edu/
I am now using Namazu instead of HtDig.  The direct link to the
2005 Sep 16
1
Rprofile not executed in R 2.2.0 alpha for Windows
Dear list members (esp. Duncan),
I've run into the following curious problem with Version 2.2.0 alpha for
Windows: Options in the Profile file in R's etc directory don't appear to be
set. (I habitually uncomment options(chmhelp=TRUE), to no effect in this
case.)  As far as I can see, the only thing non-standard about my
installation is that I put R 2.2.0 alpha under c:\R rather than
1998 Aug 31
0
isolating R/S and operating system differences
Below is a revised version of my kernel of functions for isolating R/S and
operating system  differences. The main change is "date" which I've renamed
"date.parsed" to avoid conflicts with the R and S date functions. The R call now
uses system() rather than unix() to avoid warning messages in R 0.62.3.
Paul Gilbert