similar to: Cannot change location of tempdir()

Displaying 20 results from an estimated 1000 matches similar to: "Cannot change location of tempdir()"

2016 Dec 07
3
Strange behavior when using progress bar (Fwd: Re: [R] The code itself disappears after starting to execute the for loop)
>>>>> Jon Skoien <jon.skoien at jrc.ec.europa.eu> >>>>> on Wed, 7 Dec 2016 11:04:04 +0100 writes: > I would like to ask once more if this is reproducible also for others? > If yes, should I submit it as a bug-report? > Best, > Jon Please Windows users .. this is possibly only for you! Note that I do *not* see problems on
2008 Oct 30
2
Small modification of zip.file.extract in utils?
Dear list, I needed to extract a zip-archive, and found zip.file.extract in utils. My only problem was the use of tempdir(), since I wanted to permanently extract the archive at a fixed location for later use. My own fix was simple, adding an extra parameter zipdir (without default), and within the function change tmpd <- tempdir() to tmpd = ifelse(missing(zipdir),tempdir(),zipdir) This
2013 Apr 04
5
help with kriging interpolation
All, I am new to using R and know some basics. I wish to use kriging in R to do the following: given data Y =f(X1,X2,X3,.....,Xn) --1000+ irregular measured data set. I would like to be able to get a single value y given sinle input set (x1,x2,x3,...xn) A google search on this takes me lierally to the same example on involving analysis with soil sampling and I cannot figure out how to
2016 Nov 28
2
Strange behavior when using progress bar (Fwd: Re: [R] The code itself disappears after starting to execute the for loop)
I first answered to the email below in r-help, but as I did not see any response, and it looks like a bug/unwanted behavior, I am also posting here. I have observed this in RGui, whereas it seems not to happen in RStudio. Similar to OP, I sometimes have a problem with functions using the progress bar. Frequently, the console is cleared after x iterations when the progress bar is called in a
2013 Apr 18
1
snow: cluster initialization
Dear all, I found a strange thing with the snow package. This will work: y = matrix(1:4, 2) cl = makeCluster(rep('localhost', 8), type='SOCK') parMM(cl, y, y) This will not: y = matrix(1:4, 2) ncore = system('nproc') parMM(cl, y, y) Error in cut.default(i, breaks) : invalid number of intervals I also tried: cl = makeCluster(rep('localhost', ncore),
2014 Jul 14
1
Error in compactPDF/find_gs_cmd or documentation?
I am using tools::compactPDF for reducing the size of some pdf-files with GhostScript. I had some trouble in the beginning as the documentation seems not to match the usage of the function. For GhostScript, one has to set the argument gs_cmd, which has the following description: gs_cmd - Character string giving the path to the GhostScript executable, if that is to be used. On Windows this is
2013 Mar 19
1
Cokriging
Dear All, I run following code to estimate the blocks using cokriging ( my data set has more than 50,000 data points). All the things run finely but Once I run the predict.gstat function it gave the error message - "memory.c", line 58: can't allocate memory in function m_get(). I run this code on LINUX sever but result is same. Would any one please be able to give a solution for
2013 Apr 24
2
How to make a raster image in R from my own data set
Hi R-user, I was trying to make a raster map with WGS84 projection in R, but I could not make it. I found one data set in Google that data is almost the same format as of mine. I wanted to make a raster map of temperature with 1 degree spatial resolution for the global scale. I could make it in GIS software but I do have many variables (to be many raster images) and ultimately I am importing them
2017 Apr 25
3
tempdir() may be deleted during long-running R session
>>>>> Jeroen Ooms <jeroenooms at gmail.com> >>>>> on Tue, 25 Apr 2017 15:05:51 +0200 writes: > On Tue, Apr 25, 2017 at 1:00 PM, Martin Maechler > <maechler at stat.math.ethz.ch> wrote: >> As I've found it is not at all hard to add an option >> which checks the existence and if the directory is no >>
2015 Jun 17
2
Add-on argument in sample()
On 6/16/2015 1:32 PM, Peter Meissner wrote: > Am .06.2015, 14:55 Uhr, schrieb Millot Gael <Gael.Millot at curie.fr>: > >> Hi. >> >> I have a problem with the default behavior of sample(), which performs >> sample(1:x) when x is a single value. >> This behavior is well explained in ?sample. >> However, this behavior is annoying when the number of
2017 Apr 21
3
tempdir() may be deleted during long-running R session
Hi Mikko, I was bitten by this recently and I think some of the replies are missing the point. As I understand it, the problem consists of these elements: 1. When R starts, it creates a directory like /tmp/RtmpVIeFj4 2. Right after R starts I can create files in this directory with no error 3. After some hours or days I can no longer create files in this directory, because it has been
2011 Nov 17
7
Spatial Statistics using R
I am looking for online courses to learn Spatial Statistics using R. Statistics.com is offering an online course in December on the same topic but that schedule doesn't suit mine. Are there any other similar modes for learning spatial statistics using R??? Can someone please advice??? Thank you. Ravi -- View this message in context:
2010 Dec 17
2
install.packages() - old version deleted, new version did not install
Dear list, (R 2.12.0, Windows 7, 64bit) I recently tried to install a new package ("spacetime"), that depends on "sp" among others. I already had the last one installed, but there was probably a newer version on CRAN, so the command > install.packages("spacetime") also gave me: also installing the dependencies ?sp?, ?zoo?, ?xts? sp was already loaded in this
2012 May 24
1
New S3 methods for optional package
Hi, I have asked this question before, but the solution I ended up with (see below) creates a note when running R CMD check. So I am trying again... I am developing a package B that, among other things, also offers some extra S3-methods for functions in package A if the user has installed A. I do not want to list A under Depends of B, as the dependency list of A is rather long, and most
2017 Apr 26
2
tempdir() may be deleted during long-running R session
>>>>> Dirk Eddelbuettel <edd at debian.org> >>>>> on Wed, 26 Apr 2017 08:40:38 -0500 writes: > On 26 April 2017 at 08:29, Duncan Murdoch wrote: > | This seems like the wrong approach. The problem occurs as soon as the > | tempdir() gets cleaned up: there could be information in temp files > | that gets lost at that point. So
2004 Oct 05
1
Bug in optim - way to solve problem?
Hi, I want to automatically fit variograms to a large number of different sample data sets, and call the funtion "likfit" (in package geoR) from within a for-loop. "likfit" does again call "optim". After ssuccessfully fitting variograms to some of the data sets, the procedure crashes and I get the error message: Error in optim(par = ini, fn = negloglik.GRF,
2005 Apr 01
0
fatal error unused tempdir
I am running R on an XP machine. Lately I have been unable to start R in any mode without getting the 'Fatal Error: cannnot find unused tempdir name' message. After reading previous postings I went in and deleted all my Rtmp* directories in /documents and settings/USER/local/tmp which didn't help, I also uninstalled and reinstalled R to no avail. Running on a second machine I
2018 Feb 23
4
change location of temporary files
I would like to change where R stores the temporary files to my external hard drive in my iMac. This is important because the temporary files R creates are huge and I do not have enough available space in my internal HD. Again, this is for macOS. This change has to be temporary. Later I need to use the usual location for temp files in the internal HD. Thanks in advance, Kumar Mainali --
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
2015 Jun 15
3
Add-on argument in sample()
Hi. I have a problem with the default behavior of sample(), which performs sample(1:x) when x is a single value. This behavior is well explained in ?sample. However, this behavior is annoying when the number of value is not predictable. Would it be possible to add an argument that desactivates this and perform the sampling on a single value ? Examples: > sample(10, size = 1, replace = FALSE)