Displaying 20 results from an estimated 7000 matches similar to: "Working directory"
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
2006 Mar 16
1
autoloading .RData files / .Rhistory file
NOTE: WinXP, R2.2.0
All,
a while back I posted a question about using relative filereferencing.
The responses have allowed me to successfully set up the following
directory structure:
...\data\raw
...\data\derived
...\prog
...\lst
...\log
In the \prog directory I have put an RGui.exe shortcut and "pointed it"
at \prog as the "Start In" location. In the same
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
2017 Mar 03
1
Trouble installing packages when history mechanism is modified by user profile
I tried installing the 'ks' package from my interactive R session, it
failed with the following
Erreur dans .External2(C_loadhistory, file) :
aucun m?canisme d'historique des commandes disponible
Calls: <Anonymous>
Ex?cution arr?t?e
second line is french for "no command history mechanism available", fouth
is "execution stopped".
This does not happen when I
2013 Feb 07
1
Saving history across sessions
I have an environment variable `$R_HISTFILE` pointing to
`/home/my.username/.RHistory` and the following code in my `.Rprofile` in
my home directory:
.Last <- function() {
if (!any(commandArgs()=='--no-readline') && interactive()){
require(utils)
try(savehistory(Sys.getenv("R_HISTFILE")))
}
}
2003 Nov 20
1
Hidden Rhistory files
Hi all,
I've ecountered a problem in the last few days with my .Rhistory file
not being able to be updated when I quit an R session because its file
attributes under Windows have been set as "Hidden". Recently, I put the
following line in my global Rprofile file:-
history(max.show=Inf)
so that I automatically open the entire history file for a project when
I begin a session, but I
2002 Jul 12
1
.Rprofile on MacOSX
I'm new to R, so apologies if the answer to my question is very obvious to
everyone else!
I use the carbon version of R (1.5.1), not the Darwin version. After a bit
of a battle, I'm getting to grips with using R, and really getting to like
it, but I'm still having trouble customising startup the way I'd like it.
Reading ?Startup, I see that I can specify some commands to be run
2012 May 29
3
Windows 7 installation issues
I installed R version 2.15.0 under C:/ on a PC running Windows 7. When I load library("tools") to test the installation and then run the command testInstalledPackages("base"), I get the following error:
Error in setwd(outDir): cannot change working directory.
I have set up the R shortcut to run it as administrator.
[[alternative HTML version deleted]]
2012 Aug 27
1
Hidden files in source packages
R-devel has been warning for some time about hidden files (in the Unix
sense, starting with a period) in source packages. We could get R CMD
build and the CRAN incoming scripts to remove these *if* we knew that
they were never needed.
It seems clear that
.Rapp.history
.Rhistory
.Rbuildindex.xxxxx
inst/doc/.build.timestamp
are R leftovers,
._.DS_store
is from an Apple filesystem and
.tex
2012 Jul 30
1
locked binding of setwd() in R 2.15.x causes .Rprofile to fail
[Env: Win XP, R 2.14.2, R 2.15.0]
I have a replacement function for setwd() in my .Rprofile which displays
the current R path in the R window
title. It no longer works in R 2.15.x, giving the error below. Worse,
the error prevents the rest of my
.Rprofile script from completing.
Is there some way to rescue this, i.e., preserve this behavior in
R 2.15? If not, how can I modify my script so it
2011 Apr 16
2
(no subject)
I have just upgraded to R 2.13 and have library(ggplot2) in my
.Rprofile (among other things). when i start R I get an error
message. Has something in the start up scripts changed? Is there a
better way to specify the library calls in .Rprofile? Thanks for all
of the help in advance.
Error:
Loading required package: grid
Loading required package: proto
Error in rename(x, .base_to_ggplot) :
2010 Mar 19
2
Dataframe calculations
Hi everyone,
My question will probably seem simple to most of you, but I
have spent many hours trying to solve it. I need to perform
a series of sequential calculations on my dataframe that move
across rows and down columns, and then repeat themselves at
each unique 'MM' by 'DD' grouping. Specifically, I want to add
'DEPART' time (24 hr time) to 'TRAVEL'(minutes)
2017 Jul 11
0
Gluster native mount is really slow compared to nfs
On Tue, Jul 11, 2017 at 11:39 AM, Jo Goossens <jo.goossens at hosted-power.com>
wrote:
> Hello Joe,
>
>
>
>
>
> I just did a mount like this (added the bold):
>
>
> mount -t glusterfs -o
> *attribute-timeout=600,entry-timeout=600,negative-timeout=600,fopen-keep-cache*
> ,use-readdirp=no,log-level=WARNING,log-file=/var/log/glusterxxx.log
>
2017 Jul 11
2
Gluster native mount is really slow compared to nfs
Hello Joe,
?
?
I just did a mount like this (added the bold):
?
mount -t glusterfs -o attribute-timeout=600,entry-timeout=600,negative-timeout=600,fopen-keep-cache,use-readdirp=no,log-level=WARNING,log-file=/var/log/glusterxxx.log 192.168.140.41:/www /var/www
?Results:
?
root at app1:~/smallfile-master# ./smallfile_cli.py ?--top /var/www/test --host-set 192.168.140.41 --threads 8 --files 5000
2017 Jul 11
1
Gluster native mount is really slow compared to nfs
Hello Vijay,
?
?
What do you mean exactly? What info is missing?
?
PS: I already found out that for this particular test all the difference is made by :?negative-timeout=600 , when removing it, it's much much slower again.
?
?
Regards
Jo
?
-----Original message-----
From:Vijay Bellur <vbellur at redhat.com>
Sent:Tue 11-07-2017 18:16
Subject:Re: [Gluster-users] Gluster native mount is
2008 May 02
2
.Rprofile is being executed twice
Hi,
After updating to R 2.7, my .Rprofile executes twice on startup. I
confirmed this by putting in the following line:
print("starting .Rprofile...")
When I start R, I see:
[1] "starting .Rprofile..."
[1] "starting .Rprofile..."
This seems like the obverse of the following FAQ:
2013 Feb 07
1
assignInNamespace to create a setwd() replacement: how to use unlockBinding()?
In my .Rprofile for Windows, I had the following functions defined to
mirror a few features
I miss from linux:
(a) replace setwd() with a version that stashes the current directory so
it can be easily restored
(b) writes a short version of the current R directory to the Windows
title bar: I can always see where I am,
with multiple Rgui windows.
(c) creates a cd() shorthand for setwd(), but
2003 Jun 12
3
defaults in R: packages, .Rhistory
With the current version (rw1070), every time I start R it loads a whole
bunch of packages, many of which I do not need in a typical session:
> search()
[1] ".GlobalEnv" "package:methods" "package:ctest" "package:mva"
[5] "package:modreg" "package:nls" "package:ts" "Autoloads"
[9]
2005 Nov 03
4
shared-mime-info (PR#8278)
Full_Name: Vaidotas Zemlys
Version: 2.1.1
OS: Ubuntu 05.10
Submission from: (NULL) (213.197.173.50)
Hi,
This is really a feature request, not a bug. I wrote the mail to R-devel,
but nobody answered it.
I use Gnome on my computer and sometimes I use its default text editor
gedit. It uses gtksourceview library for syntax highlighting. I
decided that it would be nice if gedit supported R
2017 Jul 11
0
Gluster native mount is really slow compared to nfs
On 07/11/2017 08:14 AM, Jo Goossens wrote:
> RE: [Gluster-users] Gluster native mount is really slow compared to nfs
>
> Hello Joe,
>
> I really appreciate your feedback, but I already tried the opcache
> stuff (to not valildate at all). It improves of course then, but not
> completely somehow. Still quite slow.
>
> I did not try the mount options yet, but I will now!