Displaying 20 results from an estimated 3000 matches similar to: "change location of temporary files"
2018 Feb 23
0
change location of temporary files
Does setting the environment variable TMPDIR, before starting R,
to a directory on a bigger file system help? On Linux I get
% mkdir /tmp/RTMP-BILL
% env TMPDIR=/tmp/RTMP-BILL R --quiet --vanilla
> tempdir()
[1] "/tmp/RTMP-BILL/Rtmppgowz4"
> tempfile()
[1] "/tmp/RTMP-BILL/Rtmppgowz4/file7ce36ec5cb1e"
I don't know if there is an R-specific environment
2017 Dec 07
2
parallel computing with foreach()
I have used foreach() for parallel computing but in the current problem, it
is not working. Given the volume and type of the data involved in the
analysis, I will try to give below the complete code without reproducible
example.
In short, each R environment will draw a set of separate files, perform the
analysis and dump in separate folders.
splist <- c("juoc", "juos",
2013 Jan 30
2
Programmatically give file name to a matrix
I have a situation when I need to save matrix with file names that are
programmatically created.
for (i in levels(mergeTrn$Continent)) {
matrix here....
# I want to save this matrix with a file name that carries "i" from for
loop. The following does not work.
paste("plotroc_GBM_Trn_", i, sep="") <- matrix
}
Thanks,
Kumar
--
Section of Integrative
2011 Jul 25
2
Selecting unique values
Greetings
I have a dataset with occurrence records of multiple species. I need to get
rid of multiple listings of the same occurrence point for a species (as you
see below in red and blue typeface). How do I create a dataset only with
unique set of longitude and latitude for each species? Thanks in advance.
Species_name Longitude Latitude
Abies concolor -106.601 35.868
Abies concolor -106.493
2017 Dec 07
0
parallel computing with foreach()
Your code generates an error that has nothing to do with dopar. I have
no idea what your function stack is supposed to do; you may be
inadvertently calling utils::stack which would produce this kind of
error:
> stack(1:25, RAT = FALSE)
Error in data.frame(values = unlist(unname(x)), ind, stringsAsFactors = FALSE) :
arguments imply differing number of rows: 25, 0
HTH,
Peter
On Wed, Dec 6,
2017 Nov 15
1
Creating a SQL R package
Hello everyone. My name is Jo?o Paulo I am a
master's student in the course of omputer
science.
I intend to create a package for the R that
makes the SQL language commands available for use. I know that there are
already some packages that execute SQL commands within R. However, most of
these commands require querys to be passed as a string. I wish SQL commands
could be used more naturally.
2017 Jul 30
0
How export data set (available in the package) from R?
Read the help file for the survival package. Probably use the data function to retrieve it, and write it out using the write.table function.
--
Sent from my phone. Please excuse my brevity.
On July 29, 2017 8:47:51 PM PDT, Ted via R-help <r-help at r-project.org> wrote:
>"Data set flchain available in the survival? package". ?How can?I
>get?it (from R)? as Excel file?
2017 Dec 01
2
R vs PYTHON vs SAS vs SPSS?
I am a mature learner; 3 masters
some doctoral work ? statistics for social sciences; psychological statistics ?
worked in spss and sas 2005 ? 2006
now have forgotten ; relearning
my question is this can I do everything in R and Python and SAS studio
that I did in SPSS and the paid variation of SAS we used in doctoral statistics class?
Can I do in Stat in R or Python or SAS studio
everything I
2013 Feb 15
1
file copy to password protected network drive
I am trying to copy files to a password protected drive which is "Ranch" at
TACC from another network drive. I am logged in to the source drive and can
run R there. The following code does not even find the destination folder.
file.copy("sourcedrive/file.tar", "
username@ranch.tacc.utexas.edu/uniqueID/destinationfolder/file.tar",
overwrite = FALSE)
Thanks in
2017 Jul 30
5
How export data set (available in the package) from R?
"Data set flchain available in the survival? package". ?How can?I get?it (from R)? as Excel file? Thanks!
[[alternative HTML version deleted]]
2012 Mar 08
2
Cannot change location of tempdir()
Hi,
One of the functions I use needs to write to a temporary file, in the
directory given by tempdir(). I want to change this from the standard
one, as the file is too large for the drive. However, tempfile() doesnt
seem to respect the environment variables when I change them with
Sys.setenv(). In a fresh R-session:
> Sys.getenv("TMP")
[1]
2017 Jun 01
3
Post for R
Hello,?
I want to split the dataframe into 1000 groups based on two column values(max value and second max value). First, I made two lists L1 and L2. ?L1 is the list divided into 100 groups based on the range of max value and L2 is divided into 10 groups based on the second max values. Now I want to do the combinations based on L1 and L2. I want to do a for loop for L1 and for each element in L1,
2003 May 27
2
R doesn't remove temporary dirs and about bugreport
Dear r-help,
1. I always find in TEMP directory subdirs named like Rtmp#####
where ##### denote a number.
Obviously, they are created by R and are not removed by it after
finish.
Why?
I use R 1.7.0 and Windows NT Workstation 4.0, English. SP 6a.
2. Is it possible to get known whether my bug report was received?
I've sent to r-bugs at biostat.ku.dk the following but it seemed
2008 Dec 07
1
Compile Packages on vista
Hi
I''m trying to compile R packages on my vista (I''m very new on vista...). I
installed Rtools, RExcel on a specific folder: c:\Rtools and gave full
access. Unfortunately, I am still unable to compile any packages (may be
still because of the security properties of vista). I checked several
mailing list/forums/website but I did not found any solution. Does anybody
have the
2017 Aug 19
4
My very first loop!! I failed. May I have some start-up aid?
Dear all,
I have a data similar to this:
myframe<- data.frame (ID=c("Ernie", "Ernie","Ernie","Ernie"),
Timestamp=c("24.09.2012 08:00", "24.09.2012 09:00", "24.09.2012 10:00",
"25.09.2012 10:00"), Longitude=c("8.481","8.482","8.483","8.481"),
2008 Jan 25
1
Does swfdec support rtmp?
Hi,
Can you please tell me if swfdec support playing videos using rtmp?
E.g. www.nytimes.com 's flash video player using rtmp. Does swfdec support it?
Thank you.
2008 Jul 07
7
[Bug 16632] New: swfdec_net_connection_connect with non-NULL url real-world test case
http://bugs.freedesktop.org/show_bug.cgi?id=16632
Summary: swfdec_net_connection_connect with non-NULL url real-
world test case
Product: swfdec
Version: 0.7.x
Platform: Other
URL: http://www.vampirefreaks.com/Official-Zombie-Girl
OS/Version: All
Status: NEW
Severity: normal
2007 Sep 03
1
Snow on Windows Cluster
Hello,
the package snow is not working on a windows cluster with MPICH2 and
Rmpi. There is an error in makeCluster:
launch failed: CreateProcess(/usr/bin/env
"RPROG="C:\Programme\R\R-2.5.1\bin\R" "OUT=/dev/null" "R_LIBS="
C:/Programme/R/R-2.5.1/library/snow/RMPInode.sh) on 'cl1' failed, error
3 - Das System kann den angegbenen Pfad nicht finden.
I
1999 Jul 21
1
R 0.64.2 for Windows 95/NT
I installed R 0.64.2 using "rwinst.exe" on a Windows 95 machine. The zip
files and rwinst.exe were stored in a directory "rtmp" and I wanted R to
be installed in "r0642" (by setting c:\rtmp for source directory and c:\
for install directory). After the installation was completed the main
program was in r0642 whereas all the documentation in c:\rtmp\r0642.
Is this
2003 Mar 17
2
Trying to build R-1.6.2 under sparc-sun-solaris2.9.
This is a follow-up to a message I posted yesterday concerning
building R-1.6.2.
After a deafening silence regarding that first message I decided
to be fool-hardy and just comment out the line that seemed to
be giving trouble in the file /usr/include/sys/stream.h.
This worked for a while, but soon another error resulted: